Skip to content

Conversation

@dean0x7d
Copy link
Member

@dean0x7d dean0x7d commented Feb 23, 2017

  • Switch breathe to stable releases. It was previously pulling directly from master because a required bugfix was not in a stable release yet.

  • Force update sphinx and RTD theme. When using conda, readthedocs pins sphinx==1.3.5 and sphinx_rtd_theme==0.1.7, which is a bit older than the ones used in the RTD regular (non-conda) build. The newer theme has nicer sidebar navigation (4-level depth vs. only 2-level on the older version*). Note that the python==3.5 requirement must stay because RTD still installs the older sphinx at one point which isn't available with Python 3.6. This just updated the theme at a later stage.

    (*) Compare the sidebar navigation depth on stable (pre-doxygen, non-conda build) vs. master (doxygen, conda build). The latter is currently missing third level navigation (regression after moving to the conda build for doxygen). This PR restores the nicer RTD sidebar.

Note: Skipped CI tests since this is a pure RTD config change, i.e. completely transparent to CI.

* Switch breathe to stable releases. It was previously pulling directly
  from master because a required bugfix was not in a stable release yet.

* Force update sphinx and RTD theme. When using conda, readthedocs pins
  sphinx==1.3.5 and sphinx_rtd_theme==0.1.7, which is a bit older than
  the ones used in the RTD regular (non-conda) build. The newer theme
  has nicer sidebar navigation (4-level depth vs. only 2-level on the
  older version). Note that the python==3.5 requirement must stay
  because RTD still installs the older sphinx at one point which isn't
  available with Python 3.6.

[skip ci]
@wjakob
Copy link
Member

wjakob commented Feb 23, 2017

Great, thank you!

@wjakob wjakob merged commit a3f4a02 into pybind:master Feb 23, 2017
@dean0x7d dean0x7d deleted the docs branch February 23, 2017 11:08
@wjakob
Copy link
Member

wjakob commented Mar 11, 2017

It looks like the reference was broken by this:

http://pybind11.readthedocs.io/en/latest/reference.html

@wjakob
Copy link
Member

wjakob commented Mar 11, 2017

Interestingly, the build on RTD is still marked as "passing". The console lists the following:

Running Sphinx v1.5.1
making output directory...
loading translations [en]... done
loading pickled environment... not yet created
doxygen: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
doxygen: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
building [mo]: targets for 0 po files that are out of date
building [latex]: all documents
updating environment: 27 added, 0 changed, 0 removed
reading sources... [  3%] advanced/cast/chrono
reading sources... [  7%] advanced/cast/custom
reading sources... [ 11%] advanced/cast/eigen
reading sources... [ 14%] advanced/cast/functional
reading sources... [ 18%] advanced/cast/index
reading sources... [ 22%] advanced/cast/overview
reading sources... [ 25%] advanced/cast/stl
reading sources... [ 29%] advanced/cast/strings
reading sources... [ 33%] advanced/classes
reading sources... [ 37%] advanced/exceptions
reading sources... [ 40%] advanced/functions
reading sources... [ 44%] advanced/misc
reading sources... [ 48%] advanced/pycpp/index
reading sources... [ 51%] advanced/pycpp/numpy
reading sources... [ 55%] advanced/pycpp/object
reading sources... [ 59%] advanced/pycpp/utilities
reading sources... [ 62%] advanced/smart_ptrs
reading sources... [ 66%] basics
reading sources... [ 70%] benchmark
reading sources... [ 74%] changelog
reading sources... [ 77%] classes
reading sources... [ 81%] compiling
reading sources... [ 85%] faq
reading sources... [ 88%] index
reading sources... [ 92%] intro
reading sources... [ 96%] limitations
reading sources... [100%] reference

/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:15: WARNING: doxygendefine: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:25: WARNING: doxygenclass: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:31: WARNING: doxygenclass: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:37: WARNING: doxygenclass: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:40: WARNING: doxygenfunction: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:42: WARNING: doxygenfunction: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:47: WARNING: doxygenclass: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:50: WARNING: doxygengroup: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:58: WARNING: doxygengroup: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:64: WARNING: doxygengroup: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:70: WARNING: doxygenclass: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:73: WARNING: doxygenclass: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
/home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/reference.rst:80: WARNING: doxygennamespace: Cannot find file: /home/docs/checkouts/readthedocs.org/user_builds/pybind11/checkouts/latest/docs/.build/doxygenxml/index.xml
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
processing pybind11.tex... index intro changelog basics classes compiling advanced/functions advanced/classes advanced/exceptions advanced/smart_ptrs advanced/cast/index advanced/cast/overview advanced/cast/strings advanced/cast/stl advanced/cast/functional advanced/cast/chrono advanced/cast/eigen advanced/cast/custom advanced/pycpp/index advanced/pycpp/object advanced/pycpp/numpy advanced/pycpp/utilities advanced/misc faq benchmark limitations reference 
resolving references...
writing... done
copying images... pybind11_vs_boost_python1.png pybind11_vs_boost_python2.png pybind11-logo.png
copying TeX support files...
done
build succeeded, 13 warnings.

@wjakob
Copy link
Member

wjakob commented Mar 11, 2017

Probably some kind of library match (libiconv.so.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants