This is the documentation source for this repository.
The deployed version of the documentation for this repository is available at:
For general local installation and development instructions, see the docs site README.
In order to build and develop the Apollo Client docs locally, you will need to follow these additional steps:
- Clone the docs site repository (https://github.com/apollographql/docs) in a sibling directory to your local copy of the
apollo-client
repository. cd docs && npm i
- Open a new terminal,
cd apollo-client
, make changes to the docs and runnpm run docmodel
- Back in the terminal window where you've checked out and cd'd into the
docs
repository, runDOCS_MODE='local' npm run start:local -- ../apollo-client
- Open a browser and visit
http://localhost:3000
- Note: you'll need to manually remove the
/react
segment of the URL from the path inside the browser