Skip to content

Polish and fix issues from enterprise page PR#617

Merged
danbarr merged 5 commits intomainfrom
refactor-enterprise-page
Mar 16, 2026
Merged

Polish and fix issues from enterprise page PR#617
danbarr merged 5 commits intomainfrom
refactor-enterprise-page

Conversation

@danbarr
Copy link
Collaborator

@danbarr danbarr commented Mar 16, 2026

Description

Polish and fixes following the initial enterprise page PR:

  • Fix custom bullet list icon alignment (was rendering above text, not beside it); collapse default paragraph margin that was adding excessive spacing between items
  • Replace raw <ul className="stacklok-icon-list"> with a new BrandedList component, allowing standard markdown list syntax in MDX; CSS moves to a co-located module
  • Reposition enterprise page in sidebar to after FAQ (more logical flow: self-help → enterprise → support)
  • Update enterprise support section in the support page to link to the new enterprise page
  • Fix #schedule-a-demo anchor warning in production build by rendering the HubSpot form title via Docusaurus <Heading>, which is recognized by the build-time link validator

Type of change

  • Documentation update
  • Bug fix (typo, broken link, etc.)
  • Navigation/structure change

Related issues/PRs

Follows #612

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Navigation

  • Sidebar navigation (sidebars.ts) updated for added, deleted, reordered, or renamed files

danbarr added 5 commits March 16, 2026 18:32
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
- Maintains Docusaurus ref checking while not adding to ToC

Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 16, 2026 22:35
@vercel
Copy link

vercel bot commented Mar 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment Mar 16, 2026 10:35pm

Request Review

@danbarr danbarr changed the title Fix enterprise page polish items Polish and fix issues from enterprise page PR Mar 16, 2026
@danbarr danbarr requested review from Derek2Tu and aaortiz March 16, 2026 22:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the “Stacklok Enterprise” documentation page to use reusable, component-scoped UI patterns (a branded bullet list component and a HubSpot form heading anchor), and updates site navigation to point to the Enterprise doc correctly.

Changes:

  • Replaces the global .stacklok-icon-list CSS + HTML list with a new BrandedList React component backed by a CSS module.
  • Updates HubSpotForm to render the optional anchor/title using Docusaurus <Heading> for build-time anchor recognition.
  • Fixes/normalizes Enterprise doc routing in the sidebar and navbar and updates docs to link to the Enterprise page internally.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/css/custom.css Removes the legacy global CSS for the Enterprise page’s icon bullet list.
src/components/HubSpotForm/index.tsx Switches the form title/anchor rendering to Docusaurus <Heading> and adjusts scroll margin behavior.
src/components/BrandedList/index.tsx Adds a wrapper component for branded unordered lists in MDX.
src/components/BrandedList/styles.module.css Adds scoped styles to render Stacklok symbol bullets (theme-aware).
sidebars.ts Updates the Enterprise doc id to the correct route.
docusaurus.config.ts Updates navbar “Enterprise” link target.
docs/toolhive/support.mdx Replaces external Enterprise support links with an internal link to the Enterprise page.
docs/toolhive/enterprise.mdx Adopts BrandedList, tweaks headings/copy, and updates several internal links.

You can also share your feedback on Copilot code review. Take the survey.

@danbarr danbarr enabled auto-merge (squash) March 16, 2026 23:12
@danbarr danbarr merged commit 2b04fd2 into main Mar 16, 2026
14 checks passed
@danbarr danbarr deleted the refactor-enterprise-page branch March 16, 2026 23:19
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