trespaul / tidal-doc

TidalCycles documentation rework.
https://tidal-doc.pages.dev
GNU General Public License v3.0
0 stars 1 forks source link

TidalCycles

Built with Starlight

Usage and development

npm run dev    # local server for development
npm run build  # build production site into dist/ folder

Structure

public/                     --- files copied directly to build
src/
├── assets/                 --- general assets
├── content/docs/           --- collection for all site content
│  ├── blog/                --- files for blog section
│  │  ├── assets/...        --- assets for blog posts
│  │  └── profile/...       --- individual profiles
│  ├── explanation/...      --- explanation section
│  ├── getting-started/...  --- getting started section
│  ├── guides/...           --- guide section
│  │  ├── audio/...         --- SuperDirt and SuperCollider specific guides
│  │  └── tidal/...         --- Tidal-specific guides
│  ├── introduction/...     --- introduction section
│  ├── reference/...        --- reference section
│  │  ├── config/...        --- config reference
│  │  ├── functions/...     --- Tidal functions (autogen)
│  │  ├── mini-notation/... --- mini-notation reference
│  │  └── superdirt/...     --- superdirt reference
│  └── index.mdx            --- homepage
├── pages/                  --- manually structured pages (not used)
│  └── og/[...slug].ts      --- opengraph images endpoint
├── styles/custom.css       --- custom css
astro.config.mjs            --- all site config, sidebars, etc.
package.json                --- npm configuration, dependencies
README.md                   --- this file
tailwind.config.mjs         --- tailwind config, theming

Purpose of different docs sections

  1. Introduction: what is Tidal, what is it used for, what has it been used for, who are the community, etc.
  2. Getting started: how to get up and running from scratch, to making a first sound.
  3. Guides: all guides to do a specific thing that isn't necessary to know at first.
  4. Explanation: in-depth theoretical explanation of internal workings.
  5. Reference: lists of, e.g., functions or options and their descriptions, perhaps with an example; could perhaps be autogenerated.

The specific pages are: