Skip to content
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

Update and refresh cirq-* module README files #6900

Merged
merged 20 commits into from
Feb 1, 2025

Conversation

mhucka
Copy link
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.
Copy link

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.

@mhucka mhucka enabled auto-merge (squash) January 14, 2025 20:13
Copy link
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!

@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
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

@mhucka
Copy link
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
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
38 checks passed
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