| 1 |
"Tasks for managing Sphinx docs." |
| 2 |
|
| 3 |
from invoke import task, Collection |
| 4 |
|
| 5 |
|
| 6 |
@task(name="all", default=True) |
| 7 |
def all_(c): |
| 8 |
"Build all doc formats." |
| 9 |
pass |
| 10 |
|
| 11 |
|
| 12 |
@task |
| 13 |
def html(c): |
| 14 |
"Build HTML output only." |
| 15 |
pass |
| 16 |
|
| 17 |
|
| 18 |
@task |
| 19 |
def pdf(c): |
| 20 |
"Build PDF output only." |
| 21 |
pass |