-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update readme to include preview instructions #1334
Conversation
Thanks for contributing to Qiskit documentation! Before your PR can be merged, it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. Thanks! 🙌 |
Jake is submitting a patch to simplify this process. So let's wait to merge this until his patch has landed. |
README.md
Outdated
API docs authors can preview their changes to one of the APIs by using the `-a` parameter to specify the path to the docs folder: | ||
|
||
1. Run `npm run gen-api -- -p <pkg-name> -v <version> -a <path/to/docs/_build/html>`. | ||
2. Open Rancher Desktop (not necessary for Linux). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be better to move these instructions to the above section. I'd explain the step in the above section as:
Ensure Docker is running. For example, open Rancher Desktop.
Then, this secton can be:
1. <same as before>
2. Execute `./start` and open up `http://localhost:3000`, as explained in the prior section.
The PR adds instructions to the readme to preview changes made for API docs authors locally.
The PR adds instructions to the readme to preview changes made for API docs authors locally.