Skip to content

Commit 99f9a32

Browse files
Ignore RTD version check (inventree#8884)
* Ignore RTD version check - Handled internally by readthedocs * Add link ignore
1 parent 295318a commit 99f9a32

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

docs/docs/hooks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ def on_config(config, *args, **kwargs):
154154

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

162162
if rtd:
163163
rtd_version = os.environ['READTHEDOCS_VERSION']

docs/mlc_config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
},
2121
{
2222
"pattern": "https://opensource.org/license/MIT"
23+
},
24+
{
25+
"pattern": "https://docs.inventree.org/en/latest/credits/"
2326
}
2427
]
2528
}

0 commit comments

Comments
 (0)