mirror of
https://github.com/puppetlabs/infinitory.git
synced 2026-01-26 02:08:41 -05:00
Copy static directory into output/
This commit is contained in:
parent
c0595b182f
commit
80819e54dd
2 changed files with 2 additions and 1 deletions
|
|
@ -168,4 +168,5 @@ def main():
|
||||||
if os.path.isdir("output"):
|
if os.path.isdir("output"):
|
||||||
shutil.rmtree("output")
|
shutil.rmtree("output")
|
||||||
os.mkdir("output", 0o755)
|
os.mkdir("output", 0o755)
|
||||||
|
shutil.copytree("static", "output/static")
|
||||||
output_html(inventory, "output")
|
output_html(inventory, "output")
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>{% block title %}{% endblock %}</title>
|
<title>{% block title %}{% endblock %}</title>
|
||||||
<link rel="stylesheet" href="{{ path }}../static/general.css">
|
<link rel="stylesheet" href="{{ path }}static/general.css">
|
||||||
<link rel="stylesheet" href="{{ path }}pygments.css">
|
<link rel="stylesheet" href="{{ path }}pygments.css">
|
||||||
<script src="{{ path }}../static/moment.js" defer></script>
|
<script src="{{ path }}../static/moment.js" defer></script>
|
||||||
<script src="{{ path }}../static/general.js" defer></script>
|
<script src="{{ path }}../static/general.js" defer></script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue