Skip to content

Parallelize doc build #15600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def html():
print(e)
print("Failed to convert %s" % nb)

if os.system('sphinx-build -P -b html -d build/doctrees '
if os.system('sphinx-build -j 2 -P -b html -d build/doctrees '
'source build/html'):
raise SystemExit("Building HTML failed.")
try:
Expand All @@ -222,7 +222,7 @@ def latex():
check_build()
if sys.platform != 'win32':
# LaTeX format.
if os.system('sphinx-build -b latex -d build/doctrees '
if os.system('sphinx-build -j 2 -b latex -d build/doctrees '
'source build/latex'):
raise SystemExit("Building LaTeX failed.")
# Produce pdf.
Expand All @@ -245,7 +245,7 @@ def latex_forced():
check_build()
if sys.platform != 'win32':
# LaTeX format.
if os.system('sphinx-build -b latex -d build/doctrees '
if os.system('sphinx-build -j 2 -b latex -d build/doctrees '
'source build/latex'):
raise SystemExit("Building LaTeX failed.")
# Produce pdf.
Expand Down
8 changes: 5 additions & 3 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3758,7 +3758,7 @@ be data_columns

# on-disk operations
store.append('df_dc', df_dc, data_columns = ['B', 'C', 'string', 'string2'])
store.select('df_dc', [ pd.Term('B>0') ])
store.select('df_dc', where='B>0')

# getting creative
store.select('df_dc', 'B > 0 & C > 0 & string == foo')
Expand Down Expand Up @@ -4352,6 +4352,9 @@ HDFStore supports ``Panel4D`` storage.
.. ipython:: python
:okwarning:

wp = pd.Panel(randn(2, 5, 4), items=['Item1', 'Item2'],
major_axis=pd.date_range('1/1/2000', periods=5),
minor_axis=['A', 'B', 'C', 'D'])
p4d = pd.Panel4D({ 'l1' : wp })
p4d
store.append('p4d', p4d)
Expand All @@ -4368,8 +4371,7 @@ object). This cannot be changed after table creation.
:okwarning:

store.append('p4d2', p4d, axes=['labels', 'major_axis', 'minor_axis'])
store
store.select('p4d2', [ pd.Term('labels=l1'), pd.Term('items=Item1'), pd.Term('minor_axis=A_big_strings') ])
store.select('p4d2', where='labels=l1 and items=Item1 and minor_axis=A')

.. ipython:: python
:suppress:
Expand Down