Skip to content

Commit

Permalink
Upgrade sphinx and other doc dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Oct 13, 2023
1 parent ddb2572 commit 8c3940a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __getattr__(cls, name):
'sphinx.ext.doctest',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'sphinxcontrib.napoleon',
'sphinx.ext.napoleon',
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -92,7 +92,7 @@ def __getattr__(cls, name):
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -119,7 +119,7 @@ def __getattr__(cls, name):
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# html_static_path = ['_static']

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down
7 changes: 4 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Welcome to moderngl-window's documentation!
A cross platform helper library for ModernGL making window
creation and resource loading simple.

.. Note:: Please report documentation improvements/issues on github. Writing documenation is
diffucult and we can't do it without you. Pull requests with documentation
improvements are also greatly appreciated.
.. Note:: Please report documentation improvements/issues on github.

Writing documentation is difficult and we can't do it without you.
Pull requests with documentation improvements are also greatly appreciated.

.. toctree::
:maxdepth: 3
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ dev = [
"scipy",
]
docs = [
"Sphinx==2.2.0",
"sphinx-rtd-theme==0.4.3",
"sphinxcontrib-napoleon==0.7",
"Sphinx~=7.2.6 ",
"sphinx-rtd-theme~=1.3.0 ",
"doc8",
]
pygame = ["pygame>=2.0.1"]
Expand Down

0 comments on commit 8c3940a

Please sign in to comment.