lib.roles.leanpub¶
Leanpub role for Docutils.
- django_docutils.lib.roles.leanpub.leanpub_role(name, rawtext, text, lineno, inliner, options=None, content=None)[source]¶
Role for linking to leanpub page.
- Return type:
- Parameters:
Examples
:leanpub:`the-tao-of-tmux`
:leanpub:`my book <the-tao-of-tmux>`
:leanpub:`The Tao of tmux <the-tao-of-tmux:read>`