Mock module cpuinfo for fixing missing Nano/Chronos api doc (#6655)
This commit is contained in:
		
							parent
							
								
									b75f399038
								
							
						
					
					
						commit
						8d6c43dd09
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -18,7 +18,7 @@ import glob
 | 
			
		|||
import shutil
 | 
			
		||||
import urllib
 | 
			
		||||
 | 
			
		||||
autodoc_mock_imports = ["openvino", "pytorch_lightning", "keras"]
 | 
			
		||||
autodoc_mock_imports = ["openvino", "pytorch_lightning", "keras", "cpuinfo"]
 | 
			
		||||
 | 
			
		||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
 | 
			
		||||
#sys.path.insert(0, '.')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue