Skip to content

Latest commit

Β 

History

History
75 lines (57 loc) Β· 3.2 KB

File metadata and controls

75 lines (57 loc) Β· 3.2 KB

Nouns Builder Documentation

Built with Starlight

Official documentation for Nouns Builder, a protocol for creating and managing Nouns-style DAOs.

Links

πŸš€ Project Structure

.
β”œβ”€β”€ public/                     # Static assets and guide screenshots
β”‚   β”œβ”€β”€ guides/                # Screenshots organized by feature
β”‚   └── onboarding/            # Onboarding guide images
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/images/         # Documentation images
β”‚   β”œβ”€β”€ content/
β”‚   β”‚   β”œβ”€β”€ docs/
β”‚   β”‚   β”‚   β”œβ”€β”€ onboarding/    # Getting started guides
β”‚   β”‚   β”‚   β”œβ”€β”€ guides/        # User guides
β”‚   β”‚   β”‚   └── contributors/  # Contributor documentation
β”‚   β”‚   └── config.ts          # Content schema configuration
β”‚   └── env.d.ts
β”œβ”€β”€ astro.config.mjs           # Astro and Starlight configuration
β”œβ”€β”€ package.json
└── tsconfig.json

Documentation is written in .mdx files in the src/content/docs/ directory. The site navigation is automatically generated from the directory structure as configured in astro.config.mjs.

🧞 Commands

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 build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

πŸ“š Content Organization

The documentation is organized into three main sections:

  • Getting Started (src/content/docs/onboarding/) - Onboarding guides for new users
  • User Guide (src/content/docs/guides/) - Feature guides for creating DAOs, auctions, governance, etc.
  • Contributor Guide (src/content/docs/contributors/) - Documentation for contributors and developers

πŸ› οΈ Development

This site is built with Astro and Starlight. To contribute:

  1. Fork the repository
  2. Install dependencies: npm install
  3. Start development server: npm run dev
  4. Make your changes to the content in src/content/docs/
  5. Test your changes locally
  6. Submit a pull request

πŸ“ Writing Documentation

  • Use .mdx files for all documentation
  • Place images in src/assets/images/ and reference with relative paths
  • Guide screenshots should be placed in public/guides/[feature-name]/
  • Follow the existing content structure and style