Skip to content

Prerequisites suggestion#1174

Merged
christopher-hakkaart merged 1 commit intojustine-templatefrom
chris-suggestion
Mar 4, 2026
Merged

Prerequisites suggestion#1174
christopher-hakkaart merged 1 commit intojustine-templatefrom
chris-suggestion

Conversation

@christopher-hakkaart
Copy link
Copy Markdown
Member

  • Make "Prerequisites" the title
  • Add a tag to that it's indexed
  • Add scroll css to the anchor so that it sits above the admonition

@christopher-hakkaart christopher-hakkaart merged commit dad8c14 into justine-template Mar 4, 2026
3 checks passed
@christopher-hakkaart christopher-hakkaart deleted the chris-suggestion branch March 4, 2026 19:45
justinegeffen added a commit that referenced this pull request Mar 4, 2026
#1154)

* Testing Clauded pre-reqs

* docs: Convert Prerequisites sections to admonitions in enterprise docs

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>

* fix: Use heading-based anchors in Prerequisites admonitions

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>

* docs: Use span with id for Prerequisites admonition anchors

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>

* Fixed broken anchor alerts

* Additional fixes

* update preview file

* Suggestion (#1174)

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Chris Hakkaart <chris.hakkaart@seqera.io>
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.

2 participants