]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix doc build for Sphinx 4.0 1191/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 26 May 2021 19:08:28 +0000 (15:08 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 27 May 2021 16:42:09 +0000 (12:42 -0400)
commit3fa40a32e22cb9de91fa1d18deddcba446515855
tree305732d99b8e99a4c24332e94a3696be768d7405
parentbbce6a8beee93030b65edf3a6612064c621a34d9
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.

ticket: 9006
tags: pullup
target_version: 1.19-next
.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