We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae2dd93 commit 0b9570aCopy full SHA for 0b9570a
doc/make.py
@@ -103,6 +103,13 @@ def html():
103
if os.system('sphinx-build -P -b html -d build/doctrees '
104
'source build/html'):
105
raise SystemExit("Building HTML failed.")
106
+ try:
107
+ # remove stale file
108
+ os.system('cd build; rm -f html/pandas.zip;')
109
+ except:
110
+ pass
111
+
112
+def zip_html():
113
try:
114
print("\nZipping up HTML docs...")
115
# just in case the wonky build box doesn't have zip
@@ -242,6 +249,7 @@ def _get_config():
242
249
243
250
funcd = {
244
251
'html': html,
252
+ 'zip_html': zip_html,
245
253
'upload_dev': upload_dev,
246
254
'upload_stable': upload_stable,
247
255
'upload_dev_pdf': upload_dev_pdf,
0 commit comments