File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Makefile for Sphinx documentation
2
2
3
+ # Pass WORKERS=auto for parallel build
4
+ ifndef WORKERS
5
+ WORKERS = 1
6
+ endif
7
+
3
8
SPHINX_BUILD = sphinx-build
4
9
CONFIG_DIR = .
5
10
SPHINXOPTS = -D project_root=$(ROOT ) -D canonical_version=$(CANONICAL_VERSION ) \
6
11
-D versions=$(VERSIONS ) -D languages=$(LANGUAGES ) -D language=$(CURRENT_LANG ) \
7
12
-D is_remote_build=$(IS_REMOTE_BUILD ) \
8
13
-A google_analytics_key=$(GOOGLE_ANALYTICS_KEY ) \
9
- -j auto
14
+ -j $( WORKERS )
10
15
SOURCE_DIR = content
11
16
BUILD_DIR = _build
12
17
@@ -65,7 +70,7 @@ extensions/odoo_theme/static/style.css: extensions/odoo_theme/static/style.scss
65
70
66
71
# === Development and debugging rules ===#
67
72
68
- fast : SPHINXOPTS += -A collapse_menu=True
73
+ fast : SPHINXOPTS += -A collapse_menu=True -j auto
69
74
fast : html
70
75
71
76
static : extensions/odoo_theme/static/style.css
You can’t perform that action at this time.
0 commit comments