问题描述
$ sphinx-build -t <tag_name>
示例:
$ sphinx-build -t Foo
将在以下位置创建字典条目:
sphinx.util.docutils.SphinxDirective.config._raw_config['tags'].tags
also mirrored in:
sphinx.util.docutils.SphinxDirective.env.config._raw_config['tags'].tags
tags
将包含带有条目的字典:
'Foo': True
但是,访问SphinxDirective.config._raw_config
要求超出范围的受保护成员。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)