[krbdev.mit.edu #9006] git commit

"Greg Hudson via RT" <[email protected]> Mon, 12 Jul 2021 12:29:06 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9006 >


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)

https://github.com/krb5/krb5/commit/d72bb019d2381b93d60b2f40836cfb23873abfdb
Author: Greg Hudson <[email protected]>
Commit: d72bb019d2381b93d60b2f40836cfb23873abfdb
Branch: krb5-1.19
 .github/workflows/doc.yml            |   16 +++++++++++++++-
 doc/appdev/refs/macros/index.rst     |    1 -
 doc/appdev/refs/types/index.rst      |    1 -
 doc/appdev/refs/types/krb5_int32.rst |    2 +-
 doc/appdev/refs/types/krb5_ui_4.rst  |    2 +-
 doc/conf.py                          |    9 ++++++++-
 doc/tools/define_document.tmpl       |    2 +-
 doc/tools/type_document.tmpl         |    2 +-
 8 files changed, 27 insertions(+), 8 deletions(-)