mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	* move devcontainer docs * rename bare metal pages * fix backlinks * Add getting started for devs * add mermaid * include contrib in docs * use another plugin * include everything * update doc checks * fix install command * Update mkdocs.yml * Update mkdocs.yml * Update starting.md * Update starting.md * Update starting.md * extend requirements * Update mkdocs.yml * clean diff * clean diff + check if it works * fix CI check for custom tags * clean md
		
			
				
	
	
		
			17 lines
		
	
	
		
			314 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			314 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""Check mkdocs.yml config file for errors."""
 | 
						|
 | 
						|
import os
 | 
						|
 | 
						|
import yaml
 | 
						|
 | 
						|
here = os.path.dirname(__file__)
 | 
						|
 | 
						|
tld = os.path.abspath(os.path.join(here, '..'))
 | 
						|
 | 
						|
config_file = os.path.join(tld, 'mkdocs.yml')
 | 
						|
 | 
						|
with open(config_file, 'r') as f:
 | 
						|
    data = yaml.load(f, yaml.BaseLoader)
 | 
						|
 | 
						|
    assert data['strict'] == 'true'
 |