Skip to content

Contributing

Thank you for your interest in contributing to our documentation! This guide will help you get started.

  1. Navigate to the page you want to edit
  2. Click the “Edit this file” button (the pencil icon)
  3. Make your changes and submit a pull request
  1. Fork and clone this repository
  2. Run npm --prefix docs ci from the repository root
  3. Create a branch for your changes
  4. Make changes
  5. Run npm --prefix docs run dev and open the URL Astro prints
  6. Run npm --prefix docs run check:links, npm --prefix docs run check:claims, and npm --prefix docs run build
  7. Commit your changes and submit a pull request

For more details, see documentation development.

  • Use active voice: “Run the command” not “The command should be run”
  • Address the reader directly: Use “you” instead of “the user”
  • Keep sentences concise: Aim for one idea per sentence
  • Lead with the goal: Start instructions with what the user wants to accomplish
  • Use consistent terminology: Don’t alternate between synonyms for the same concept
  • Include examples: Show, don’t just tell