Skip to content

Commit

Permalink
docs: update sphinx conf and index toc
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt committed Nov 6, 2023
1 parent ff8cdad commit f06f2fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 6 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down Expand Up @@ -246,7 +246,11 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
intersphinx_mapping = {
"rtd": ("https://docs.readthedocs.io/en/stable/", None),
"python": ("https://docs.python.org/3/", None),
"sphinx": ("https://www.sphinx-doc.org/en/master/", None),
}

todo_include_todos = True

Expand Down
8 changes: 2 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@ Example Usage

See the :doc:`/model/spec` of what is required from the model passed to :doc:`/api/oauth2-server`.

Contents
--------

.. toctree::
:hidden:

Home <self>

.. toctree::
:maxdepth: 2
:caption: User Documentation
:hidden:

docs/getting-started
docs/adapters
Expand All @@ -63,7 +62,6 @@ See the :doc:`/model/spec` of what is required from the model passed to :doc:`/a
:maxdepth: 2
:caption: API
:includehidden:
:hidden:

api/oauth2-server
api/request
Expand All @@ -73,15 +71,13 @@ See the :doc:`/model/spec` of what is required from the model passed to :doc:`/a
.. toctree::
:maxdepth: 3
:caption: Model
:hidden:

model/overview
model/spec

.. toctree::
:maxdepth: 2
:caption: Miscellaneous
:hidden:

misc/extension-grants
misc/pkce
Expand Down

0 comments on commit f06f2fd

Please sign in to comment.