Docs changes for RTD

This commit is contained in:
Adam Hopkins 2021-03-03 09:21:44 +02:00
parent e1e9a7cf20
commit bb65dda277
3 changed files with 15 additions and 2 deletions

View File

@ -174,3 +174,8 @@ def setup(app):
True, True,
) )
app.add_transform(AutoStructify) app.add_transform(AutoStructify)
html_theme_options = {
"style_external_links": True,
}

View File

@ -1,3 +1,8 @@
User Guide
==========
To learn about using Sanic, checkout the `User Guide <https://sanicframework.org/guide/>`_.
.. include:: ../README.rst .. include:: ../README.rst
API API
@ -6,7 +11,10 @@ API
.. toctree:: .. toctree::
:maxdepth: 4 :maxdepth: 4
👥 User Guide <https://sanicframework.org/guide/>
sanic/api_reference sanic/api_reference
💻 Source code <https://github.com/sanic-org/sanic/>
❓ Support <https://community.sanicframework.org/>
Module Documentation Module Documentation

View File

@ -1,5 +1,5 @@
API Reference 📑 API Reference
============= ================
sanic.app sanic.app
--------- ---------