4 ~~~~~~~~~~~~~~~~~~ |
4 ~~~~~~~~~~~~~~~~~~ |
5 |
5 |
6 Sphinx extension to generate automatic documentation of lexers, |
6 Sphinx extension to generate automatic documentation of lexers, |
7 formatters and filters. |
7 formatters and filters. |
8 |
8 |
9 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. |
9 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. |
10 :license: BSD, see LICENSE for details. |
10 :license: BSD, see LICENSE for details. |
11 """ |
11 """ |
12 |
|
13 from __future__ import print_function |
|
14 |
12 |
15 import sys |
13 import sys |
16 |
14 |
17 from docutils import nodes |
15 from docutils import nodes |
18 from docutils.statemachine import ViewList |
16 from docutils.statemachine import ViewList |