-
Notifications
You must be signed in to change notification settings - Fork 13
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
docs: fix link for RemoveBarriers
pass, update docs build scripts
#457
Conversation
RemoveBarriers
passRemoveBarriers
pass, update docs build scripts
@@ -15,6 +15,14 @@ sed -i '' 's#CQCL/tket#CQCL/'$EXTENSION_NAME'#' _static/nav-config.js | |||
# Build the docs. Ensure we have the correct project title. | |||
sphinx-build -b html -D html_title="$EXTENSION_NAME" . build | |||
|
|||
if [[ "$OSTYPE" == "darwin"* ]]; then |
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.
This is to replace all the _tket links in the (LOCAL) docs build
@@ -208,7 +208,7 @@ Every {py:class}`~pytket.backends.backend.Backend` in pytket has its own {py:met | |||
* - [AutoRebase [2]](inv:#*.AutoRebase) | |||
- [SynthesiseTket](inv:#*.SynthesiseTket) | |||
- [FullPeepholeOptimise](inv:#*.passes.FullPeepholeOptimise) | |||
- [RemoveBarriers](inv:#*pytket.passes.RemoveBarriers) | |||
- [RemoveBarriers](inv:#*pytket._tket.passes.RemoveBarriers) |
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.
This seems weird but I've verified that this works in the built html. The _tket line is replaced so there is no danger of broken links.
Description
_tket
links for the passes in the default compilation tableOnly (1.) affects the website. Everything else is just for the docs build in pytket-qiskit. This is still broken. See #458
Drive by: black format the
qiskit_convert.py
file after ablack
package update.closes #444