Skip to content

Commit

Permalink
fix(specs): no links across API specs (#3643)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
kai687 and millotp committed Sep 2, 2024
1 parent f8e08a6 commit e3af955
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion scripts/cts/runCts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ export async function runCts(
): Promise<void> {
const withBenchmarkServer =
suites.benchmark && (clients.includes('search') || clients.includes('all') || languages.includes('swift'));
const withClientServer = suites.client && (clients.includes('search') || clients.includes('all'));
const withClientServer =
suites.client && (clients.includes('search') || clients.includes('all') || process.platform === 'darwin'); // the macos swift CI also runs the clients tests
const closeTestServer = await startTestServer({
...suites,
benchmark: withBenchmarkServer,
Expand Down
2 changes: 1 addition & 1 deletion specs/insights/paths/deleteUserToken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ delete:
description: |
Deletes all events related to the specified user token from events metrics and analytics.
The deletion is asynchronous, and processed within 48 hours.
To delete a personalization user profile, see [Delete a user profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
To delete a personalization user profile, see `Delete a user profile` in the Personalization API.
parameters:
- name: userToken
in: path
Expand Down
2 changes: 1 addition & 1 deletion specs/query-suggestions/paths/qsConfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ delete:
Deletes a Query Suggestions configuration.
Deleting only removes the configuration and stops updates to the Query Suggestions index.
To delete the Query Suggestions index itself, use the Search API and the [Delete an index](/specs/search#tag/Indices/operation/deleteIndex) operation.
To delete the Query Suggestions index itself, use the Search API and the `Delete an index` operation.
parameters:
- $ref: '../common/parameters.yml#/IndexName'
responses:
Expand Down
5 changes: 4 additions & 1 deletion website/docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ To make using the specs in these contexts easier, follow these guidelines:
- Don't use headings, except in [API descriptions](#api-descriptions).
- Prefer using `externalDocs` objects over inline Markdown links.
- Use inline Markdown links judiciously.
Don't link to readily searchable information, such as internet RFCs or Wikipedia.
They don't render in CLI/code environments.

- Don't link to readily searchable information, such as internet RFCs or Wikipedia.
- Don't link to endpoints of other Algolia APIs. These links won't be portable.

### Markdown in long descriptions

Expand Down

0 comments on commit e3af955

Please sign in to comment.