Skip to content

Commit 63c92a1

Browse files
committed
minor symfony#13241 Try parallel Sphinx builds and hide progress (wouterj)
This PR was merged into the 3.4 branch. Discussion ---------- Try parallel Sphinx builds and hide progress Let's see if we can make Sphinx faster this way :) Commits ------- b80765a Hide build progress to clean up output
2 parents 0bad48d + b80765a commit 63c92a1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: pip install -r _build/.requirements.txt
4242

4343
- name: "Build documentation"
44-
run: make -C _build SPHINXOPTS=-nW html
44+
run: make -C _build SPHINXOPTS=-nqW html
4545

4646
doctor-rst:
4747
name: DOCtor-RST

_build/.requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ requests==2.20.0
1010
six==1.10.0
1111
snowballstemmer==1.2.1
1212
sphinx==1.3.6
13-
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php
13+
git+https://github.com/fabpot/sphinx-php.git@v1.0.14#egg_name=sphinx-php

_build/_themes/_exts/symfonycom/sphinx/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,5 @@ class SensioStyle(Style):
161161

162162
def setup(app):
163163
app.set_translator('html', SensioHTMLTranslator)
164+
165+
return {'parallel_read_safe': True}

_build/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3636
extensions = [
3737
'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo',
38-
'sensio.sphinx.refinclude', 'sensio.sphinx.configurationblock', 'sensio.sphinx.phpcode', 'sensio.sphinx.bestpractice', 'sensio.sphinx.codeblock',
38+
'sensio.sphinx.configurationblock', 'sensio.sphinx.phpcode', 'sensio.sphinx.bestpractice', 'sensio.sphinx.codeblock',
3939
'symfonycom.sphinx'
4040
#,'sphinxcontrib.spelling'
4141
]

0 commit comments

Comments
 (0)