Skip to content

Commit

Permalink
DOC: Make build parallel
Browse files Browse the repository at this point in the history
Use 2 threads to speed up doc build
Mark github extension as safe
  • Loading branch information
bashtage committed Jun 23, 2017
1 parent f7d14ef commit 9dc145c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXBUILD = sphinx-build -j 2
PAPER =
BUILDDIR = build
TOOLSPATH = ../tools/
Expand Down
4 changes: 2 additions & 2 deletions docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
set SPHINXBUILD=sphinx-build -j 2
)
set BUILDDIR=build
set TOOLSPATH=../tools
Expand Down Expand Up @@ -49,7 +49,7 @@ if "%1" == "html" (
echo mkdir %BUILDDIR%\html\_static
mkdir %BUILDDIR%\html\_static
echo python %TOOLSPATH%/%NOTEBOOKBUILD% --parallel --report-errors
python %TOOLSPATH%/%NOTEBOOKBUILD% --parallel --report-errors
REM python %TOOLSPATH%/%NOTEBOOKBUILD% --parallel --report-errors
echo python %TOOLSPATH%/%DATASETBUILD%
python %TOOLSPATH%/%DATASETBUILD%
echo %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinxext/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ def setup(app):
app.add_role('ghuser', ghuser_role)
app.add_role('ghcommit', ghcommit_role)
app.add_config_value('github_project_url', None, 'env')
return
return {'parallel_read_safe': True}
2 changes: 1 addition & 1 deletion statsmodels/tsa/statespace/mlemodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,7 @@ def cov_params_robust_approx(self):
self._cov_approx_centered)

def info_criteria(self, criteria, method='standard'):
"""
r"""
Information criteria
Parameters
Expand Down

0 comments on commit 9dc145c

Please sign in to comment.