mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added an `only` directive that can selectively include text
based on enabled "tags". Tags can be given on the command line. Also, the current builder output format (e.g. "html" or "latex") is always a defined tag.
This commit is contained in:
@@ -47,6 +47,8 @@ value_from_conf_py = 84
|
||||
coverage_c_path = ['special/*.h']
|
||||
coverage_c_regexes = {'cfunction': r'^PyAPI_FUNC\(.*\)\s+([^_][\w_]+)'}
|
||||
|
||||
# modify tags from conf.py
|
||||
tags.add('confpytag')
|
||||
|
||||
from sphinx import addnodes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user