Skip to content

Commit

Permalink
fix: ci error due to the docs lint (#482)
Browse files Browse the repository at this point in the history
Signed-off-by: yuluo-yx <[email protected]>
  • Loading branch information
yuluo-yx authored Jun 12, 2024
1 parent 4a7f92c commit d6162c7
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
File renamed without changes
2 changes: 0 additions & 2 deletions docs/site/content/en/contributions/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ weight: -1
description: "This section contributing of API Testing."
---

> English | [中文](CONTRIBUTING-ZH.md)
Please join us to improve this project.

The backend is written by [Golang](https://go.dev/), and the front-end is written by [Vue](https://vuejs.org/).
Expand Down
7 changes: 3 additions & 4 deletions docs/site/content/en/latest/tasks/grpc-manual.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
+++
title = "gRPC testsuite writing manual"
weight = -99
+++

This document will introduce how to write testsuite for the gRPC API of `api-testing`.

Before reading this document, you need to install and configure `api-testing`. For specific operations, please refer to [Official Document](./README.md). If you have completed these steps, you can continue reading the rest of this document.
Before reading this document, you need to install and configure `api-testing`. For specific operations, please refer to [Install Document](../install/_index.md). If you have completed these steps, you can continue reading the rest of this document.

## Create testsuite
## Create testsuite

To create a gRPC testsuite based on service reflection, just add the following content to the `spec` path of the yaml file:
To create a gRPC testsuite based on service reflection, just add the following content to the `spec` path of the yaml file:

```yaml
spec:
Expand Down
2 changes: 0 additions & 2 deletions docs/site/content/zh/contributions/CONTRIBUTING-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ weight: -1
description: "API Testing 贡献指南."
---

> 中文 | [English](CONTRIBUTING.md)
请加入我们,共同完善这个项目。

后端由 [Golang](https://go.dev/) 编写,前端由 [Vue](https://vuejs.org/) 编写。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# gRPC TLS verification
+++
title = "gRPC TLS verification"
+++

If you want to enable gRPC TLS, you need to generate your certificates in the workspace, or you can use an absolute path

Expand Down
2 changes: 1 addition & 1 deletion docs/site/content/zh/latest/tasks/grpc-manual-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title = "gRPC测试用例编写指南"

本文档将介绍如何编写`api-testing`的 gRPC API 的测试用例。

阅读本文档之前,您需要先安装并配置好`api-testing`,具体操作可以参考[官方文档](./README.md)。如果您已经完成了这些步骤,可以继续阅读本文档的后续部分。
阅读本文档之前,您需要先安装并配置好`api-testing`,具体操作可以参考[安装](../install/_index.md)章节。如果您已经完成了这些步骤,可以继续阅读本文档的后续部分。

## 创建测试项目

Expand Down
3 changes: 2 additions & 1 deletion tools/make/docs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ docs-check-links:
@$(LOG_TARGET)
# Check for broken links
npm install -g [email protected]
linkinator docs -r --concurrency 25 -s "github.com"
# https://github.com/JustinBeckwith/linkinator?tab=readme-ov-file#command-usage
linkinator docs/site/public -r --concurrency 25 -s "github.com _print v0.0.1"

# Docs site, make by hexo.

Expand Down

0 comments on commit d6162c7

Please sign in to comment.