- Download the latest version ([{{ resource.meta.latestversion }}][last]).
- Check the [list of features]([[features.html]]).
- - Learn [how to install _lldpd_]([[install.html]]).
+ - Learn [how to install _lldpd_]([[installation.html]]).
- Learn [how to configure and use _lldpd_]([[usage.html]]).
- [Get the code on GitHub](https://github.com/vincentbernat/lldpd).
- [Add issues and feature requests](https://github.com/vincentbernat/lldpd/issues).
"""Build production content"""
# Generate the website from scratch
local("rm -rf deploy")
- gen()
+ conf = "site-production.yaml"
+ _hyde('gen -c %s' % conf)
# Compute hash for media files
with lcd("deploy"):
# Fix HTML
local(r"find . -name '*.html' -type f -print0 | xargs -r0 sed -i "
'"'
- r"s@\([\"']\)%s\1@\1%s\1@g"
+ r"s@\([\"']\)\([^\"']*\)%s\1@\1\2%s\1@g"
'"' % (f, newname))
lldpdir = os.getcwd()
</p>
<ul>
- <li><a href="index.html">Overview</a></li>
- <li><a href="features.html">Features</a></li>
- <li><a href="installation.html">Installation</a></li>
- <li><a href="usage.html">Usage</a></li>
+ <li><a href="{{ content_url('index.html') }}">Overview</a></li>
+ <li><a href="{{ content_url('features.html') }}">Features</a></li>
+ <li><a href="{{ content_url('installation.html') }}">Installation</a></li>
+ <li><a href="{{ content_url('usage.html') }}">Usage</a></li>
</ul>
</nav>
--- /dev/null
+extends: "site.yaml"
+mode: production
+base_url: /lldpd
+media_url: /lldpd/media
-mode: production
+mode: development
media_root: media
-media_url: media
+media_url: /media
base_url: /
plugins:
- hyde.ext.plugins.meta.MetaPlugin