-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[qpolish] dev-site & readthedocs hybrid #3227
Conversation
* [SVG] Noise hack and font fix (quantumlib#3076) - Specify the font. This should not be a change for viewing in Jupyter notebook but fixes opening the svg data in e.g. inkscape where the default font is different and the boxes aren't the right size - Don't display virtual tags (for noise) xref quantumlib#2905 * Support multi-qubit measurement in plot_state_histogram (quantumlib#3054) * Add generated code for batch.proto (quantumlib#3086) Review: @dstrain115 * Fix flakes in random_circuit_test (quantumlib#3084) * Added api docs gen (copy from TFQ). * updated site_path prefix. * removed pre-built. * rename. * move to dev_tools. * removed __future__ and formatting. * yet more formatting. Co-authored-by: Matthew Harrigan <mpharrigan@google.com> Co-authored-by: Animesh Sinha <AnimeshSinha1309@gmail.com> Co-authored-by: Matthew Neeley <maffoo@google.com> Co-authored-by: Dave Bacon <dabacon@gmail.com>
* [SVG] Noise hack and font fix (quantumlib#3076) - Specify the font. This should not be a change for viewing in Jupyter notebook but fixes opening the svg data in e.g. inkscape where the default font is different and the boxes aren't the right size - Don't display virtual tags (for noise) xref quantumlib#2905 * Support multi-qubit measurement in plot_state_histogram (quantumlib#3054) * Add generated code for batch.proto (quantumlib#3086) Review: @dstrain115 * Fix flakes in random_circuit_test (quantumlib#3084) * Fix Quirk import extra gates bug * Move image files to docs/images/ * Move unneeded site assets * Move Sphinx templates, Makefile, conf, and init * Added api docs gen (copy from TFQ). (quantumlib#3089) * [SVG] Noise hack and font fix (quantumlib#3076) - Specify the font. This should not be a change for viewing in Jupyter notebook but fixes opening the svg data in e.g. inkscape where the default font is different and the boxes aren't the right size - Don't display virtual tags (for noise) xref quantumlib#2905 * Support multi-qubit measurement in plot_state_histogram (quantumlib#3054) * Add generated code for batch.proto (quantumlib#3086) Review: @dstrain115 * Fix flakes in random_circuit_test (quantumlib#3084) * Added api docs gen (copy from TFQ). * updated site_path prefix. * removed pre-built. * rename. * move to dev_tools. * removed __future__ and formatting. * yet more formatting. Co-authored-by: Matthew Harrigan <mpharrigan@google.com> Co-authored-by: Animesh Sinha <AnimeshSinha1309@gmail.com> Co-authored-by: Matthew Neeley <maffoo@google.com> Co-authored-by: Dave Bacon <dabacon@gmail.com> * Move doc tools to /dev_tools/docs/ * Move examples index into tutorials/ * Move basics tutorial into tutorials/ * Encode URL bracket so not mistaken for template. * Update references to moves docs and image files. * Update references to docs_coverage_test.py * Format py with check/format-incremental --apply * Move Sphinx RST files * Add _index.yaml for site * Add initial _book.yaml for leftnav * Manually format docs/_sphinx/conf.py for CI * Update references to moved api.rst file * Move docs/_sphinx to dev_tools/docs/sphinx * Update README.rst path for snippets_test.py * Move run_doctest to dev_tools/docs/ * Move build-docs.sh to dev_tools/docs/sphinx/ * Update references to build-docs.sh * Remove build_docs CI test Co-authored-by: Matthew Harrigan <mpharrigan@google.com> Co-authored-by: Animesh Sinha <AnimeshSinha1309@gmail.com> Co-authored-by: Matthew Neeley <maffoo@google.com> Co-authored-by: Dave Bacon <dabacon@gmail.com> Co-authored-by: Matteo Pompili <matpompili@gmail.com> Co-authored-by: MichaelBroughton <MichaelBroughton@users.noreply.github.com>
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
Automerge cancelled: "automerge" label was never added. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
Automerge cancelled: "automerge" label was never added. |
Automerge cancelled: "automerge" label was never added. |
Automerge cancelled: "automerge" label was never added. |
Automerge cancelled: "automerge" label was never added. |
Automerge cancelled: "automerge" label was never added. |
It seems that Github is inconsistent - https://api.github.com/repos/quantumlib/cirq/issues/3227/events doesn't contain any of the events for labelling with Merging manually. |
Adds a hybrid solution for devsite and readthedocs. Adds a hybrid solution where now the `docs` folder is the source of truth for devsite, our new documentation platform that will go live in a couple of months. This contains the current version of the `docs-site` branch. ReadTheDocs specific files now live in `rtd-docs` that should be rarely (if ever) modified. After spending a day on researching possible ways to do this I settled with a simple "copy" approach and re-referencing the "new docs" structure from the ReadTheDocs rst files. This will make some maintenance tasks like restructuring ReadTheDocs a bit tricky, but the situation is temporary and regular docs updates should be okay. * Docs site setup (quantumlib#3085) * Move examples index into tutorials/ * Move basics tutorial into tutorials/ * Add _index.yaml for site * Add initial _book.yaml for leftnav Co-authored-by: Matthew Harrigan <mpharrigan@google.com> Co-authored-by: Animesh Sinha <AnimeshSinha1309@gmail.com> Co-authored-by: Matthew Neeley <maffoo@google.com> Co-authored-by: Dave Bacon <dabacon@gmail.com> Co-authored-by: Matteo Pompili <matpompili@gmail.com> Co-authored-by: MichaelBroughton <MichaelBroughton@users.noreply.github.com>
Adds a hybrid solution where now the
docs
folder is the source of truth for devsite, our new documentation platform that will go live in a couple of months. This contains the current version of thedocs-site
branch.ReadTheDocs specific files now live in
rtd-docs
that should be rarely (if ever) modified.After spending a day on researching possible ways to do this I settled with a simple "copy" approach and re-referencing the "new docs" structure from the ReadTheDocs rst files.
This will make some maintenance tasks like restructuring ReadTheDocs a bit tricky, but the situation is temporary and regular docs updates should be okay.