Skip to content

Update and refresh cirq-* module README files#6900

Merged
pavoljuhas merged 20 commits intoquantumlib:mainfrom
mhucka:mhucka-update-module-readmes
Feb 1, 2025
Merged

Update and refresh cirq-* module README files#6900
pavoljuhas merged 20 commits intoquantumlib:mainfrom
mhucka:mhucka-update-module-readmes

Conversation

@mhucka
Copy link
Copy Markdown
Contributor

@mhucka mhucka commented Dec 31, 2024

This updates all the cirq-* module files to fix some broken image links, spiff up the layout and formatting, and add some additional links here and there.

As before, these remain purposefully short and fairly minimal because these are add-only modules to the main cirq distribution. The main package README will be much fuller.

Due to differences in reStructuredText support between GitHub and PyPI, some desirable attractive formatting cannot be achieved without using raw HTML, which PyPI does not support. I decided to focus on PyPI rather than GitHub for these README files; the rationale is that these modules are separate packages on PyPI and thus have their own landing pages there, which makes them more visible than on GitHub where they are buried in subdirectories of the overall Cirq repo. Consequently, these files look slightly better on PyPI than on GitHub.

Here are a couple of examples of what the result looks like on PyPI:

image image

This updates all the cirq-* module files to fix some broken image
links, spiff up the layout and formatting, and add some additional
links here and there.
@CirqBot CirqBot added the size: L 250< lines changed <1000 label Dec 31, 2024
rstcheck complains about it.
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.88%. Comparing base (0884da7) to head (cee682c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6900      +/-   ##
==========================================
- Coverage   97.89%   97.88%   -0.01%     
==========================================
  Files        1085     1085              
  Lines       95131    95131              
==========================================
- Hits        93127    93123       -4     
- Misses       2004     2008       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread cirq-google/README.rst Outdated
@mhucka mhucka enabled auto-merge (squash) January 14, 2025 20:13
Copy link
Copy Markdown
Collaborator

@pavoljuhas pavoljuhas left a 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 small suggestions - please see inline.
Thank you for improving these!

Comment thread cirq-aqt/README.rst Outdated
Comment thread cirq-aqt/README.rst Outdated
Comment thread cirq-aqt/README.rst Outdated
Comment thread cirq-web/README.rst Outdated
Comment thread cirq-web/README.rst Outdated
@mhucka mhucka marked this pull request as draft January 28, 2025 18:52
auto-merge was automatically disabled January 28, 2025 18:52

Pull request was converted to draft

mhucka and others added 4 commits January 28, 2025 20:22
This updates all the cirq-* module files to fix some broken image links, spiff up the layout and formatting, and add some additional links here and there.

As before, these remain purposefully short and fairly minimal because these are add-only modules to the main `cirq` distribution.
This matches the changes in the top-level `setup.py` file, to adapt
them to use README.md instead of README.rst.
This updates the text about module purpose and access, and
does miscellaneous fixes such as conforming to Google's
Markdown style guidance.
@mhucka mhucka marked this pull request as ready for review January 29, 2025 04:30
@mhucka mhucka enabled auto-merge January 29, 2025 04:31
mhucka and others added 3 commits January 29, 2025 09:38
It turns out that particular logo is strictly for use only on the QAI
website. I want to find another, but right now that doesn't seem to be
the best use of time, so let's just use only the Cirq logo and leave
it for now.
@pavoljuhas pavoljuhas disabled auto-merge January 30, 2025 23:58
Copy link
Copy Markdown
Collaborator

@pavoljuhas pavoljuhas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you for improving these!

Please correct URLs in cirq-google README before merging.

Also, you may want to replace README.rst --> README.md in docs/dev/modules.md

Comment thread cirq-google/README.md Outdated
Comment thread cirq-google/README.md Outdated
@mhucka
Copy link
Copy Markdown
Contributor Author

mhucka commented Jan 31, 2025

Also, you may want to replace README.rst --> README.md in docs/dev/modules.md

I put that in the separate PR #7009. It could be argued that it would be better done in this PR. Should I move it here?

@mhucka mhucka enabled auto-merge January 31, 2025 20:05
@pavoljuhas
Copy link
Copy Markdown
Collaborator

I put that in the separate PR #7009. It could be argued that it would be better done in this PR. Should I move it here?

No need if already done.

The CI is failing because there are no .rst files anymore.

Can you please approve #7014 and resubmit after that?

@mhucka mhucka added this pull request to the merge queue Jan 31, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 1, 2025
@pavoljuhas pavoljuhas added this pull request to the merge queue Feb 1, 2025
Merged via the queue into quantumlib:main with commit 6b2f4d7 Feb 1, 2025
BichengYing pushed a commit to BichengYing/Cirq that referenced this pull request Jun 20, 2025
* Update and refresh cirq-* module README files

This updates all the cirq-* module files to fix some broken image
links, spiff up the layout and formatting, and add some additional
links here and there.

* Remove unused hyperlink target definition

rstcheck complains about it.

* Clarify the access restrictions to the quantum computing service

* Update & refresh cirq-*/README files & convert to md

This updates all the cirq-* module files to fix some broken image links, spiff up the layout and formatting, and add some additional links here and there.

As before, these remain purposefully short and fairly minimal because these are add-only modules to the main `cirq` distribution.

* Update setup.py's for README.md & refreshed version warning

This matches the changes in the top-level `setup.py` file, to adapt
them to use README.md instead of README.rst.

* Revise intro paragraphs and do misc. fix-ups

This updates the text about module purpose and access, and
does miscellaneous fixes such as conforming to Google's
Markdown style guidance.

* Remove "Google QAI" logo

It turns out that particular logo is strictly for use only on the QAI
website. I want to find another, but right now that doesn't seem to be
the best use of time, so let's just use only the Cirq logo and leave
it for now.

* Fix incorrect links for access and getting started

Reported by @Pavol in review comment
quantumlib#6900 (comment)

* Remove circled "i" symbol

Per request by @Pavol in comment quantumlib#6900 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs size: L 250< lines changed <1000

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants