Build with Astro starlight. Read the reference documentation. Check out its documentation.
- Run
npm install
- Add a
.env
file in the top level of the repository - Get a Github personal access token (See docs here)
- Add the access token to the
.env
file.
GITHUB_ACCESS_TOKEN=<token here>
.
├── public/
├── scripts/ (This has the script to generate the apps)
├── src/
│ ├── assets/
│ ├── content/
│ │ ├── docs/
│ │ │ ├── apps/ (All generated apps appear here)
│ │ │ ├── ... (other top categories)
│ │ └── config.ts
│ └── env.d.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json
└── .env (This file needs to be added by you)
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run generate |
Generates all apps from the bb-io repositories |
To generate apps run npm run generate
The script goes through all repositories in our organization and looks for readme files with <!-- begin docs -->
and <!-- end docs -->
comments. All content within these comments is copied into a markdown file in /src/content/docs/apps