An MkDocs plugin to generate a table of contents page for a swagger specification to make navgating to an API Reference easier.
Project description
mkdocs-ringcentral-api-index
A MkDocs plugin created by RingCentral to assist in the creation of an API Quick Reference based upon a swagger specification.
At RingCentral we had the desire to publish an API Quick Reference that would make it easier for developers to scan for the endpoint they are looking for and quickly access the documentation for that endpoint in our API Reference.
Setup
Install the plugin using pip:
pip install mkdocs-ringcentral-api-index-plugin
Activate the plugin in mkdocs.yml
:
plugins:
- search
- rc-api-index:
spec_url: true
outfile: 'docs/api-index.md'
Note: If you have no
plugins
entry in your config file yet, you'll likely also want to add thesearch
plugin. MkDocs enables it by default if there is noplugins
entry set, but now you have to enable it explicitly.
Options
spec_url
: Sets the URL to the Swagger specification for the RingCentral platform. This should default to the official URL. Override this for development purposes only.outfile
: The file to output. This file is typically somewhere in your docs folder.
More information about plugins in the MkDocs documentation.
See Also
More information about templates here.
More information about blocks here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mkdocs-ringcentral-api-index-0.1.5.tar.gz
.
File metadata
- Download URL: mkdocs-ringcentral-api-index-0.1.5.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09f4d2bbb6471a24b04c126d20c642ee0c57fdacc3192f66c552cfde3fed9287 |
|
MD5 | 23f6116bcfb2caddb48f2c2a62aa0a90 |
|
BLAKE2b-256 | a28c67fa4ad138671bd35a54ac709c0f77dd1ce97f9b4c01d51d1938f1e31f1f |
File details
Details for the file mkdocs_ringcentral_api_index-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_ringcentral_api_index-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e477ce46b31658a51586c90291459d1632af13b16a2e0ec3393ff31875d86ef3 |
|
MD5 | b4408b1c6e20ca88e6f89f9c2f15fb29 |
|
BLAKE2b-256 | 5b24dac88da608b7b69493fe8834387080d4b7a2746f165748aeb0b14c43a324 |