> For the complete documentation index, see [llms.txt](https://developer.gaianet.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gaianet.ai/getting-started-as-a-developer/contribute-to-the-open-source-project/documentation.md).

# Documentation

## Contributing

1. Fork the repository:
   * Visit the [GaiaNet docs repository](https://github.com/GaiaNet-AI/docs) on GitHub
   * Click the "Fork" button in the top-right corner
   * Select where you want to fork the repository (your personal account or an organization)
2. Clone your forked repository:

   ```
   git clone https://github.com/YOUR-USERNAME/docs.git
   cd docs
   ```
3. Create a new branch for your changes:

   ```
   git checkout -b your-feature-branch
   ```
4. Make your changes to the documentation
5. Commit your changes:

   ```
   git add . 
   git commit -m "Description of your changes"
   ```
6. Push your changes to your fork:

   ```
   git push origin your-feature-branch
   ```
7. Create a pull request:
   * Go to your fork on GitHub
   * Click "Pull request" and select "New pull request"
   * Select your feature branch and submit the pull request\
     Please ensure your contributions align with our documentation style and standards.

### Running the Documentation Locally

After forking and cloning the repository:

1. Install dependencies:

   ```
   npm install
   ```
2. Start the development server:

   ```
   npm start
   ```
3. Open your browser and visit `http://localhost:3000`

### Structure

* `docs/`: Contains all the markdown files for the documentation
* `src/`: Custom React components and pages
* `static/`: Static assets like images
* `docusaurus.config.js`: Main configuration file for Docusaurus

### Deployment

This documentation is automatically deployed to [docs.gaianet.ai](https://docs.gaianet.ai/) when changes are merged into the main branch.

### Need Help?

If you have any questions or need assistance, please open an issue in the repository or reach out through our community channels.\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.gaianet.ai/getting-started-as-a-developer/contribute-to-the-open-source-project/documentation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
