blob: 079c0ab34dbff822401c3380cbf6abe24d700c35 [file] [view]
<!-- Copyright 2026 The Fuchsia Authors
Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0
<LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT
license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option.
This file may not be copied, modified, or distributed except according to
those terms. -->
# Anneal landing page
This directory holds the [Zola](https://www.getzola.org/) source for Anneal's
landing page, published at <https://anneal.rs/>.
## Preview locally
Install the Zola version pinned in
[`install-zola/action.yml`](../.github/actions/install-zola/action.yml), then
run the site staging wrapper from the repository root so root
[`ACKNOWLEDGMENTS.md`](../ACKNOWLEDGMENTS.md) is staged into
`/acknowledgments/`:
```sh
python3 -I -B ci/build_site.py serve
```
## Deployment
GitHub Pages serves one site per repository, and each deployment replaces the
whole site. The landing page shares `anneal.rs` with the benchmark dashboards
(at `/bench/`). [`docs.yml`](../.github/workflows/docs.yml) invokes
[`ci/build_site.py`](../ci/build_site.py) from the repository root to build
this site and `/acknowledgments/` into the root of that combined site, copies
the benchmark dashboards into `bench/`, and deploys everything together. Do not
deploy this site on its own; doing so would remove the benchmark dashboards.