Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds cargo xtask docs #1118

Merged
merged 2 commits into from
May 3, 2022
Merged

feat: adds cargo xtask docs #1118

merged 2 commits into from
May 3, 2022

Conversation

EverlastingBugstopper
Copy link
Contributor

you can now run cargo xtask docs to spin up a local netlify server with your local docset. it does so by cloning https://github.com/apollographql/docs to ./dev-docs (which is in .gitignore), and modifying ./sources/local.yml to point the rover local source to ./docs/source. It then runs npm i if node_modules does not exist, and npm run start:local. You can then navigate to http://localhost:8000/rover in your browser and changes you make to ./docs/source/**.md files will be updated automatically on save.

you can now run `cargo xtask docs` to spin up a local
netlify server with your local docset
@netlify
Copy link

netlify bot commented May 2, 2022

Deploy Preview for apollo-cli-docs canceled.

Name Link
🔨 Latest commit f310cf4
🔍 Latest deploy log https://app.netlify.com/sites/apollo-cli-docs/deploys/6271512392f16a0008dd7051

@EverlastingBugstopper EverlastingBugstopper merged commit 9c6d130 into main May 3, 2022
@EverlastingBugstopper EverlastingBugstopper deleted the avery/xtask-docs branch May 3, 2022 16:35
@EverlastingBugstopper EverlastingBugstopper added this to the 0.6.0 milestone May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant