sphinx-contrib / redoc

ReDoc powered OpenAPI (fka Swagger) spec renderer for Sphinx.
https://sphinxcontrib-redoc.readthedocs.io/
BSD 2-Clause "Simplified" License
34 stars 20 forks source link

allow user to override default template #24

Closed amn41 closed 5 years ago

amn41 commented 5 years ago

Use case: customise the html template.

Usage: add a template key to the configuration dict. Value should be the path to the template file.

TODO:

ikalnytskyi commented 5 years ago

@amn41 thanks for the PR! I pulled your changes, added tests and updated docs. This gonna be merged as part of PR #27.

Of course, your authorship is preserved.