Welcome to the Codemagic public documentation repository. As a Codemagic user, you can contribute to our documentation to improve it.
To contribute, fork the repository, make your changes and start a pull request. All pull requests will be reviewed by the Codemagic team.
We invite you to help out fellow Codemagic users by describing a frequent issue and providing a solution to it. Add your entry to the "Common issues" page under Troubleshooting.
Please follow the format of existing issues for consistency.
Development requires Hugo static site generator. It can be installed with Homebrew for Linux and macOS users
brew install hugo
Note that Hugo extended v0.139.2 is used in production. This Hugo version can be downloaded from releases page.
Windows users can install Chocolatey. After that Hugo can be installed with
choco install hugo-extended
For general info see Hugo documentation.
Content is in content
in CommonMark markdown format, as implemented by goldmark;
Layout templates are in layouts
in HTML format and go template syntax for "actions" (Hugo documentation).
Linux and macOS users can preview the site in http://localhost:1313/ by launching:
./serve.sh
Windows users launch:
./serve.cmd
It will usually refresh automatically when anything is changed
For testing things that require a subdomain, add a subdomain to your hosts file:
# example for macOS
sudo sh -c "echo '127.0.0.1\tdocs.codemagic.local' >> /etc/hosts"
and preview the site in http://docs.codemagic.local:1313/ instead.