lint/sphinx
This commit is contained in:
parent
5361fbd9a0
commit
2dfdabed26
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
"""Project consisting only of a Sphinx documentation."""
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
|
|
||||||
from sphinx.cmd.build import build_main
|
from sphinx.cmd.build import build_main
|
||||||
|
@ -10,7 +12,7 @@ class SphinxProject(Project):
|
||||||
def __init__(self, file_path: str) -> None:
|
def __init__(self, file_path: str) -> None:
|
||||||
super().__init__(file_path)
|
super().__init__(file_path)
|
||||||
|
|
||||||
def build(self):
|
def build(self) -> None:
|
||||||
output_root: str = path.join(self.root, "out")
|
output_root: str = path.join(self.root, "out")
|
||||||
wipe(output_root)
|
wipe(output_root)
|
||||||
arguments: list[str] = [
|
arguments: list[str] = [
|
||||||
|
|
Loading…
Reference in a new issue