From 263d8a818a75ec5de289b25af4adc995728076cd Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 11 Apr 2019 23:38:52 +0200 Subject: [PATCH] Updated Sphinx configuration (#11165) --- .readthedocs.yml | 9 +++++++++ .travis.yml | 2 +- lib/spack/docs/requirements.txt | 6 +++--- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000000..d1be95378e --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,9 @@ +version: 2 + +sphinx: + configuration: lib/spack/docs/conf.py + +python: + version: 3.7 + install: + - requirements: lib/spack/docs/requirements.txt diff --git a/.travis.yml b/.travis.yml index d8f955a332..edf18f7311 100644 --- a/.travis.yml +++ b/.travis.yml @@ -73,7 +73,7 @@ jobs: - r-base-core - r-base-dev - - python: '3.6' + - python: '3.7' sudo: required os: linux language: python diff --git a/lib/spack/docs/requirements.txt b/lib/spack/docs/requirements.txt index 592060a89e..ebe7267680 100644 --- a/lib/spack/docs/requirements.txt +++ b/lib/spack/docs/requirements.txt @@ -1,6 +1,6 @@ # These dependencies should be installed using pip in order # to build the documentation. -sphinx==1.7.0 -sphinxcontrib-programoutput -sphinx-rtd-theme +sphinx==2.0.1 +sphinxcontrib-programoutput==0.14 +sphinx-rtd-theme==0.4.3