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
Merge 'docs' branch into 'master' #52
Conversation
Hmm. When I run
|
One of the test failures is in a relatively new addition #48 and might be a flaky test. I'll investigate. The other failure is it's failing to build the documentation in the old way. I can disable this. Is there an easy command I can put into GitHub actions to verify that the docs build as part of the pre-submit checks? |
For notebooks used for narrative guides and tutorials, we use And here's our GitHub Actions CI: https://github.com/tensorflow/docs/blob/master/.github/workflows/ci.yaml (also added an auto-format bot but that requires extra permissions). The notebook content is tested post-submit (nightly if changed) when we import and run them. We'll send you an email notification if we detect a breakage (but if notebook outputs are saved, they won't be run). I'd imagine quota would be an issue if you wanted to execute the notebook within GitHub Actions, especially for long-running notebooks. I don't think ReCirq has an API reference section, yes?
|
|
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.
I was able to build the staging site. This looks good from my end, although there are some general doc improvements that need to happen after this is merged. I'll open follow-up issues.
I'll submit a PR to disable the current doc-building stage of the CI so we can get a green checkmark, then open an issue to add an nbfmt check
SG. Thanks! Once this lands, I might have some PRs for formatting and other docs fixes, but I'll submit those later. |
Can you merge master or rebase to pull in the changes to the CI from #55 ? |
* Refresh pytket routing code (#38) * Change default doc building behavior Only unfilled notebooks should be re-executed * Refresh pytket routing code * Remove deprecated use of cirq.op_gate_of_type * Update CI install instructions * Commit notebook * Move images to docs/images/ * Move sphinx docgen to dev_tools/docs/sphinx * Move convert-readout-scan-notebook-to-script.py to dev_tools/docs/ * Rename rst docs to md * Convert rst files to markdown * Create initial index.md file * Move developer guide to top-level * Add toc nav Co-authored-by: Matthew Harrigan <mpharrigan@google.com>
* Move data collection/analysis notebooks under tutorials/ * nbfmt collection/analysis notebooks * Update data-collection notebook for colab. Add buttons. * Update data-analysis notebook for colab. Add buttons. * Rename qaoa tutorial filenames * nbfmt qaoa tutorial notebooks * Update qaoa example problems for colab. Add buttons. Add images. * Update qaoa tasks for colab. Add buttons. * Update qaoa precomputed-analysis for colab. Add buttons. * Update qaoa landscape-analysis for colab. Add buttons. * Update qaoa hardware-grid for colab. Add buttons. * Update qaoa routing-with-tket for colab. Add buttons.
* Use consistent file names with Cirq * Remove explict install of pytket-cirq in docs. nbfmt
@mpharrigan done! |
Thanks! |
Mostly file moves and renames. Some Markdown fixes.
Some Sphinx-specific files moved into
dev_tools/docs/sphinx/
—just in case you need them and can probably delete from repo when you are ready.