This repository contains submodules. Clone with recursive strategy:
git clone https://github.com/fetchai/docs.git --recursive && cd docs
Ensure you retrieve all the submodules by running:
git submodule update --init --recursive
To update all your submodules to the latest versions of the main branch in their respective remote repos:
git submodule update --remote
To compile and build the documentation site locally, download and install pipenv. Instructions are here.
Then run make new-env
. This creates a new pipenv virtual environment and installs the required dependencies.
Then pipenv shell
to enter the pipenv virtual environment.
Then run mkdocs serve
and navigate to http://127.0.0.1:8000.
If you run in --strict
mode, you will receive warnings about any broken links.
-
For docs in submodules (e.g.
aea
) open a PR against the relevant repo (develop
branch) and wait until the changes hitmaster
. Then in this repo, open a PR containing an update to the aea submodule (see update submodule above). -
For docs on the
docs
repo, make changes directly and open a PR againstmaster
branch of the docs repo.
-
Any changes made to a PR will generate an ephemeral preview site on firebase, which will disappear after a couple of days. The URL of this temporary site will be added to the PR's conversation.
-
Any changes pushed to the
staging
branch will be deployed to the preview website, and will not expire.
Request the deploy.sh
script from a maintainer and run it.