Skip to content

Commit

Permalink
sync conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Feb 15, 2024
1 parent 7592b00 commit 3dfbf28
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,27 @@
# 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.
#

import os
import sys


sys.path.insert(0, os.path.abspath("./ext"))
sys.path.insert(0, os.path.abspath("../"))

from screenpy_requests.__version__ import __version__ # noqa: need the path first
from screenpy_requests.__version__ import (
__version__,
__author__,
__copyright__,
) # noqa: need the path first

autodoc_mock_imports = ["selenium", "screenpy", "screenpy_pyotp"]


# -- Project information -----------------------------------------------------

project = 'screenpy_requests'
copyright = '2022-2023, Perry Goy'
author = 'Perry Goy'
project = "screenpy_requests"
copyright = __copyright__
author = __author__

# The full version, including alpha/beta/rc tags
release = __version__
Expand All @@ -49,7 +52,6 @@
"requests": ("https://docs.python-requests.org/en/latest/", None),
}

autodoc_member_order = "bysource"

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand All @@ -59,23 +61,34 @@
.. |Requests| replace:: `Requests <https://requests.readthedocs.io/en/master/>`__
"""








# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]





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

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'default'
html_theme = "default"

# 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"]

# Other HTML settings
autodoc_member_order = "bysource"
add_module_names = False

0 comments on commit 3dfbf28

Please sign in to comment.