You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This section hosts informations about the [API clients automation](https://githu
11
11
To contribute to the repository, make sure to take a look at our guidelines and recommendations:
12
12
13
13
-[Setup the repository tooling](/docs/setup-repository): to install our tooling.
14
-
- CLI commands can be found at [CLI > specs commands](/docs/CLI/specs-commands), [CLI > clients commands](/docs/CLI/clients-commands) and [CLI > CTS commands](/docs/CLI/cts-commands).
14
+
- CLI commands can be found at [CLI > build commands](/docs/CLI/build-commands), [CLI > generate commands](/docs/CLI/generate-commands) and [CLI > CTS commands](/docs/CLI/cts-commands).
15
15
-[Add a new client](/docs/add-new-api-client): to add a new API spec to generate a client.
16
16
-[Support a new language](/docs/add-new-language): to add a new supported language to the API clients.
17
17
-[Commit and Pull-request](/docs/commit-and-pull-request): to see what to commit and send pull-requests.
Copy file name to clipboardExpand all lines: website/docs/setup-repository.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@ title: Setup repository
6
6
7
7
:::info
8
8
9
-
Make sure to have Docker installed so you don't have to install the tooling for every API clients. [Installation guide](https://docs.docker.com/desktop/mac/install/)
9
+
Make sure to have:
10
+
-[Docker installed so you don't have to install the tooling for every API clients](https://docs.docker.com/desktop/mac/install/)
11
+
-[jq because it's nice](https://jqlang.github.io/jq/download/)
10
12
11
13
:::
12
14
@@ -18,28 +20,26 @@ nvm use && yarn
18
20
19
21
## Mounting the docker images
20
22
21
-
```bash
22
-
yarn docker:setup
23
-
```
23
+
We use multiple docker images to simplify the build, and reuse them on the CI.
24
+
There is one base image containing node, java, scala and kotlin, located in [scripts/docker/Dockerfile](https://github.com/algolia/api-clients-automation/blob/main/scripts/docker/Dockerfile)
24
25
25
-
### Docker
26
+
:::caution
26
27
27
-
#### Build
28
+
The swift images takes a really long time to build (~5 minutes) because of swift-format, but it's only needed when you want to format swift.
28
29
29
-
We use 1 docker image per language to simplify the build, and reuse them on the CI.
30
-
There is one base image containing node, java, scala and kotlin, located in [scripts/docker/Dockerfile](https://github.com/algolia/api-clients-automation/blob/main/scripts/docker/Dockerfile)
30
+
:::
31
31
32
32
```bash
33
33
yarn docker:setup
34
34
```
35
35
36
-
:::caution
36
+
## Tooling
37
37
38
-
The swift images takes a really long time to build (~5 minutes) because of swift-format, but it's only needed when you want to format swift.
38
+
:::info
39
39
40
-
:::
40
+
This step is optional, using `yarn cli ...` should work perfectly as well.
41
41
42
-
## Tooling
42
+
:::
43
43
44
44
Install the CLI tool by following the instructions at the top of [scripts/install.sh](https://github.com/algolia/api-clients-automation/blob/main/scripts/install.sh) to acces `apic` from your terminal, with bash autocompletion.
45
45
You can run `apic help` to check if it's working properly.
@@ -58,10 +58,10 @@ Once you've successfully built and mounted the Docker image, you can now play wi
58
58
59
59
-[How to add a new client](/docs/add-new-api-client)
60
60
-[How to add a new language](/docs/add-new-language)
Copy file name to clipboardExpand all lines: website/docs/testing/common-test-suite.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ It is automatically generated for all languages from JSON files and ensure prope
9
9
10
10
:::info
11
11
12
-
While some clients can run tests from source, languages like Java or JavaScript and other requires clients to be built, see [CLI > clients commands page](/docs/CLI/clients-commands)
12
+
While some clients can run tests from source, languages like Java or JavaScript and other requires clients to be built, see [CLI > generate commands page](/docs/CLI/generate-commands)
0 commit comments