diff options
author | EricFromCanada <eric3knibbe@gmail.com> | 2014-11-14 09:49:37 -0500 |
---|---|---|
committer | EricFromCanada <eric3knibbe@gmail.com> | 2014-11-14 09:49:37 -0500 |
commit | 98d148ee687fc47769e938cadbea4c4bc9312cdf (patch) | |
tree | 955f9ca6de2793e07c00f8d74b3a66149527d074 /pygments | |
parent | 1da822a475efc5be488abcd1847741ffadc9f606 (diff) | |
download | pygments-98d148ee687fc47769e938cadbea4c4bc9312cdf.tar.gz |
fix display of short names & filenames on Formatters page
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/sphinxext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/sphinxext.py b/pygments/sphinxext.py index 82bc6543..85a434ad 100644 --- a/pygments/sphinxext.py +++ b/pygments/sphinxext.py @@ -133,8 +133,8 @@ class PygmentsDoc(Directive): if isinstance(docstring, bytes): docstring = docstring.decode('utf8') heading = cls.__name__ - out.append(FMTERDOC % (heading, ', '.join(data[1]) or 'None', - ', '.join(data[2]).replace('*', '\\*') or 'None', + out.append(FMTERDOC % (heading, ', '.join(data[2]) or 'None', + ', '.join(data[3]).replace('*', '\\*') or 'None', docstring)) return ''.join(out) |