Skip to content

Commit

Permalink
yo (#746)
Browse files Browse the repository at this point in the history
Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>
  • Loading branch information
snarayan21 and mvpatel2000 committed Aug 5, 2024
1 parent 8660600 commit be9693c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,18 @@ def _get_commit_sha() -> str:
python_use_unqualified_type_names = True
autodoc_typehints = 'none'

# Code below is required due to Read the Docs enabling Addons by default.
# More info here: https://about.readthedocs.com/blog/2024/07/addons-by-default/

# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get('READTHEDOCS_CANONICAL_URL', '')

# Tell Jinja2 templates the build is running on Read the Docs
if os.environ.get('READTHEDOCS', '') == 'True':
if 'html_context' not in globals():
html_context = {}
html_context['READTHEDOCS'] = True


def skip_redundant_namedtuple_attributes(
app: sphinx.application.Sphinx,
Expand Down

0 comments on commit be9693c

Please sign in to comment.