mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
[Doxygen] Put the path to the directory containing the Z3py package
at the beginning of the search path so it is picked up first. This is to try to avoid picking an installed copy of Z3py.
This commit is contained in:
parent
e309174ec9
commit
cb6baa8bcb
|
@ -165,7 +165,9 @@ try:
|
|||
print("Generated C and .NET API documentation.")
|
||||
shutil.rmtree(os.path.realpath(TEMP_DIR))
|
||||
print("Removed temporary directory \"{}\"".format(TEMP_DIR))
|
||||
sys.path.append(os.path.dirname(Z3PY_PACKAGE_PATH))
|
||||
# Put z3py at the beginning of the search path to try to avoid picking up
|
||||
# an installed copy of Z3py.
|
||||
sys.path.insert(0, os.path.dirname(Z3PY_PACKAGE_PATH))
|
||||
pydoc.writedoc('z3')
|
||||
shutil.move('z3.html', os.path.join(OUTPUT_DIRECTORY, 'html', 'z3.html'))
|
||||
print("Generated Python documentation.")
|
||||
|
|
Loading…
Reference in a new issue