Skip to content

Commit edf3941

Browse files
committed
Remove prematurely committed internal rc changes
1 parent 15e70c7 commit edf3941

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

docs/conf.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,9 @@
4343
# -- Create files --------------------------------------------------------------
4444

4545
# Create RST table and sample proplotrc file
46-
from proplot.internals import settings
47-
path = os.path.join('_static', 'rctable.rst')
48-
table = settings._generate_rst_table()
49-
with open(path, 'w') as f:
50-
f.write(table)
51-
path = os.path.join('_static', 'proplotrc')
52-
table = settings._generate_yaml_table()
53-
with open(path, 'w') as f:
54-
f.write(table)
46+
from proplot.config import rc
47+
rc._save_rst(os.path.join('_static', 'rctable.rst'))
48+
rc._save_yaml(os.path.join('_static', 'proplotrc'))
5549

5650
# -- Setup basemap --------------------------------------------------------------
5751

0 commit comments

Comments
 (0)