Skip to content

New docs#2532

Merged
chmouel merged 3 commits intomainfrom
new-docs
Mar 4, 2026
Merged

New docs#2532
chmouel merged 3 commits intomainfrom
new-docs

Conversation

@chmouel
Copy link
Copy Markdown
Member

@chmouel chmouel commented Mar 4, 2026

📝 Description of the Change

👨🏻‍ Linked Jira

🔗 Linked GitHub Issue

Fixes #

🧪 Testing Strategy

  • Unit tests
  • Integration tests
  • End-to-end tests
  • Manual testing
  • Not Applicable

🤖 AI Assistance

  • I have not used any AI assistance for this PR.
  • I have used AI assistance for this PR.

If you have used AI assistance, please provide the following details:

Which LLM was used?

  • GitHub Copilot
  • ChatGPT (OpenAI)
  • Claude (Anthropic)
  • Cursor
  • Gemini (Google)
  • Other: ____________

Extent of AI Assistance:

  • Documentation and research only
  • Unit tests or E2E tests only
  • Code generation (parts of the code)
  • Full code generation (most of the PR)
  • PR description and comments
  • Commit message(s)

Important

If the majority of the code in this PR was generated by an AI, please add a Co-authored-by trailer to your commit message.
For example:

Co-authored-by: Gemini gemini@google.com
Co-authored-by: ChatGPT noreply@chatgpt.com
Co-authored-by: Claude noreply@anthropic.com
Co-authored-by: Cursor noreply@cursor.com
Co-authored-by: Copilot Copilot@users.noreply.github.com

**💡You can use the script ./hack/add-llm-coauthor.sh to automatically add
these co-author trailers to your commits.

✅ Submitter Checklist

  • 📝 My commit messages are clear, informative, and follow the project's How to write a git commit message guide. The Gitlint linter ensures in CI it's properly validated
  • ✨ I have ensured my commit message prefix (e.g., fix:, feat:) matches the "Type of Change" I selected above.
  • ♽ I have run make test and make lint locally to check for and fix any
    issues. For an efficient workflow, I have considered installing
    pre-commit and running pre-commit install to
    automate these checks.
  • 📖 I have added or updated documentation for any user-facing changes.
  • 🧪 I have added sufficient unit tests for my code changes.
  • 🎁 I have added end-to-end tests where feasible. See README for more details.
  • 🔎 I have addressed any CI test flakiness or provided a clear reason to bypass it.
  • If adding a provider feature, I have filled in the following and updated the provider documentation:
    • GitHub App
    • GitHub Webhook
    • Gitea/Forgejo
    • GitLab
    • Bitbucket Cloud
    • Bitbucket Data Center

@chmouel
Copy link
Copy Markdown
Member Author

chmouel commented Mar 4, 2026

creating on osp/pac cause we need to test cloudfare

@pipelines-as-code
Copy link
Copy Markdown

pipelines-as-code bot commented Mar 4, 2026

🔍 PR Lint Feedback

Note: This automated check helps ensure your PR follows our contribution guidelines.

⚠️ Items that need attention:

📝 PR title format

Current title: New docs

Expected format <type>(<scope>): <subject> with <type> one of [build, chore, ci, docs, deps, enhance, feat, dnm, fix, perf, refactor, release, revert, style, test].

Expected pattern: <type>(<scope>): <subject>
Allowed types: build, chore, ci, docs, deps, enhance, feat, dnm, fix, perf, refactor, release, revert, style, test

Examples:

  • fix(controller): ensure reconciler handles nil spec
  • docs: update contributing guide with lint instructions

🎫 Jira reference

Add a Jira reference in the description using one of the following formats:

  • https://issues.redhat.com/browse/SRVKP-<number>

If no SRVKP ticket exists yet, link a GitHub issue instead (e.g., Fixes #123).
Minor housekeeping PRs without Jira coverage can skip this after confirming with reviewers.


🤖 AI attribution

The following commits lack an explicit AI attribution footer:

  • 7165494 docs: migrate documentation from hugo-book to Hextra theme
  • 0c73fac feat: add documentation link checking and auto-fix tooling
  • fad6432 chore: update CLAUDE.md reference

If no AI assistance was used for a commit, you can ignore this warning.
Otherwise add an Assisted-by: or Co-authored-by: footer referencing the AI used.


ℹ️ Next Steps

  • Review and address the items above
  • Push new commits to update this PR
  • This comment will be automatically updated when issues are resolved
🔧 Admin Tools (click to expand)

Automated Issue/Ticket Creation:

  • /issue-create - Generate a GitHub issue from this PR content using AI
  • /jira-create - Create a SRVKP Jira ticket from this PR content using AI

⚠️ Important: Always review and edit generated content before finalizing tickets/issues.
The AI-generated content should be used as a starting point and may need adjustments.

These commands are available to maintainers and will post the generated content as PR comments for review.

🤖 This feedback was generated automatically by the PR CI system

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, 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!

This pull request focuses on improving the documentation of the Pipelines-as-Code project by introducing a new theme, enhancing link integrity, and updating the Hugo version. It also adds a new project guide to help developers get started.

Highlights

  • Documentation Improvements: This PR introduces a new documentation theme, enhancing readability and user experience.
  • Link Checking: Added a documentation link checker to pre-commit hooks, ensuring link integrity.
  • Hugo Version Upgrade: Upgraded the Hugo version used for documentation builds to 0.146.0.
  • New Documentation Guide: Added a new markdown file, CLAUDE.md, providing a project guide.
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 by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

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 pull request 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. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

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.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 4, 2026

Deploying pipelines-as-code with  Cloudflare Pages  Cloudflare Pages

Latest commit: fad6432
Status: ✅  Deploy successful!
Preview URL: https://f60d79cd.pipelines-as-code.pages.dev
Branch Preview URL: https://new-docs.pipelines-as-code.pages.dev

View logs

Copy link
Copy Markdown

@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 introduces a significant overhaul of the documentation, migrating to the Hextra theme. The changes are extensive, including a new documentation structure, updated content, and the addition of new tooling for quality assurance, such as a link checker. Overall, this is a great improvement to the project's documentation. I have one suggestion regarding the Makefile to ensure a consistent development environment for all contributors.

Note: Security Review did not run due to the size of the PR.

Makefile Outdated
Comment on lines +216 to +217
dev-docs:
@hugo server -s docs/ &
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The dev-docs target has been modified to use the system's hugo command directly, removing the download-hugo dependency. This change requires developers to have hugo installed and available in their PATH, which could lead to inconsistencies if different versions are used. The previous implementation ensured a consistent development environment by downloading a specific version of Hugo. Consider restoring the download-hugo dependency to maintain a self-contained and consistent setup for all contributors.

dev-docs: download-hugo ## preview live your docs with hugo
	@$(HUGO_BIN) server -s docs/ &

@pipelines-as-code pipelines-as-code bot added the enhancement New feature or request label Mar 4, 2026
@chmouel
Copy link
Copy Markdown
Member Author

chmouel commented Mar 4, 2026

image

@chmouel chmouel force-pushed the new-docs branch 5 times, most recently from 9c76bb5 to 0174404 Compare March 4, 2026 18:12
@chmouel chmouel marked this pull request as ready for review March 4, 2026 18:16
@mathur07
Copy link
Copy Markdown
Contributor

mathur07 commented Mar 4, 2026

/lgtm

Copy link
Copy Markdown

@pipelines-as-code pipelines-as-code bot left a comment

Choose a reason for hiding this comment

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

Congrats @chmouel your PR Has been approved 🎉

✅ Pull Request Approved

Approval Status:

  • Required Approvals: 1
  • Current Approvals: 1

👥 Reviewers Who Approved:

Reviewer Permission Level Approval Status
@mathur07 write

📝 Next Steps

  • Ensure all required checks pass
  • Comply with branch protection rules
  • Request a maintainer to merge using the /merge command (or merge it
    directly if you have repository permission).

Automated by the PAC Boussole 🧭

chmouel added 3 commits March 4, 2026 20:18
Migrate the documentation site from the hugo-book theme to the Hextra
theme by imfing. This includes a full replacement of the theme vendor
directory, new Hugo configuration (hugo.yaml replacing config.toml),
updated layouts and partials (sidebar, footer, mobile TOC, theme
toggle), custom CSS with a blue-cyan color scheme, callout styles, and
responsive design improvements.

Update Hugo version from 0.96.0 to 0.146.0. Reorganize documentation
content structure with improved navigation, cards, diagrams, and
interactive features. Optimize image assets, add favicon and web
manifest, and update the doc generation pipeline (.tekton/doc.yaml,
hack/gendocs.sh).

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
Add automated link validation using htmltest to detect broken internal
and external links in the documentation. Introduce a check-links.sh
script that builds the Hugo site, runs htmltest, and validates that all
internal markdown references use Hugo's relref shortcode instead of
bare relative paths.

Add a --fix mode that automatically converts bare relative links to
relref shortcodes. Integrate into the CI pipeline (.tekton/linter.yaml),
pre-commit hooks, and Makefile targets (check-links, fix-links).

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
Replaced the symbolic link with a text file to ensure consistent access
to the AGENTS.md documentation.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
@chmouel chmouel merged commit e13b345 into main Mar 4, 2026
8 checks passed
@chmouel chmouel deleted the new-docs branch March 4, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup doc enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants