Skip to content

Commit f06f2fd

Browse files
committed
docs: update sphinx conf and index toc
1 parent ff8cdad commit f06f2fd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

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

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

247247

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

251255
todo_include_todos = True
252256

docs/index.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,15 @@ Example Usage
4545

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

48+
Contents
49+
--------
4850

4951
.. toctree::
50-
:hidden:
51-
5252
Home <self>
5353

5454
.. toctree::
5555
:maxdepth: 2
5656
:caption: User Documentation
57-
:hidden:
5857

5958
docs/getting-started
6059
docs/adapters
@@ -63,7 +62,6 @@ See the :doc:`/model/spec` of what is required from the model passed to :doc:`/a
6362
:maxdepth: 2
6463
:caption: API
6564
:includehidden:
66-
:hidden:
6765

6866
api/oauth2-server
6967
api/request
@@ -73,15 +71,13 @@ See the :doc:`/model/spec` of what is required from the model passed to :doc:`/a
7371
.. toctree::
7472
:maxdepth: 3
7573
:caption: Model
76-
:hidden:
7774

7875
model/overview
7976
model/spec
8077

8178
.. toctree::
8279
:maxdepth: 2
8380
:caption: Miscellaneous
84-
:hidden:
8581

8682
misc/extension-grants
8783
misc/pkce

0 commit comments

Comments
 (0)