Simplify documentation generation.

1. The MathJax font configuration is moved into conf.py and removed
from make_docs.py along with better font sizing.
2. Remove the bread crumb replacement as it is not working anymore.
3. Fix a parsing error in nnls_modeling.rst which the new version of
sphinx barfed on.

Change-Id: Ia3c2e732323a8b5cabafe851ac5ca0f0c82da071
This commit is contained in:
Sameer Agarwal
2020-05-26 06:12:13 -07:00
parent e886d7e653
commit 70308f7bb9
3 changed files with 16 additions and 48 deletions
+15 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'index'
# General information about the project.
project = u'Ceres Solver'
copyright = u'2018 Google Inc'
copyright = u'2020 Google Inc'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '1.14'
version = '2.0'
# The full version, including alpha/beta/rc tags.
release = '1.14.0'
release = '2.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -240,3 +240,15 @@ texinfo_documents = [
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
# Custom configuration for MathJax.
#
# By default MathJax does not use TeX fonts, which is a tragedy. Also
# scaling the fonts down a bit makes them fit better with font sizing
# in the "Read The Docs" theme.
mathjax_config = {
'HTML-CSS' : {
'availableFonts' : ["TeX"],
'scale' : 90
}
}
+1 -1
View File
@@ -1560,7 +1560,7 @@ Instances
.. class:: Problem::Options
Options struct that is used to control :class:`Problem::`.
Options struct that is used to control :class:`Problem`.
.. member:: Ownership Problem::Options::cost_function_ownership