comparison docs/conf.py @ 183:e3523930294a

More comments on the needed Sphinx version
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 12 May 2026 15:15:10 +0200
parents b0426a788cf5
children b27557f6d393
comparison
equal deleted inserted replaced
182:b0426a788cf5 183:e3523930294a
15 15
16 from pygments_lexer_pseudocode2.lexers.algpseudocode import AlgPseudocodeLexer 16 from pygments_lexer_pseudocode2.lexers.algpseudocode import AlgPseudocodeLexer
17 17
18 18
19 needs_sphinx = '2.1' 19 needs_sphinx = '2.1'
20 """2.1: - :py:meth:Sphinx.add_lexer` takes a class as argument 20 """This is the theory:
21
22 - 2.1: - :py:meth:Sphinx.add_lexer` takes a class as argument
23
24 Currently really built and tested with Sphinx 7.1.2.
21 25
22 """ 26 """
23 27
24 today = datetime.date.today().isoformat() 28 today = datetime.date.today().isoformat()
25 29
144 latex_documents = [ 148 latex_documents = [
145 ("_latex/index-latex", "PygmentsPseudocodeLexer.tex", "The Pygments Pseudocode Lexer", "Franz Glasner", "manual", True), 149 ("_latex/index-latex", "PygmentsPseudocodeLexer.tex", "The Pygments Pseudocode Lexer", "Franz Glasner", "manual", True),
146 ] 150 ]
147 latex_additional_files = [ 151 latex_additional_files = [
148 "_latex/my-doc-fonts.sty" 152 "_latex/my-doc-fonts.sty"
149 ] 153 ]
150 154
151 def setup(app): 155 def setup(app):
152 # 156 #
153 # Custom release_date and commit id variables with a custom substitution 157 # Custom release_date and commit id variables with a custom substitution
154 # |release_date| and |release_rev|'. 158 # |release_date| and |release_rev|'.