From 8aba4d24b72631007c1c33b70bc1a908fa5d8319 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 24 Apr 2020 18:42:05 +0200 Subject: Doc: fixes for Sphinx 3.0 compat [skip appveyor] (#2191) Those changes are also compatible with Sphinx 2.x The use of .. cpp:enumerator:: for a C enum is questionable, but .. c:member:: no longer works in Sphinx 3 for the value of a C enum, but .. c:enumerator:: is Sphinx 3 only ( https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#directive-c-enumerator ) Sphinx 3 is also more strict with the use of cross-reference to C types. It rejects cross-references to things like `` :c:type:`int` `` since this isn't a type we actually define. --- travis/osx/before_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'travis') diff --git a/travis/osx/before_install.sh b/travis/osx/before_install.sh index 8c62e716..e2a30e36 100755 --- a/travis/osx/before_install.sh +++ b/travis/osx/before_install.sh @@ -15,7 +15,7 @@ brew reinstall wget ./travis/before_install_pip.sh -pip3 install --user sphinx==2.4.4 sphinx-rtd-theme sphinxcontrib-bibtex breathe==4.14.0 +pip3 install --user sphinx sphinx-rtd-theme sphinxcontrib-bibtex breathe which sphinx-build (cd docs; make html) -- cgit v1.2.3