Skip to content

Commit aabd603

Browse files
weiji14seisman
authored and
Josh Sixsmith
committed
Speedup sphinx-build using parallelization (GenericMappingTools#991)
Distribute sphinx-build over several processes in parallel to make building on multiprocessor machines faster. Using 'auto' which equals the number of CPUs available. See docs at https://www.sphinx-doc.org/en/3.x/man/sphinx-build.html#cmdoption-sphinx-build-j. * Move `-j auto` to SPHINXOPTS Co-authored-by: Dongdong Tian <[email protected]>
1 parent 5896ae9 commit aabd603

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Makefile for Sphinx documentation
22

33
# You can set these variables from the command line.
4-
SPHINXOPTS =
4+
SPHINXOPTS = -j auto
55
SPHINXBUILD = sphinx-build
66
SPHINXAUTOGEN = sphinx-autogen
77
BUILDDIR = _build

pygmt/tests/test_grdinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
def test_grdinfo():
1212
"""
13-
Make sure grd info works as expected.
13+
Make sure grdinfo works as expected.
1414
"""
1515
grid = load_earth_relief(registration="gridline")
1616
result = grdinfo(grid=grid, force_scan=0, per_column="n")

0 commit comments

Comments
 (0)