summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorJulien <github@mandark.fr>2017-08-07 08:27:21 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-08-07 08:27:21 (GMT)
commitdff9b5f9d62aa0b23f8a255867d09d11890efd1b (patch)
tree955eae19be5ae1104c112611f69e8755e708c9b7 /Doc/Makefile
parent60a6632a3d2b2dde1c01850f0aa36a22c8dec8dd (diff)
downloadcpython-dff9b5f9d62aa0b23f8a255867d09d11890efd1b.zip
cpython-dff9b5f9d62aa0b23f8a255867d09d11890efd1b.tar.gz
cpython-dff9b5f9d62aa0b23f8a255867d09d11890efd1b.tar.bz2
bpo-31045: Language switch (#2652)
* Doc: Indicate the language * Renaming version_switcher to switchers (to add language_switcher). * Adding language switch. * Doc switchers: Enhance readability of regex parsing versions. * Doc switchers: Desambiguate the need of a replace(/\/+$/g, '') by proper naming. * Doc switchers: py3k can't reach js, it's redirected server-side by nginx. * Doc switchers: Examples matching actual regexes. * Doc switchers: Better fallback on unexisting translated version.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index ae59f32..526269d 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -167,12 +167,12 @@ serve:
# for development releases: always build
autobuild-dev:
- make dist SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A versionswitcher=1'
+ make dist SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A switchers=1'
-make suspicious
# for quick rebuilds (HTML only)
autobuild-dev-html:
- make html SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A versionswitcher=1'
+ make html SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A switchers=1'
# for stable releases: only build if not in pre-release stage (alpha, beta)
# release candidate downloads are okay, since the stable tree can be in that stage