mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Fix for the documentation scripts. Fixes #799.
This commit is contained in:
		
							parent
							
								
									ad76e536b2
								
							
						
					
					
						commit
						aaf449ae27
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -82,7 +82,7 @@ try:
 | 
				
			||||||
    mk_dir('tmp')
 | 
					    mk_dir('tmp')
 | 
				
			||||||
    shutil.copyfile('website-adj.dox', 'tmp/website.dox')
 | 
					    shutil.copyfile('website-adj.dox', 'tmp/website.dox')
 | 
				
			||||||
    os.remove('website-adj.dox')
 | 
					    os.remove('website-adj.dox')
 | 
				
			||||||
    shutil.copyfile('../src/api/python/z3.py', 'tmp/z3py.py')
 | 
					    shutil.copyfile('../src/api/python/z3/z3.py', 'tmp/z3py.py')
 | 
				
			||||||
    cleanup_API('../src/api/z3_api.h', 'tmp/z3_api.h')
 | 
					    cleanup_API('../src/api/z3_api.h', 'tmp/z3_api.h')
 | 
				
			||||||
    cleanup_API('../src/api/z3_ast_containers.h', 'tmp/z3_ast_containers.h')
 | 
					    cleanup_API('../src/api/z3_ast_containers.h', 'tmp/z3_ast_containers.h')
 | 
				
			||||||
    cleanup_API('../src/api/z3_algebraic.h', 'tmp/z3_algebraic.h')
 | 
					    cleanup_API('../src/api/z3_algebraic.h', 'tmp/z3_algebraic.h')
 | 
				
			||||||
| 
						 | 
					@ -119,7 +119,7 @@ try:
 | 
				
			||||||
    print("Removed temporary file z3py.py")
 | 
					    print("Removed temporary file z3py.py")
 | 
				
			||||||
    os.removedirs('tmp')
 | 
					    os.removedirs('tmp')
 | 
				
			||||||
    print("Removed temporary directory tmp.")
 | 
					    print("Removed temporary directory tmp.")
 | 
				
			||||||
    sys.path.append('../src/api/python')
 | 
					    sys.path.append('../src/api/python/z3')
 | 
				
			||||||
    pydoc.writedoc('z3')
 | 
					    pydoc.writedoc('z3')
 | 
				
			||||||
    shutil.move('z3.html', 'api/html/z3.html')
 | 
					    shutil.move('z3.html', 'api/html/z3.html')
 | 
				
			||||||
    print("Generated Python documentation.")
 | 
					    print("Generated Python documentation.")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue