Skip to content

Commit

Permalink
Unfix version of rtd theme
Browse files Browse the repository at this point in the history
Also few minor fixes in Sphinx config
  • Loading branch information
apaleyes committed Oct 17, 2023
1 parent 7a5e5c7 commit 91108c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __getattr__(cls, name):
# -- Project information -----------------------------------------------------

project = 'emukit'
copyright = '{}, Amazon.com'.format(datetime.now().year)
copyright = '{}, Emukit authors'.format(datetime.now().year)

exec(open("../emukit/__version__.py").read())
version = __version__ # noqa: variable __version__ is defined in exec above
Expand Down Expand Up @@ -101,7 +101,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'

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
Expand Down Expand Up @@ -154,7 +154,7 @@ def __getattr__(cls, name):

# -- intersphinx extension --
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

# -- nbsphinx extension --
# Allow notebooks to have errors when generating docs
Expand Down
2 changes: 1 addition & 1 deletion requirements/doc_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
Sphinx>=1.7.5
nbsphinx>=0.3.4
sphinx-autodoc-typehints>=1.3.0
sphinx-rtd-theme==0.4.1
sphinx-rtd-theme>=0.4.1

0 comments on commit 91108c1

Please sign in to comment.