d2py.tools.write.doc

d2py.tools.write.doc#

Module Contents#

Functions#

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

Build the project's Sphinx docs.

clean(c)

update(c[, language])

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

d2py.tools.write.doc.build(c, opts=None, language=None, source=None, target=None, nitpick=False)[源代码]#

Build the project’s Sphinx docs.

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

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

Only used with invoke intl.update