-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Overhaul top-level README file and convert format to Markdown #6988
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6988 +/- ##
=======================================
Coverage 97.89% 97.89%
=======================================
Files 1085 1085
Lines 95131 95131
=======================================
+ Hits 93124 93125 +1
+ Misses 2007 2006 -1 ☔ View full report in Codecov by Sentry. |
Note: the failing checks on Windows are due to the new README file triggering a bug in the dev_tools/ scripts: several of them call PR #6989 provides a fix to the underlying problem. Applying that PR should make the checks in this PR succeed. |
In the last commit (b93082b), I used Markdown reference links to try to make the source text more readable. If the result is not actually an improvement, then we can delete that commit. |
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.
LGTM with a couple of minor comments.
Thank you for improving this!
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.
One extra thing before merge - please delete README.rst
Done in the latest commit. |
396ca1a
to
a1c1512
Compare
This is a major overhaul of the main Cirq README file. Much of the content is rewritten, and there are numerous additions and enhancements all over. The changes include but are not limited to: - Updates and corrections - Addition of new sections - Centering and resizing the logo for a more professional look - Addition of GitHub badges for extra "pizzazz" - Addition of pointers to related Quantumlib software - Addition of a table of contents - Improvements to info about how to cite Cirq - Conversion to Markdown format to allow formatting that is compatible with both GitHub and PyPI This is a follow-on to now-closed PRs quantumlib#6903 and quantumlib#6901, which concerned making roughly the same changes while keeping with the reStructuredText format of the previous README file. Switching to Markdown allows use of some simple raw HTML to achieving formatting that is not possible in pure Markdown, and still do so in a way that works on both GitHub and PyPI.
No content edits (except possibly one or two trivial changes of wording). This changes some links to use Markdown "reference" link syntax, to make some of the source text more readable.
The previous links for the bibliographic records went to Cirq 1.2 in Zenodo. There doesn’t seem to be a way to get Zenodo to produce bibtex for the latest version of a record (only specific versions of a record), so I ended up using doi.org, but that one doesn't have a way to produce MarcXML. So I removed that format, leaving the other two. This also moves the GitHub contributors badge/count, per recommendation by Pavol in the review of this PR.
This is so that existing links go to same section despite the renamed heading.
Somehow this PR branch picked commits from the main - $ git log --oneline main..f55479be --author="(Seneca|Doug|Pavol|Dax|Matthew)"
37cf3225 add snapshot_id to get_sampler interface on engine object (#7005)
0039d36f Streamline proto serialization of circuits with duplicate operations (#6991)
98314aae Fix check/nbformat installation and execution (#7004)
fdd87e7d Fix mapped measurement keys of repeat_until fields in CircuitOperations (#6881)
3f4945f9 Fix logic for handling `repetition_ids` in `CircuitOperation.replace` (#6984) @mhucka - For the sake of better merge message - can you please reset it to git checkout mhucka-new-top-readme
git fetch https://github.com/pavoljuhas/Cirq.git rebased-6988
# last check - should have no output
git diff mhucka-new-top FETCH_HEAD
git reset FETCH_HEAD
git push --force-with-lease ... |
Oh, foo, how that did happen. |
0f8bec3
to
964c6f7
Compare
Thanks for the clear instructions! I followed them and it looks like those extra commits are no longer here.
|
* Overhaul top-level README and convert to Markdown This is a major overhaul of the main Cirq README file. Much of the content is rewritten, and there are numerous additions and enhancements all over. The changes include but are not limited to: - Updates and corrections - Addition of new sections - Centering and resizing the logo for a more professional look - Addition of GitHub badges for extra "pizzazz" - Addition of pointers to related Quantumlib software - Addition of a table of contents - Improvements to info about how to cite Cirq - Conversion to Markdown format to allow formatting that is compatible with both GitHub and PyPI This is a follow-on to now-closed PRs quantumlib#6903 and quantumlib#6901, which concerned making roughly the same changes while keeping with the reStructuredText format of the previous README file. Switching to Markdown allows use of some simple raw HTML to achieving formatting that is not possible in pure Markdown, and still do so in a way that works on both GitHub and PyPI. * Adapt setup.py to work with new Markdown-format README * Update to reference README.md instead of README.rst * Use md reference links for better plain-text readability No content edits (except possibly one or two trivial changes of wording). This changes some links to use Markdown "reference" link syntax, to make some of the source text more readable. * Fix list indentation to follow Google Markdown style * Fix links to bib records & reposition recontributors number The previous links for the bibliographic records went to Cirq 1.2 in Zenodo. There doesn’t seem to be a way to get Zenodo to produce bibtex for the latest version of a record (only specific versions of a record), so I ended up using doi.org, but that one doesn't have a way to produce MarcXML. So I removed that format, leaving the other two. This also moves the GitHub contributors badge/count, per recommendation by Pavol in the review of this PR. * Remove README.rst * Add link target for #how-to-cite This is so that existing links go to same section despite the renamed heading.
This is a major overhaul of the main Cirq README file. Much of the
content is rewritten, and there are numerous additions and
enhancements all over. The changes include but are not limited to:
compatible with both GitHub and PyPI
This is a follow-on to now-closed PRs #6903 and #6901, which concerned
making roughly the same changes while keeping with the
reStructuredText format of the previous README file. Switching to
Markdown allows use of some simple raw HTML to achieving formatting
that is not possible in pure Markdown, and still do so in a way that
works on both GitHub and PyPI.