This site is built using Hugo with the
Hextra theme, which is pulled in as a Hugo
module (see go.mod). No Node.js or npm packages are needed.
It is published by Netlify (see netlify.toml) when there are new pushes to
main. Do not attempt to publish manually.
git clone https://github.com/liquidmetal-dev/site
cd site
mise installmise install gets the pinned Hugo and Go versions from mise.toml. Hugo
modules need go on your PATH.
make serveThis runs hugo server --bind 0.0.0.0, so you can open the site from another
machine at http://<device ip>:1313. Locally it is at http://localhost:1313/.
To build the site into public/:
make buildBroken internal links fail the build.
- Docs live under
content/docs/and blog posts undercontent/blog/. Order docs withweightin the front matter. - Use GitHub-style alerts (
> [!NOTE],> [!TIP],> [!WARNING], ...) for callouts. - Link to other pages with relative
.mdpaths or site paths such as/docs/community/contact. - Redirects for old URLs are in
netlify.toml.
Please, please do this 😅.
There are so many docs to write and so few hours in the day and I am one person!
So, if you find a typo, instead of opening an issue... why not submit a quick PR?
A good guide for the sort of content found in good docs can be found here.
If anyone wants to improve the look and functionality of the site that would be sweet.
Developing the site is pretty easy:
- Fork this repo
- Create a feature branch
- Follow the instructions at the top of this page to start your local environment
- Make your changes
- Check they look okay, take some screenshots if you changed more than just text
- Open a PR, include your screenshots
- Profit