Skip to content

Commit

Permalink
Ignore RTD version check
Browse files Browse the repository at this point in the history
- Handled internally by readthedocs
  • Loading branch information
SchrodingersGat committed Jan 12, 2025
1 parent 295318a commit cd9c2f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ def on_config(config, *args, **kwargs):

# Check for 'versions.json' file
# If it does not exist, we need to fetch it from the RTD API
if os.path.exists(os.path.join(os.path.dirname(__file__), 'versions.json')):
print("Found 'versions.json' file")
else:
fetch_rtd_versions()
# if os.path.exists(os.path.join(os.path.dirname(__file__), 'versions.json')):
# print("Found 'versions.json' file")
# else:
# fetch_rtd_versions()

if rtd:
rtd_version = os.environ['READTHEDOCS_VERSION']
Expand Down

0 comments on commit cd9c2f4

Please sign in to comment.