|
|
@@ -17,6 +17,8 @@ def docs_html(c, output_directory="build/html"):
|
|
|
"""Build the documentation in HTML form."""
|
|
|
c.run(f"cp damper/system.drawio docs/system.drawio")
|
|
|
c.run(f"python3 -m sphinx docs {output_directory}")
|
|
|
+ if output_directory == "docs/public":
|
|
|
+ c.run(f"cp -r docs/public/* ./public")
|
|
|
|
|
|
|
|
|
@task
|