- Notifications
You must be signed in to change notification settings - Fork6
License
ONLYOFFICE/api.onlyoffice.com
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TheAPI ONLYOFFICE site is the place for documentation on how to use ONLYOFFICE.
The documentation content is formatted in markdown and can be found in thesite directory. Easiest way to make edits is to navigate to the markdown file to be updated, and click the Edit button in the top right (the pencil icon). After making the edit, submitting the changes will create a Pull Request (PR) for reviewed. Please feel free to ask any questions within the ourforum, we're happy to help.
To build the site from the source, ensure you're using the most recent versions of Node and Npm, and pull the latest from master. Next, runnpm install
,npm run build
to build the docs files andnpm start
to launch the site in development mode.
To generate all OpenAPI docs, run the following command from the root directory of your project:
yarn docusaurus gen-api-docs all
This will generate API docs for all of the OpenAPI specification (OAS) files referenced in your
docusaurus-plugin-openapi-docs
config.
You may also generate OpenAPI docs for a single path or OAS by specifying the uniqueid
:
yarn docusaurus gen-api-docs<id>
Example:
yarn docusaurus gen-api-docs docspaceBackend
The example above will only generate API docs relative to
docspaceBackend
.
To clean/remove all API Docs, run the following command from the root directory of your project:
yarn docusaurus clean-api-docs all
You may also remove a particular set of API docs by specifying the uniqueid
of your desired spec instance.
yarn docusaurus clean-api-docs<id>
Example:
yarn docusaurus clean-api-docs docspaceBackend
The example above will remove all API docs relative to
docspaceBackend
.
About
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.