redoc
redoc copied to clipboard
Redoc page rendering only when used in toctree directive.
Unable to render the page when used in more than one place and without a directive.
I have defined like:
redoc = [
{
'name': 'File Upload APIs',
'page': 'spec/file_upload_apis',
'spec': 'yaml_spec/openapi.yaml',
'embed': True,
}
]
- The
spec/file_upload_apis.rst
is the placeholder file where I want the Redoc API documentation to be rendered. - The hyperlink to the above page looks like:
spec/pa_amr_apis.rst
.. toctree::
:maxdepth: 5
file_upload_apis //This works when used in toctree directive
file_upload_apis // This does not work anywhere outside toctree directive
Should I have to use file_upload_apis
only within some directive? And not on any page were I want ?