Skip to content

Commit

Permalink
Fix config to support Sphinx 8. (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac authored Aug 20, 2024
1 parent 48d0a67 commit de9c29e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
# sys.path.append(os.path.abspath('.'))
import Products
Products.__path__.append(os.path.abspath('../Products'))

Products.__path__.append(os.path.abspath("../Products"))

# -- General configuration -----------------------------------------------------

Expand All @@ -39,7 +40,7 @@
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.rst'
source_suffix = {".rst": "restructuredtext"}

# The encoding of source files.
#source_encoding = 'utf-8'
Expand Down Expand Up @@ -211,4 +212,4 @@


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

0 comments on commit de9c29e

Please sign in to comment.