Documentation for the Autonity Go Client (AGC), the reference implementation of the Autonity blockchain protocol.
Setup:
- Clone this repository.
- Install the latest Hugo "extended version" for your OS. If you are on an LTS Linux distro, you may need to use the Hugo snap package or the pre-built binaries to obtain the latest version.
- Install Node.js and
npm
for your OS. - Run
make deps
to install Docsy and its dependencies.
Usage:
- Run
make serve
(or justmake
) to serve the site in Hugo's local webserver. - Review the
Makefile
and Github Actions workflow for more details.
You can view the style specimen by viewing the specimen
file. The file can only be viewed locally by typing hugo server -D
to include drafts when building and going to
To contribute to this repo, please raise a pull request as per Github Flow.
Note that in order to maintain a legible Git history, this repo enforces linear history on master
. To ensure that your local Git commit log is linear, you should rebase your local changes on top of origin
. You can tell Git to do this for this repository by setting the Git option pull.rebase
in your local checkout:
git config --local pull.rebase true
Alternatively, you can apply this setting for all your repos by replacing --local
with --global
.
Reference: Pro Git by Scott Chacon