]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix doc build for Sphinx 4.0
authorGreg Hudson <ghudson@mit.edu>
Wed, 26 May 2021 19:08:28 +0000 (15:08 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 12 Jul 2021 15:58:54 +0000 (11:58 -0400)
commitd72bb019d2381b93d60b2f40836cfb23873abfdb
tree5b57c41969d5c5868f4a265b2c8c51116a908796
parent22c55d3a9b2f79e2b28a9632d7b517817903059b
Fix doc build for Sphinx 4.0

Use app.add_css_file() to register krb5.css if possible (it was added
in Sphinx 1.8), since the old name app.add_stylesheet() was removed in
Sphinx 4.0.

Use the highlight directive instead of the highlightlang directive,
which was removed in Sphinx 4.0.

Remove two duplicate table of contents entries to fix warnings.

In the Github Actions configuration, add a second doc build using the
newest version of Sphinx.

(cherry picked from commit 3fa40a32e22cb9de91fa1d18deddcba446515855)

ticket: 9006
version_fixed: 1.19.2
.github/workflows/doc.yml
doc/appdev/refs/macros/index.rst
doc/appdev/refs/types/index.rst
doc/appdev/refs/types/krb5_int32.rst
doc/appdev/refs/types/krb5_ui_4.rst
doc/conf.py
doc/tools/define_document.tmpl
doc/tools/type_document.tmpl