d2py.tools.write._docs#

临时代码

Module Contents#

Functions#

_clean(c)

_site(name, help_part)

build(c[, opts, language, source, target, nitpick])

Build the project's Sphinx docs.

update(c[, language])

Update the POT file and invoke the sphinx-intl update command

Attributes#

docs

ns

write

d2py.tools.write._docs._clean(c)[源代码]#
d2py.tools.write._docs._site(name, help_part)[源代码]#
d2py.tools.write._docs.build(c, opts=None, language=None, source=None, target=None, nitpick=False)[源代码]#

Build the project’s Sphinx docs.

d2py.tools.write._docs.update(c, language='en')[源代码]#

Update the POT file and invoke the sphinx-intl update command

Only used with invoke intl.update

d2py.tools.write._docs.docs#
d2py.tools.write._docs.ns#
d2py.tools.write._docs.write#