diff options
author | Martin Liska <mliska@suse.cz> | 2021-05-25 10:37:28 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-05-25 10:55:36 +0200 |
commit | 9aecba04f4da35bd2bc7c2de76892e88cc7421ac (patch) | |
tree | aebafe8a961912b1452d475ae6d363d19c8971a4 /gcc/ada | |
parent | f1185ea88a0051b3ce9f44cde900bfef6526b568 (diff) | |
download | gcc-9aecba04f4da35bd2bc7c2de76892e88cc7421ac.zip gcc-9aecba04f4da35bd2bc7c2de76892e88cc7421ac.tar.gz gcc-9aecba04f4da35bd2bc7c2de76892e88cc7421ac.tar.bz2 |
Fix sphinx-build warning.
RemovedInSphinx40Warning: app.add_lexer() API changed; Please give lexer class instead of instance
gcc/ada/ChangeLog:
* doc/share/conf.py: Fix Sphinx 4.0.x error.
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/doc/share/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/doc/share/conf.py b/gcc/ada/doc/share/conf.py index 755c3a6..0f7f963 100644 --- a/gcc/ada/doc/share/conf.py +++ b/gcc/ada/doc/share/conf.py @@ -144,5 +144,5 @@ texinfo_documents = [ 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) |