File: doc-conf-sphinx4.diff

package info (click to toggle)
libaunit 23.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,412 kB
  • sloc: ada: 5,615; makefile: 223; python: 220; sh: 92; xml: 13
file content (14 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Adapt doc/share/conf.py to sphinx4
Forwarded: https://github.com/AdaCore/aunit/pull/21
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/doc/share/conf.py
+++ b/doc/share/conf.py
@@ -96,5 +96,5 @@
 
 
 def setup(app):
-    app.add_lexer('ada', ada_pygments.AdaLexer())
-    app.add_lexer('gpr', ada_pygments.GNATProjectLexer())
+    app.add_lexer('ada', ada_pygments.AdaLexer)
+    app.add_lexer('gpr', ada_pygments.GNATProjectLexer)