Skip to content

Commit d08c48c

Browse files
committed
DOC: upload vbench to pydata.org
1 parent 106fe99 commit d08c48c

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

vb_suite/make.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525

2626
SPHINX_BUILD = 'sphinxbuild'
2727

28-
def sf():
29-
'push a copy to the sf site'
30-
os.system('cd build/html; rsync -avz . wesmckinn,pandas@web.sf.net'
31-
':/home/groups/p/pa/pandas/htdocs/ -essh --cvs-exclude')
32-
def sfpdf():
28+
def upload():
29+
'push a copy to the site'
30+
os.system('cd build/html; rsync -avz . pandas@pandas.pydata.org'
31+
':/usr/share/nginx/pandas/pandas-docs/vbench/ -essh')
32+
33+
def uploadpdf():
3334
'push a copy to the sf site'
3435
os.system('cd build/latex; scp pandas.pdf wesmckinn,pandas@web.sf.net'
3536
':/home/groups/p/pa/pandas/htdocs/')
@@ -85,8 +86,8 @@ def all():
8586
'html' : html,
8687
'latex' : latex,
8788
'clean' : clean,
88-
'sf' : sf,
89-
'sfpdf' : sfpdf,
89+
'upload' : upload,
90+
'uploadpdf' : uploadpdf,
9091
'all' : all,
9192
}
9293

vb_suite/source/_static/stub

Whitespace-only changes.

vb_suite/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#source_encoding = 'utf-8'
4646

4747
# The master toctree document.
48-
master_doc = 'vbench'
48+
master_doc = 'index'
4949

5050
# General information about the project.
5151
project = u'pandas'

vb_suite/suite.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def generate_rst_files(benchmarks):
102102
with open(rst_path, 'w') as f:
103103
f.write(rst_text)
104104

105-
with open(os.path.join(RST_BASE, 'vbench.rst'), 'w') as f:
105+
with open(os.path.join(RST_BASE, 'index.rst'), 'w') as f:
106106
print >> f, """
107107
Performance Benchmarks
108108
======================

0 commit comments

Comments
 (0)