mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 10:05:32 +00:00
add parameter descriptions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
583dae2e27
commit
b169292743
14 changed files with 737 additions and 25 deletions
|
@ -24,6 +24,7 @@ JS_API_PATH='../src/api/js'
|
|||
Z3PY_ENABLED=True
|
||||
DOTNET_ENABLED=True
|
||||
JAVA_ENABLED=True
|
||||
Z3OPTIONS_ENABLED=True
|
||||
DOTNET_API_SEARCH_PATHS=['../src/api/dotnet']
|
||||
JAVA_API_SEARCH_PATHS=['../src/api/java']
|
||||
SCRIPT_DIR=os.path.abspath(os.path.dirname(__file__))
|
||||
|
@ -237,6 +238,25 @@ try:
|
|||
else:
|
||||
print('Javascript documentation disabled')
|
||||
|
||||
if Z3OPTIONS_ENABLED:
|
||||
print("Z3 Options Enabled")
|
||||
out = subprocess.call([Z3_EXE, "-pm"],stdout=subprocess.PIPE).communicate()[0]
|
||||
modules = []
|
||||
if out != None:
|
||||
out = out.decode(sys.stdout.encoding)
|
||||
module_re = re.compile(r"\[module\] (.*)\,")
|
||||
lines = out.split("\n")
|
||||
for line in lines:
|
||||
m = module_re.search(line)
|
||||
if m:
|
||||
modules += [m.group(1)]
|
||||
for module in modules:
|
||||
out = subprocess.call([Z3_EXE, "-pmhtml:%s" % module],stdout=subprocess.PIPE).communicate()[0]
|
||||
if out == None:
|
||||
continue
|
||||
out = out.decode(sys.stdout.encoding)
|
||||
|
||||
|
||||
doxygen_config_file = temp_path('z3api.cfg')
|
||||
configure_file(
|
||||
doc_path('z3api.cfg.in'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue