lint/sphinx
This commit is contained in:
parent
f46d5a9765
commit
9bb8003812
1 changed files with 4 additions and 0 deletions
|
@ -9,10 +9,14 @@ from rwx.prj import Project
|
||||||
|
|
||||||
|
|
||||||
class SphinxProject(Project):
|
class SphinxProject(Project):
|
||||||
|
"""Child class for a project based on Sphinx."""
|
||||||
|
|
||||||
def __init__(self, file_path: str) -> None:
|
def __init__(self, file_path: str) -> None:
|
||||||
|
"""Call the parent constructor."""
|
||||||
super().__init__(file_path)
|
super().__init__(file_path)
|
||||||
|
|
||||||
def build(self) -> None:
|
def build(self) -> None:
|
||||||
|
"""Build the project."""
|
||||||
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