Apache Asyncband (Incubating) Website

Clone this repo:
  1. 656d855 docs: update downloads for 0.7.4 (#23) by iqwqi · 3 days ago main
  2. 1be7bec docs: add a guide to migrating from tokio::sync (#19) by Nanami · 11 days ago
  3. 007da24 docs: rewrite the blog post around semaphore resource budgets (#20) by tison · 11 days ago
  4. c048e57 fix: resolve blog author avatars at build time (#18) by tison · 11 days ago
  5. d367f55 feat: enable the blog and add the first post (#17) by Nanami · 13 days ago

Apache Asyncband (Incubating) Website

This repository contains the source for the Apache Asyncband (Incubating) website. Read the project DISCLAIMER and learn what incubation means.

Developing

Install dependencies and start the Docusaurus development server:

pnpm install
pnpm dev

The local site is available at http://localhost:3000/ by default.

Writing documentation

Pages live under src/pages/. The homepage is src/pages/index.tsx, with its prose content in src/pages/_home-content.md. Markdown pages start with frontmatter for their title and metadata; the rest of the file is Markdown.

Fenced bash and rust code blocks are highlighted during the build. Docusaurus also supports MDX components when a page needs behavior beyond Markdown.

Run pnpm format to format the repository.

Writing blog posts

Blog posts live under blog/, with author profiles in blog/authors.yml. Keep avatar source URLs in image_url; the blog plugin fetches and embeds them during each build to comply with the ASF Content Security Policy. Failed downloads stop the build.

Validating

Run the type, formatting, lint, and production-build checks:

pnpm validate

Building and previewing

Generate the static site and preview the result locally:

pnpm build
pnpm preview

The generated site is written to build/. Pushing to main builds and publishes the site through the asf-site branch.

The deployment workflow also rebuilds main daily to refresh avatars without a source change.

To publish a staging preview, push the site source to a branch named preview/<name>. The same deployment workflow publishes the build through site/<name>-staging, which ASF serves at https://asyncband-<name>.staged.apache.org/.

License

Licensed under the Apache License, Version 2.0.