2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Ignore RTD version check (#8884)

* Ignore RTD version check

- Handled internally by readthedocs

* Add link ignore
This commit is contained in:
Oliver 2025-01-12 13:56:05 +11:00 committed by GitHub
parent 295318ad18
commit 99f9a3271b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -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']

View File

@ -20,6 +20,9 @@
},
{
"pattern": "https://opensource.org/license/MIT"
},
{
"pattern": "https://docs.inventree.org/en/latest/credits/"
}
]
}