Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

ONLYOFFICE/api.onlyoffice.com

Repository files navigation

TheAPI ONLYOFFICE site is the place for documentation on how to use ONLYOFFICE.

Contributing Documentation Updates

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.

Building the Site

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.

Generating OpenAPI Docs

Generating All files

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 yourdocusaurus-plugin-openapi-docs config.

Generating a single file

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 todocspaceBackend.

Cleaning OpenAPI Docs

Cleaning All files

To clean/remove all API Docs, run the following command from the root directory of your project:

yarn docusaurus clean-api-docs all

Cleaning a single file

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 todocspaceBackend.

Related

License


[8]ページ先頭

©2009-2025 Movatter.jp