The official documentation site for BetterLyrics.
This site is built using Astro to generate a lightweight, static documentation site from Markdown files.
To run the documentation site locally:
- Install dependencies:
npm install
- Start the local development server:
npm run dev
- Open
http://localhost:4321(or the port provided by Astro) in your browser.
docs/: The Markdown documentation files (English andzh-cn).public/: Static assets (images, configs, and client-side scripts).astro.config.mjs: Astro configuration and custom Markdown plugins.package.json: Project dependencies and NPM scripts.
- Add your
.mdfile to thedocs/ordocs/zh-cn/directory. - Update
public/sidebar.jsonwith the path to your new file to include it in the navigation. - If running the dev server, changes will be updated automatically.