Skip to content

hellotham/rosely-docs

 
 

Repository files navigation

Rosely Documentation

Built with Starlight Netlify Status

This contains the documentation of the Rosely design system, written in Astro using the Starlight template.

It is currently hosted at Netlify. The website address is https://rosely.hellotham.com

🚀 Project Structure

Inside the project, you'll see the following folders and files:

.
├── public/
├── src/
│   ├── assets/
│   ├── content/
│   │   └── docs/
│   └── content.config.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json

Starlight looks for .md or .mdx files in the src/content/docs/ directory. Each file is exposed as a route based on its file name.

Images are in src/assets/ and embedded in Markdown with a relative link.

Static assets, like favicons, are placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm dev Starts local dev server at localhost:4321
pnpm build Build your production site to ./dist/
pnpm preview Preview your build locally, before deploying
pnpm astro ... Run CLI commands like astro add, astro check
pnpm astro -- --help Get help using the Astro CLI

Deploy to Netlify

Read the full deployment guide here.

Follow the instructions to [build your site locally]((https://docs.astro.build/en/guides/deploy/#building-your-site-locally). After building, you will have a .netlify/ folder containing both Netlify Functions in the .netlify/functions-internal/ folder and Netlify Edge Functions in the.netlify/edge-functions/ folder.

To deploy your site, install the Netlify CLI and run:

netlify deploy

The Netlify Blog post on Astro and the Netlify Docs provide more information on how to use this integration to deploy to Netlify.

About

Rosely Documentation site, written using Astro and Starlight

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 60.0%
  • HTML 13.8%
  • Astro 10.9%
  • CSS 8.7%
  • JavaScript 5.8%
  • TypeScript 0.8%