mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
doc fixes
This commit is contained in:
parent
527fb18366
commit
a9f52b0069
|
@ -53,15 +53,24 @@ def extract_tactic_doc(ous, f):
|
|||
if is_doc.search(line):
|
||||
generate_tactic_doc(ous, f, ins)
|
||||
|
||||
def presort_files():
|
||||
tac_files = []
|
||||
for root, dirs, files in os.walk(doc_path("../src")):
|
||||
for f in files:
|
||||
if f.endswith("tactic.h"):
|
||||
tac_files += [(f, os.path.join(root, f))]
|
||||
tac_files = sorted(tac_files, key = lambda x: x[0])
|
||||
return tac_files
|
||||
|
||||
def help(ous):
|
||||
presort_files()
|
||||
ous.write("---\n")
|
||||
ous.write("title: Tactics Summary\n")
|
||||
ous.write("sidebar_position: 5\n")
|
||||
ous.write("---\n")
|
||||
for root, dirs, files in os.walk(doc_path("../src")):
|
||||
for f in files:
|
||||
if f.endswith("tactic.h"):
|
||||
extract_tactic_doc(ous, os.path.join(root, f))
|
||||
tac_files = presort_files()
|
||||
for file, path in tac_files:
|
||||
extract_tactic_doc(ous, path)
|
||||
|
||||
def mk_dir(d):
|
||||
if not os.path.exists(d):
|
||||
|
|
|
@ -55,7 +55,7 @@ void card2bv::collect_statistics(statistics& st) const {
|
|||
}
|
||||
|
||||
void card2bv::collect_param_descrs(param_descrs& r) {
|
||||
r.insert("keep_cardinality_constraints", CPK_BOOL, "(default: true) retain cardinality constraints for solver");
|
||||
r.insert("keep_cardinality_constraints", CPK_BOOL, "retain cardinality constraints for solver", "true");
|
||||
pb2bv_rewriter rw(m, m_params);
|
||||
rw.collect_param_descrs(r);
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ Author:
|
|||
|
||||
Tactic Documentation:
|
||||
|
||||
## Tactic car2bv
|
||||
## Tactic card2bv
|
||||
|
||||
### Short Description
|
||||
|
||||
|
|
Loading…
Reference in a new issue