mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Ignore RTD version check (#8884)
* Ignore RTD version check - Handled internally by readthedocs * Add link ignore
This commit is contained in:
		| @@ -154,10 +154,10 @@ def on_config(config, *args, **kwargs): | |||||||
|  |  | ||||||
|     # Check for 'versions.json' file |     # Check for 'versions.json' file | ||||||
|     # If it does not exist, we need to fetch it from the RTD API |     # 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')): |     # if os.path.exists(os.path.join(os.path.dirname(__file__), 'versions.json')): | ||||||
|         print("Found 'versions.json' file") |     #     print("Found 'versions.json' file") | ||||||
|     else: |     # else: | ||||||
|         fetch_rtd_versions() |     #     fetch_rtd_versions() | ||||||
|  |  | ||||||
|     if rtd: |     if rtd: | ||||||
|         rtd_version = os.environ['READTHEDOCS_VERSION'] |         rtd_version = os.environ['READTHEDOCS_VERSION'] | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "pattern": "https://opensource.org/license/MIT" |             "pattern": "https://opensource.org/license/MIT" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "pattern": "https://docs.inventree.org/en/latest/credits/" | ||||||
|         } |         } | ||||||
|     ] |     ] | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user