Skip to content

New docs pulgin migration#1165

Merged
sachintu47 merged 3 commits intozopencommunity:mainfrom
TejaswiniIBM:main
Apr 20, 2026
Merged

New docs pulgin migration#1165
sachintu47 merged 3 commits intozopencommunity:mainfrom
TejaswiniIBM:main

Conversation

@TejaswiniIBM
Copy link
Copy Markdown
Collaborator

@TejaswiniIBM TejaswiniIBM commented Apr 20, 2026

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Content Update

Category

  • zopen build framework
  • zopen package manager
  • Documentation
  • CI/CD
  • Tools

Description

New docs pulgin migration to Vitepress

Related Issues

  • Related Issue #
  • Closes #

[optional] Are there any post-deployment tasks or follow-up actions required?

Signed-off-by: Tejaswini R <Tejaswini.R1@ibm.com>
Signed-off-by: Tejaswini R <Tejaswini.R1@ibm.com>
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Apr 20, 2026

🤖 Augment PR Summary

Summary: Migrates the documentation site from Docsify to VitePress and updates the docs build pipeline accordingly.

Changes:

  • Introduced a new VitePress site config under docs/.vitepress/config.mts (nav/sidebar, meta tags, sitemap, clean URLs).
  • Added a custom VitePress theme entrypoint (docs/.vitepress/theme/index.ts) and migrated/expanded site styling into docs/.vitepress/theme/custom.css.
  • Implemented a new ToolFilters Vue component to filter/search tool tables in the docs UI.
  • Updated internal guide links to be compatible with clean URLs (dropping .md in several places).
  • Refactored nightly docs generation to embed manpage HTML content into generated markdown reference pages.
  • Replaced Docsify tooling with VitePress scripts/dependencies in docs/package.json.
  • Refreshed various docs pages (Badges, QuickStart, workshop) to match the new rendering expectations.

Technical Notes: The VitePress build now relies on Vue 3 + VitePress (local search provider) and generates reference docs by converting man pages via groff.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

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

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread cicd/on_nightly.sh

# 2. Extract only the content between <body> and </body>
# This avoids injecting full-document tags (<html>, <head>, <body>) into markdown
body_content=$(sed -n '/<body>/,/<\/body>/p' "${html}" | sed '1d;$d' | sed '/<a href="#/d' | sed '/<br>$/d' | sed '/<hr>/d')
Copy link
Copy Markdown

@augmentcode augmentcode Bot Apr 20, 2026

Choose a reason for hiding this comment

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

cicd/on_nightly.sh:57 The sed -n '/<body>/,/<\/body>/p' extraction looks too strict: groff -Thtml often emits <body ...> with attributes, so this may fail to match and produce empty body_content (blank reference pages). Consider making the <body / </body> matching more robust so docs generation doesn’t silently drop content.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

padding-top: 20px !important;
}

.VPDocAsideOutline {
Copy link
Copy Markdown

@augmentcode augmentcode Bot Apr 20, 2026

Choose a reason for hiding this comment

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

docs/.vitepress/theme/custom.css:457 The .VPDocAsideOutline { block isn’t closed before the subsequent .VPDocAsideOutline .outline-link selectors, which makes those nested selectors invalid CSS and prevents the outline highlighting rules from applying. Closing the rule after padding-top should restore the intended styles.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

}

.dark .VPDocFooter .edit-link .edit-link-button::after {
border-top-color: #161b22 !important;
Copy link
Copy Markdown

@augmentcode augmentcode Bot Apr 20, 2026

Choose a reason for hiding this comment

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

docs/.vitepress/theme/custom.css:370 The tooltip arrow uses border-bottom (line ~328) to draw the triangle, but the dark-mode override sets border-top-color, so the arrow color likely won’t change in dark mode. This looks like it should override the border-bottom-color instead.

Severity: low

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Copy link
Copy Markdown
Member

@IgorTodorovskiIBM IgorTodorovskiIBM left a comment

Choose a reason for hiding this comment

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

Looks good!

@sachintu47 sachintu47 merged commit 7dff16e into zopencommunity:main Apr 20, 2026
1 of 2 checks passed
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.

3 participants