The static website of the Netatalk project, generated from Markdown sources by a custom Python script.
assets/sundry downloadable files that don't fit anywhere elseconfig/site configuration and release data used by the website generatorscss/stylesheets used by the websitegfx/image files used inline in HTML pageslogo/the canonical Netatalk logo images, not used directly by the websitenetatalk/the Netatalk source code submodule, used to build various documentationpages/the top level website pages Markdown sourcesreleasenotes/historical static release notes in Markdown format (until 2022)scripts/Python scripts that build the websitesecurity/vulnerability advisories in Markdown, and raw patchesspec/specification documentation in Markdowntemplates/reusable HTML fragments used by the website generators
Contemporary release notes as well as wiki documentation Markdown sources are fetched on the fly from the Netatalk/netatalk GitHub project by the build script.
The rest of the Markdown sources are created by Netatalk's meson build system, including the Doxygen source code documentation.
The Markdown sources are converted to HTML using Python scripts in scripts/,
orchestrated by the build.sh shell script, and output to the public/ directory.
A GitHub personal access token is required to fetch release notes from the GitHub API.
Without a token, the build script will skip fetching release notes and the generated website will be incomplete.
GITHUB_TOKEN=your_token ./build.shTo build the website for local review and start a static web server:
GITHUB_TOKEN=your_token ./build.sh testThis generates internal website URLs with http://127.0.0.1:8000/ as the base URL
and serves the generated site from public/. Use --host, --port, or --base-url
to customize the local server and generated base URL, for example:
GITHUB_TOKEN=your_token ./build.sh test --host 0.0.0.0 --port 8080 --base-url http://localhost:8080/The default production base URL and supported locales are configured in config/site.toml.
The base URL can be overridden for any build by setting NETATALK_SITE_BASE_URL.
- Create a news story at the top of
pages/archive.md(the top three stories will be substituted topages/index.md.) - Prepend the release version to
config/releases.txt. - cd to the
netatalksubmodule, fetch from origin and checkout the release tag, e.g.git checkout 4.5.0. - Test the updates by running
./build.sh testand reviewing the generated site. - Commit all above changes and push to remote git to publish to web hosting.