aboutsummaryrefslogtreecommitdiff
path: root/docs/content/docs/index.md
blob: 4cce72aacfb09e5db3415e36a91a3001510a8045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Contributing to the Docs

We welcome contributions to our documentation! If you would like to contribute, please follow the steps below.

## Setting up the Docs

1. Clone the repository:

    ```shell
    git clone github.com/Significant-Gravitas/AutoGPT.git
    ```

1. Install the dependencies:

    ```shell
    python -m pip install -r docs/requirements.txt
    ```

    or

    ```shell
    python3 -m pip install -r docs/requirements.txt
    ```

1. Start iterating using mkdocs' live server:

    ```shell
    mkdocs serve
    ```

1. Open your browser and navigate to `http://127.0.0.1:8000`.

1. The server will automatically reload the docs when you save your changes.

## Adding a new page

1. Create a new markdown file in the `docs/content` directory.
1. Add the new page to the `nav` section in the `mkdocs.yml` file.
1. Add the content to the new markdown file.
1. Run `mkdocs serve` to see your changes.

## Checking links

To check for broken links in the documentation, run `mkdocs build` and look for warnings in the console output.

## Submitting a Pull Request

When you're ready to submit your changes, please create a pull request. We will review your changes and merge them if they are appropriate.