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