Skip to content

Commit

Permalink
Add Pygments version to sphinx --bug-report
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jan 1, 2023
1 parent f8e8584 commit 0b1efd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sphinx/cmd/build.py
Expand Up @@ -290,6 +290,7 @@ def _bug_report_info() -> int:

import docutils
import jinja2
import pygments

print('Please paste all output below into the bug report template\n\n')
print('```text')
Expand All @@ -299,6 +300,7 @@ def _bug_report_info() -> int:
print(f'Sphinx version: {sphinx.__display_version__}')
print(f'Docutils version: {docutils.__version__}')
print(f'Jinja2 version: {jinja2.__version__}')
print(f'Pygments version: {pygments.__version__}')
print('```')
return 0

Expand Down

0 comments on commit 0b1efd7

Please sign in to comment.