Show More
@@ -25,9 +25,9 b' if ON_RTD:' | |||||
25 | tags.add('rtd') |
|
25 | tags.add('rtd') | |
26 |
|
26 | |||
27 | # RTD doesn't use the Makefile, so re-run autogen_{things}.py here. |
|
27 | # RTD doesn't use the Makefile, so re-run autogen_{things}.py here. | |
28 |
for name in ( |
|
28 | for name in ("config", "api", "magics", "shortcuts"): | |
29 |
fname = Path( |
|
29 | fname = Path("autogen_{}.py".format(name)) | |
30 |
fpath = (Path(__file__).parent).joinpath( |
|
30 | fpath = (Path(__file__).parent).joinpath("..", fname) | |
31 | with open(fpath) as f: |
|
31 | with open(fpath) as f: | |
32 | exec(compile(f.read(), fname, 'exec'), { |
|
32 | exec(compile(f.read(), fname, 'exec'), { | |
33 | '__file__': fpath, |
|
33 | '__file__': fpath, |
General Comments 0
You need to be logged in to leave comments.
Login now