docs
docs copied to clipboard
This repo contains documentation for public Fetch.ai products.
Clone
This repository contains submodules. Clone with recursive strategy:
git clone https://github.com/fetchai/docs.git --recursive && cd docs
Retrieve submodules
Ensure you retrieve all the submodules by running:
git submodule update --init --recursive
Update submodules
To update all your submodules to the latest versions of the main branch in their respective remote repos:
git submodule update --remote
To build the documentation locally
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.
Making changes
-
For docs in submodules (e.g.
aea) open a PR against the relevant repo (developbranch) 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
docsrepo, make changes directly and open a PR againstmasterbranch of the docs repo.
Previews and Staging
-
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
stagingbranch will be deployed to the preview website, and will not expire.
Deployment
Request the deploy.sh script from a maintainer and run it.