Source for docs.ecency.com, the documentation for Ecency. The site is built with Astro and the Starlight docs theme.
src/content/docs/: the pages. Each.mdor.mdxfile becomes a page. Its path is its URL (for examplesrc/content/docs/developers/sdk.mdxis/developers/sdk/).astro.config.mjs: site config, sidebar and redirects.public/: static files served as is.
Every page starts with frontmatter that has a title and a one-sentence description.
You need Node.js 22.22 or newer (the deploy workflow uses Node 22) and Yarn.
yarn install
yarn devThe site runs at http://localhost:4321 and reloads as you edit.
yarn build
yarn previewThe static site is written to dist/. Pushes to main are built and deployed to GitHub Pages by
.github/workflows/deploy.yml (withastro/action).
Fork the repository and edit or add pages under src/content/docs/. Then open a pull request. See the
contribution guide for more.