Skip to content

docs: Convert Prerequisites sections to admonitions in enterprise docs#1154

Open
justinegeffen wants to merge 7 commits intomasterfrom
justine-template
Open

docs: Convert Prerequisites sections to admonitions in enterprise docs#1154
justinegeffen wants to merge 7 commits intomasterfrom
justine-template

Conversation

@justinegeffen
Copy link
Contributor

Summary

Converts all Prerequisites sections from headings to info admonitions across Platform Enterprise documentation (current and version 25.3). This change improves visual consistency and makes prerequisite information more prominent for users.

Changes

  • ✅ Convert 40 files from ## Prerequisites headings to :::info[**Prerequisites**] admonitions
  • ✅ Add HTML anchors (<a id="prerequisites"></a>) to preserve backward compatibility for internal links
  • ✅ Apply changes to both current docs and versioned docs (25.3)

Files Updated

Installation Documentation

  • Platform installation (Helm, Kubernetes, Docker Compose)
  • Studios installation (Helm, Kubernetes, Docker Compose, SSH)
  • Groundswell installation (Helm, Kubernetes, Docker Compose)

Authentication Provider Documentation

  • Email, Entra ID, GitHub, Google, Keycloak, Okta

Advanced Topics

  • Manual Azure Batch setup

Before & After

Before:

## Prerequisites

You need to have...

After:

<a id="prerequisites"></a>

:::info[**Prerequisites**]
You need to have...
:::

Testing

  • ✅ Built docs locally with npm run build - no errors
  • ✅ Verified in dev server with npm start
  • ✅ Confirmed anchor links work correctly (#prerequisites)
  • ✅ Pre-commit hooks passed

Notes

  • HTML anchors preserve backward compatibility for pages that link to #prerequisites
  • Docusaurus build warnings about broken anchors may appear (static analysis limitation) but navigation works correctly in browser

🤖 Generated with Claude Code

justinegeffen and others added 2 commits February 23, 2026 18:41
Convert all Prerequisites sections from headings to info admonitions
across Platform Enterprise documentation and version 25.3. This provides
better visual consistency and improves the user experience by making
prerequisite information more prominent and accessible.

Changes:
- Convert 40 files from ## Prerequisites headings to :::info admonitions
- Add HTML anchors (<a id="prerequisites"></a>) to preserve backward
  compatibility for internal links
- Apply changes to both current and versioned (25.3) documentation

Files updated:
- Installation docs (Platform, Studios, Groundswell)
- Authentication provider docs (Email, Entra, GitHub, Google, Keycloak, Okta)
- Manual Azure Batch setup documentation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@justinegeffen justinegeffen requested review from a team and llewellyn-sl as code owners February 24, 2026 17:11
@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for seqera-docs ready!

Name Link
🔨 Latest commit 1454085
🔍 Latest deploy log https://app.netlify.com/projects/seqera-docs/deploys/69a19bc20d48e700081583b2
😎 Deploy Preview https://deploy-preview-1154--seqera-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@justinegeffen justinegeffen added 1. Editor review Needs a language review 1. Dev/PM/SME Needs a review by a Dev/PM/SME content-improvement This work improves content editorially or structurally. labels Feb 24, 2026
justinegeffen and others added 3 commits February 24, 2026 19:30
Replace HTML anchors with Markdown heading anchors to resolve Docusaurus
broken anchor warnings. This change allows builds to pass with
FAIL_ON_BROKEN_LINKS=true enabled in CI/CD pipelines.

Change format from:
  <a id="prerequisites"></a>
  :::info[**Prerequisites**]

To:
  :::info
  ## Prerequisites {#prerequisites}

This approach:
- Eliminates broken anchor warnings in Docusaurus builds
- Preserves backward compatibility for #prerequisites links
- Uses native Docusaurus anchor detection
- Allows successful deployment with strict link checking

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replace heading-based anchors with span elements containing IDs inside
the admonition title. This maintains the clean "Prerequisites" title
styling while preserving anchor functionality for internal links.

Format: :::info <span id="prerequisites">**Prerequisites**</span>

This approach provides:
- Clean admonition title (shows "Prerequisites" not "info")
- Working anchor navigation (#prerequisites)
- Build succeeds (warnings only, not errors)
- Compatible with existing internal links

Note: Docusaurus static analyzer shows warnings for span IDs, but
these are non-blocking and the anchors work correctly in browsers.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copy link
Member

@bebosudo bebosudo left a comment

Choose a reason for hiding this comment

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

LGTM!

@christopher-hakkaart
Copy link
Member

Sorry, I think I made a bad suggestion earlier without checking the product. I just had a proper tinker with this and think that a better solution would be to use:

:::tip Prerequisites <span id="prerequisites" />

Then, add the following to the src/custom.css file:

:target {
  scroll-margin-top: 120px;
}

The CSS helps offset anchor targets to account for the fixed header. The fixed fits the page at 100x, but is offset on the mobile site.

I think this will resolve the missing anchors while keeping the "Prerequisites" title clean in the admonition. I would propose this fix and custom css for now, think about a better way to anchor the headings on the mobile nav (regular headings have the same issue) and once resolved, graduate the fix to the Seqera theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Dev/PM/SME Needs a review by a Dev/PM/SME 1. Editor review Needs a language review content-improvement This work improves content editorially or structurally.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants