We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ae8d47 commit 36e6f56Copy full SHA for 36e6f56
1 file changed
docs/write_param_tables.py
@@ -3,7 +3,7 @@
3
4
from util import runparams
5
6
-pfiles = []
+pfiles = ["../_defaults"]
7
for path, dirs, files in os.walk("../"):
8
for d in dirs:
9
for f in glob.iglob(os.path.join(path, d, "_defaults")):
@@ -14,8 +14,7 @@
14
rp.load_params(f)
15
16
pre, name = os.path.split(f)
17
- outfile = "source/{}.{}.inc".format(pre.replace("../", ""), name)
18
-
+ outfile = "source/{}{}.inc".format(pre.replace(".", ""), name)
19
rp.print_sphinx_tables(outfile=outfile.format(os.path.basename(f)))
20
21
0 commit comments