Skip to content

Commit ecd5e1a

Browse files
committed
trac 34167: add MODULEAUTHOR, autofunction to the list of known directives
1 parent 918dfcd commit ecd5e1a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/sage_docbuild/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def sphinx_plot(graphics, **kwds):
176176

177177
# If true, sectionauthor and moduleauthor directives will be shown in the
178178
# output. They are ignored by default.
179-
#show_authors = False
179+
show_authors = True
180180

181181
# Default lexer to use when highlighting code blocks, using the IPython
182182
# console lexers. 'ipycon' is the IPython console, which is what we want

src/tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ rst-roles =
207207
wikipedia
208208
rst-directives =
209209
automethod,
210+
autofunction,
211+
MODULEAUTHOR,
210212
ONLY,
211213
PLOT,
212214
SEEALSO,

0 commit comments

Comments
 (0)