Skip to content

Commit

Permalink
Compatibility with newer Sphinx.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Oct 11, 2024
1 parent d6959aa commit 5d4f081
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.

extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.extlinks',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'sphinx.ext.doctest',
'repoze.sphinx.autointerface',
]

Expand Down Expand Up @@ -71,7 +74,7 @@
#
# 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 @@ -84,6 +87,10 @@
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

# The reST default role (used for this markup: `text`) to use for all
# documents.
#
default_role = 'obj'

# -- Options for HTML output ----------------------------------------------

Expand Down Expand Up @@ -165,11 +172,11 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'https://docs.python.org/': None,
'https://ntizodb.readthedocs.io/en/latest': None,
'https://persistent.readthedocs.io/en/latest': None,
'https://zopecatalog.readthedocs.io/en/latest': None,
'https://zopecontainer.readthedocs.io/en/latest': None,
'python': ('https://docs.python.org/', None,),
'ntizodb': ('https://ntizodb.readthedocs.io/en/latest', None),
'persistent': ('https://persistent.readthedocs.io/en/latest', None,),
'zopecatalog': ('https://zopecatalog.readthedocs.io/en/latest', None,),
'zopecontainer': ('https://zopecontainer.readthedocs.io/en/latest', None,),
}

extlinks = {
Expand Down

0 comments on commit 5d4f081

Please sign in to comment.