-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing building docs with Sphinx 3.0
1. Remove the bbdocs.highlighterrors extension, which is incompatible with Sphinx 3.0, where sphinx.highlighting.PygmentsBridge.unhighlighted() is removed. Actually that extension appears to be unused all the time. When that module is added [1], Sphinx 1.3.3 is used [2], while calls to PygmentsBridge.unhighlighted() had been gradually removed in Sphinx 1.2 [3] and 1.3 [4]. 2. Fix duplicate names in docs. Two of them are caused by incorrect function/class name, and others are by same class names in different Python modules with missing py:module declarations. 3. Bump the Sphinx version [1] b3292b1 [2] https://github.com/buildbot/buildbot/blob/b3292b136a9bce478aacc36b2462e922d5575e93/.travis.yml#L127 [3] sphinx-doc/sphinx@b29226a [4] sphinx-doc/sphinx@db1cf80
- Loading branch information
Chih-Hsuan Yen
committed
Apr 8, 2020
1 parent
5992214
commit 16fc5f4
Showing
6 changed files
with
10 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Make docs build with Sphinx 3 and fix some typos and incorrect Python module declarations |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Sphinx==2.4.4 | ||
Sphinx==3.0.0 | ||
sphinx-jinja==1.1.0 | ||
sphinx-rtd-theme==0.4.3 | ||
sphinxcontrib-blockdiag==2.0.0 | ||
|