From 3ae5262182ea585b5547fd3d2b60738c99262728 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Mon, 27 May 2019 13:42:27 -0700 Subject: docs: set gettext_uuid to False to reduce churn (#11567) - `gettext_uuid=True` makes every commit update every .pot file in spack/localized-docs, and speeds up the internationalized doc build slightly. - Optimize for less repository churn, and use `python-levenshtein` to accelerate the build instead. --- lib/spack/docs/conf.py | 2 +- lib/spack/docs/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index 7b5ebcbb12..44ce87d55f 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -150,7 +150,7 @@ release = spack.spack_version # Sphinx gettext settings gettext_compact = True -gettext_uuid = True +gettext_uuid = False # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: diff --git a/lib/spack/docs/requirements.txt b/lib/spack/docs/requirements.txt index ebe7267680..190b018a0b 100644 --- a/lib/spack/docs/requirements.txt +++ b/lib/spack/docs/requirements.txt @@ -4,3 +4,4 @@ sphinx==2.0.1 sphinxcontrib-programoutput==0.14 sphinx-rtd-theme==0.4.3 +python-levenshtein -- cgit v1.2.3-60-g2f50