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

Update readme to include preview instructions #1334

Merged
merged 5 commits into from
May 10, 2024
Merged

Conversation

arnaucasau
Copy link
Collaborator

The PR adds instructions to the readme to preview changes made for API docs authors locally.

@arnaucasau arnaucasau requested a review from Eric-Arellano May 9, 2024 15:55
@qiskit-bot
Copy link
Contributor

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! 🙌

@Eric-Arellano
Copy link
Collaborator

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).
Copy link
Collaborator

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.

@arnaucasau arnaucasau added this pull request to the merge queue May 10, 2024
Merged via the queue into main with commit e413ea9 May 10, 2024
2 checks passed
@arnaucasau arnaucasau deleted the arnaucasau-patch-1 branch May 10, 2024 14:09
frankharkins pushed a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
The PR adds instructions to the readme to preview changes made for API
docs authors locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants