This is a test repo for the next version of ActiveState Platform documentation.
-
Clone the documentation-public repo
-
Create a pre-commit hook file (
.git/hooks/pre-commit
) with the following content:
#!/bin/sh
# .git/hooks/pre-commit
echo 'Compiling site...'
# Running the gc step so that we do not check-in the files used to
# Setup the development mode. Those are not needed in production.
hugo --gc
# Add the docs folder to Github.
git add docs/*
- Give the file execution rights:
chmod +x .git/hooks/pre-commit
- Download the
hugo
binary and save it to a folder that's on your PATH, or update you PATH.
- We're currently using the extended build of v0.63.2 for macOS. Builds for other platforms are available on the release page.
The minimum requirement is v0.60.0 extended.
- Run
hugo server
from the root of the repostory to run the server locally, or commit changes and see the updates at https://activestate.github.io/documentation-public.
Last updated: April 17, 2020