Skip to content

Commit 36e6f56

Browse files
committed
include top-level
1 parent 4ae8d47 commit 36e6f56

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/write_param_tables.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from util import runparams
55

6-
pfiles = []
6+
pfiles = ["../_defaults"]
77
for path, dirs, files in os.walk("../"):
88
for d in dirs:
99
for f in glob.iglob(os.path.join(path, d, "_defaults")):
@@ -14,8 +14,7 @@
1414
rp.load_params(f)
1515

1616
pre, name = os.path.split(f)
17-
outfile = "source/{}.{}.inc".format(pre.replace("../", ""), name)
18-
17+
outfile = "source/{}{}.inc".format(pre.replace(".", ""), name)
1918
rp.print_sphinx_tables(outfile=outfile.format(os.path.basename(f)))
2019

2120

0 commit comments

Comments
 (0)