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
|`specPath`|`string`|`null`| Designated URL or path to the source of an OpenAPI specification file or directory of micro OpenAPI specification files. |
198
-
|`ouputDir`|`string`|`null`| Desired output path for versioned, generated MDX files. |
199
-
|`label`|`string`|`null`|_Optional:_ Version label used when generating version selector dropdown menu.|
200
-
|`baseUrl`|`string`|`null`|_Optional:_ Version base URL used when generating version selector dropdown menu.|
201
-
|`downloadUrl`|`string`|`null`|_Optional:_ Designated URL for downloading OpenAPI specification for versioned.|
|`specPath`|`string`|`null`| Designated URL or path to the source of an OpenAPI specification file or a directory of micro OpenAPI specification files. |
198
+
|`outputDir`|`string`|`null`| Desired output path for versioned, generated MDX files.|
199
+
|`label`|`string`|`null`|_Optional:_ Version label used when generating the version selector dropdown menu. |
200
+
|`baseUrl`|`string`|`null`|_Optional:_ Version base URL used when generating the version selector dropdown menu. |
201
+
|`downloadUrl`|`string`|`null`|_Optional:_ Designated URL for downloading the versioned OpenAPI specification. |
202
202
203
203
> All versions will automatically inherit `sidebarOptions` from the parent/base config.
> This will generate API docs for all of the OpenAPI specification (OAS) files referenced in your `versions` config and will also generate a `versions.json` file.
332
332
333
-
> Substitue`all` with a specific version ID to generate/clean a specific version. Generating for `all` or a specific version ID will automatically update the `versions.json` file.
333
+
> Substitute`all` with a specific version ID to generate or clean a specific version. Generating for `all` or a single version ID will automatically update the `versions.json` file.
334
334
335
335
## Developer Quick Start
336
336
337
-
> Looking to make a contribution? Make sure to checkout out our contributing guide.
337
+
> Looking to make a contribution? Make sure to check out our contributing guide.
338
338
339
339
After [forking](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/fork) the main repository, run the following:
Copy file name to clipboardExpand all lines: demo/docs/intro.mdx
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,12 +65,12 @@ Key Features:
65
65
66
66
67
67
:::tip
68
-
If you"re building a Docusaurus site from scratch the easiest way to get started is by [installing from template](#bootstrapping-from-template-new-docusaurus-site).
68
+
If you're building a Docusaurus site from scratch, the easiest way to get started is by [installing from template](#bootstrapping-from-template-new-docusaurus-site).
69
69
:::
70
70
71
71
## Bootstrapping from Template (new Docusaurus site)
72
72
73
-
Run the following to bootstrap a Docsaurus v2 site (classic theme) with `docusaurus-openapi-docs`:
73
+
Run the following to bootstrap a Docusaurus v3 site (classic theme) with `docusaurus-openapi-docs`:
|`specPath`|`string`|`null`| Designated URL or path to the source of an OpenAPI specification file or directory of micro OpenAPI specification files. |
226
-
|`ouputDir`|`string`|`null`| Desired output path for versioned, generated MDX files.|
227
-
|`label`|`string`|`null`|_Optional:_ Version label used when generating version selector dropdown menu.|
228
-
|`baseUrl`|`string`|`null`|_Optional:_ Version base URL used when generating version selector dropdown menu.|
229
-
223
+
| Name | Type | Default | Description |
224
+
| -----------| -------- | ------- | ----------- |
225
+
|`specPath`|`string`|`null`| Designated URL or path to the source of an OpenAPI specification file or a directory of micro OpenAPI specification files. |
226
+
|`outputDir`|`string`|`null`| Desired output path for versioned, generated MDX files. |
227
+
|`label`|`string`|`null`|_Optional:_ Version label used when generating the version selector dropdown menu. |
228
+
|`baseUrl`|`string`|`null`|_Optional:_ Version base URL used when generating the version selector dropdown menu. |
229
+
|`downloadUrl`|`string`|`null`|_Optional:_ Designated URL for downloading the versioned OpenAPI specification. |
230
230
> All versions will automatically inherit `sidebarOptions` from the parent/base config.
Substitue`all` with a specific version ID to generate/clean a specific version. Generating for `all` or a specific version ID will automatically update the `versions.json` file.
361
+
Substitute`all` with a specific version ID to generate or clean a specific version. Generating for `all` or a single version ID will automatically update the `versions.json` file.
362
362
:::
363
363
364
-
See [versions options](#versions) for a list of available options. For a complete example of how to configure versining see the [demo configuration](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/main/demo/docusaurus.config.js#L190).
364
+
See [versions options](#versions) for a list of available options. For a complete example of how to configure versioning see the [demo configuration](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/main/demo/docusaurus.config.js#L190).
365
365
366
366
## Developer Quick Start
367
367
368
-
> Looking to make a contribution? Make sure to checkout out our contributing guide.
368
+
> Looking to make a contribution? Make sure to check out our contributing guide.
369
369
370
370
After [forking](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/fork) the main repository, run the following:
|`specPath`|`string`|`null`| Designated URL or path to the source of an OpenAPI specification file or directory of micro OpenAPI specification files. |
198
-
|`ouputDir`|`string`|`null`| Desired output path for versioned, generated MDX files. |
199
-
|`label`|`string`|`null`|_Optional:_ Version label used when generating version selector dropdown menu. |
200
-
|`baseUrl`|`string`|`null`|_Optional:_ Version base URL used when generating version selector dropdown menu. |
|`specPath`|`string`|`null`| Designated URL or path to the source of an OpenAPI specification file or a directory of micro OpenAPI specification files. |
198
+
|`outputDir`|`string`|`null`| Desired output path for versioned, generated MDX files. |
199
+
|`label`|`string`|`null`|_Optional:_ Version label used when generating the version selector dropdown menu. |
200
+
|`baseUrl`|`string`|`null`|_Optional:_ Version base URL used when generating the version selector dropdown menu. |
201
+
|`downloadUrl`|`string`|`null`|_Optional:_ Designated URL for downloading the versioned OpenAPI specification. |
201
202
202
203
> All versions will automatically inherit `sidebarOptions` from the parent/base config.
> This will generate API docs for all of the OpenAPI specification (OAS) files referenced in your `versions` config and will also generate a `versions.json` file.
331
332
332
-
> Substitue`all` with a specific version ID to generate/clean a specific version. Generating for `all` or a specific version ID will automatically update the `versions.json` file.
333
+
> Substitute`all` with a specific version ID to generate or clean a specific version. Generating for `all` or a single version ID will automatically update the `versions.json` file.
333
334
334
335
## Developer Quick Start
335
336
336
-
> Looking to make a contribution? Make sure to checkout out our contributing guide.
337
+
> Looking to make a contribution? Make sure to check out our contributing guide.
337
338
338
339
After [forking](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/fork) the main repository, run the following:
0 commit comments