Skip to content

chore: add docs update status and health check #499

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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Conversation

Sita04
Copy link
Collaborator

@Sita04 Sita04 commented Jul 9, 2025

Automation for Documentation Management:

  • .github/workflows/docs-health-check.yaml: Added a scheduled workflow to run a documentation health check every Sunday at midnight. The workflow generates a health report and creates a pull request if changes are detected.
  • .github/workflows/version-check.yaml: Added a workflow triggered on pull request events to generate a version report for documentation pages. It commits and pushes changes if the report is updated.

Documentation Enhancements:

  • docs/agents/index.md: Introduced metadata for versioning (version: 1.0) in the front matter of the documentation page.
  • docs_health_report.md: Added sample reports for documentation health and versioning, providing summaries and detailed insights into stale pages and version metadata.

Website Improvements:

  • overrides/main.html: Enhanced the website template to display version information for pages with metadata, improving user awareness of documentation versions.

Scripts for Reporting:

  • scripts/check_docs_health.py: Implemented a script to analyze documentation health based on update frequency, generating a detailed report for stale and recently updated pages.
  • scripts/generate_version_report.py: Added a script to scan documentation files for version metadata and generate a comprehensive version report, including pages without version information.

@Sita04 Sita04 changed the title chore: add meta info to doc (last update time) chore: add docs update status and health check Jul 9, 2025
@Sita04 Sita04 marked this pull request as ready for review July 28, 2025 19:56
@@ -0,0 +1,112 @@
<!-- BEGIN_DOCS_HEALTH_REPORT -->
# Sample Documentation Health Report
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we want to call this "Sample" since we are publishing this? Maybe date it?

Documentation Health Report - July 2025

@@ -1,3 +1,7 @@
---
version: 1.0.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this going to be visible on the page? Also: because this number looks like a version number for ADK, I think at least some people are going to assume that it corresponds with a ADK version number, in which case this makes it look like the docs are way out of date. Maybe it's better to display a last updated date and keep the version as hidden metadata?

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1, the version is a bit confusing.

@polong-lin polong-lin requested a review from boyangsvl July 29, 2025 17:11
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.

4 participants