Skip to content

Migrate to Docusaurus#211

Merged
openshift-merge-bot[bot] merged 9 commits intoshipwright-io:mainfrom
adambkaplan:site-v2
Apr 12, 2026
Merged

Migrate to Docusaurus#211
openshift-merge-bot[bot] merged 9 commits intoshipwright-io:mainfrom
adambkaplan:site-v2

Conversation

@adambkaplan
Copy link
Copy Markdown
Member

Changes

Migrate the site from Hugo (with the LotusDocs theme) to Docusaurus.

This pull request was created with heavy assistance from Claude Code. Otherwise there was no way I could have done this in less than a day - and come out with a functioning website.

Related Issue

Fixes #210

Type of PR

/kind feature

Submitter Checklist

  • Includes tests if functionality changed/was added
  • Includes docs if changes are user-facing
  • Kind label has been set
  • Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

Migrate the website to use Docusaurus, with a cohesive theme that matches Shipwright's brand identity.

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. labels Apr 7, 2026
@pull-request-size pull-request-size bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 7, 2026
@adambkaplan
Copy link
Copy Markdown
Member Author

I have deliberately ignored my typical admonition to "squash commits" here. Each commit illustrates incremental progress towards the Docusaurus migration. Thankfully the directory tree structures for Hugo and Docusaurus are different, so it was not too challenging to stand up the "new" site before tearing down/moving the Hugo content.

Copy link
Copy Markdown
Member

@IrvingMg IrvingMg left a comment

Choose a reason for hiding this comment

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

The new website looks great! I noticed yarn build generates some warnings and there are still some Hugo files left. Since this PR is already large, we can handle that cleanup in a follow-up.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 10, 2026
- Initialize site with Docusaurus generator, providing the
  following modifications:
  - Replace initial Docusaurus icons with Shipwright's
  - Update source links to point to Shipwright codebases
  - Provide social card for Shipwright, using horizontal
    logo
  - Provide feature copy and graphics. Note that graphics were
    generated with AI assistance and are worth improving in the
    future.
- Apply Shipwright's brand colors and fonts to the core
  stylesheet
- Add CNCF Sandbox logo to footer, applying the white variant
  to both the "light" and "dark" themes
- Add legal IP statements to footer:
  - CC by 4.0 License
  - Linux Foundation trademark statement

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
Migrate the blog posts to the Docusaurus expected location.

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
- Migrate current documentation to Docusaurus
- Remove auto-initialized tutorial docs
- Modify category card backgrounds to match brand

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
- Move Kubernetes CRD docs to Docusaurus location
- Update api generation script for Docusaurus

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
- Move Intro to be first article in docs
- Move contribution guide to a separate section
- Include redirect for contribution guide

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
- Move the old release notes to `docs/ref/release-notes`
- Add redirects for release notes
- Sort release notes in reverse semantic version order

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
- Configure Google Analytics for the new site
- Add the cookie-consent plugin to ensure GDPR compliance

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
- Fix broken links
- Fix duplicate redirects
- Update Makefile to use yarn
- Disable pretty URLs for Netlify, per Docusaurus recommendations [1]

[1] https://docusaurus.io/docs/deployment#deploying-to-netlify

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
Update call to action to link to the installation guide.

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 10, 2026
@adambkaplan
Copy link
Copy Markdown
Member Author

@IrvingMg thanks for the review! I had to rebase to fix the DCO check issue, which removed your /lgtm. I also decided to squash most of the initial "setup" commits into one. I'm keeping the subsequent commits separate so it's clear how each section was migrated.

@adambkaplan adambkaplan changed the title WIP - Migrate to Docusaurus Migrate to Docusaurus Apr 10, 2026
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 10, 2026
Copy link
Copy Markdown
Member

@IrvingMg IrvingMg left a comment

Choose a reason for hiding this comment

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

Overall /lgtm

Just one minor nit, but it’s not merge-blocking

Comment thread .gitignore

npm-debug.log*
yarn-debug.log*
yarn-error.log* No newline at end of file
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: missing newline

Copy link
Copy Markdown
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 12, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 12, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SaschaSchwarze0

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 12, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit 188f594 into shipwright-io:main Apr 12, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this to Done in Issues Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[FEATURE] Migrate to Docusaurus

4 participants