mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
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:
+15
-3
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user