Skip to content

Conversation

aldnav
Copy link

@aldnav aldnav commented Aug 2, 2025

Why is this change needed?

Broken references causes some RSTs to fail and skipped by oca-gen-addon-readme.

Here is how it appears when viewing some module info.

image

And you unexpectedly get too many .... Maybe one is enough.

image

How was the change implemented?

  • Fix broken references
  • Fix repeated or redundant phrases. Probably, copy-paste/AI gen issue.
  • (unsure) Run pre-commit run --hook-stage manual oca-gen-addon-readme. I'm not sure if this should be part of this PR. Some parts may have been re-generated aside from doc description (i.e. badges). Maybe a matter of "who" ought to re-generate and "when" to update - and this commit can be moved to a separate PR.

New unit tests

N/A

Unit tests executed by the author

N/A

How to test manually

View module info and verify no broken text ([*(*])*)

image image image

Related links

N/A

Copy link

github-actions bot commented Aug 2, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@aldnav aldnav changed the title Fix broken references that causes oca-gen-addon-readme to fail [FIX] Broken references causes oca-gen-addon-readme to fail Aug 2, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @aldnav, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

I've addressed issues with the documentation generation process by fixing broken internal references and removing redundant text across various module README and HTML description files. This ensures that the oca-gen-addon-readme tool runs successfully and that the documentation accurately reflects the current state and maturity of the modules.

Highlights

  • Documentation Reference Fixes: I've fixed numerous broken internal references within the reStructuredText (RST) documentation files. These broken links were causing the oca-gen-addon-readme tool to fail during its execution.
  • Redundant Content Removal: I've removed redundant or repeated phrases, specifically the 'IMPORTANT' admonition blocks, from various documentation files. This streamlines the content and removes unnecessary clutter.
  • Maturity Badge Updates: I've updated the maturity badges in the README.rst and index.html files across many modules. This includes changing badges from 'Alpha' to 'Beta' or 'Production/Stable' where appropriate, reflecting the current development status of these modules.
  • Source Digest Updates: The source digest hashes in the generated documentation files (README.rst and index.html) have been updated. This is a direct result of the documentation regeneration process, ensuring the digests accurately reflect the current content.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments or fill out our survey to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses broken references in several README files, which was causing oca-gen-addon-readme to fail. The changes include fixing malformed reStructuredText links, updating maturity badges across multiple modules, and removing obsolete warnings about alpha versions.

The fixes for the broken links and the updates to the documentation are well-executed and improve the overall quality and consistency of the project's documentation.

I've found a couple of minor issues where a broken link was not fully resolved or where the text could be improved for clarity. My suggestions aim to complete these fixes. Overall, this is a valuable contribution that improves the maintainability of the documentation.

@aldnav
Copy link
Author

aldnav commented Aug 2, 2025

I have read the CLA Document and I hereby sign the CLA

openspp-bot added a commit to OpenSPP/openspp-cla that referenced this pull request Aug 2, 2025
@aldnav aldnav force-pushed the imp/fix-broken-readme branch from 79ee74f to ea17132 Compare August 2, 2025 00:23
aldnav added 5 commits August 2, 2025 08:29
Broken references cause oca-gen-addon-readme to fail

Signed-off-by: Aldrin Navarro <[email protected]>
…ucture

Enhance the readability and consistency of the spp_event_data module
documentation by:

- Remove redundant text
- Converting bullet points from asterisk (*) to dash (-) format for better
  markdown consistency
- Restructuring long text lines to improve readability and maintain proper
  line length
- Improving overall documentation structure and clarity

Signed-off-by: Aldrin Navarro <[email protected]>
@aldnav aldnav force-pushed the imp/fix-broken-readme branch from ea17132 to 39d80b9 Compare August 2, 2025 00:31
Copy link

sonarqubecloud bot commented Aug 2, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
77.4% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@aldnav aldnav requested a review from kneckinator August 2, 2025 00:33
Copy link

codecov bot commented Aug 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.14%. Comparing base (3ab7cfe) to head (39d80b9).

Additional details and impacted files
@@           Coverage Diff           @@
##             17.0     #824   +/-   ##
=======================================
  Coverage   76.13%   76.14%           
=======================================
  Files         766      766           
  Lines       20306    20306           
  Branches     2504     2504           
=======================================
+ Hits        15460    15461    +1     
  Misses       4302     4302           
+ Partials      544      543    -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant