Skip to content

Feat/doc site update#75

Merged
ekizito96 merged 4 commits into
mainfrom
feat/doc-site-update
May 18, 2026
Merged

Feat/doc site update#75
ekizito96 merged 4 commits into
mainfrom
feat/doc-site-update

Conversation

@ekizito96
Copy link
Copy Markdown
Contributor

Pull Request

Description

Fixes the Nexus documentation site (nexus.developers.prescottdata.io) build failure and a visual regression where the globe icon was appearing on every sidebar and table of contents item. Also modernises the CI workflows to opt into Node.js 24 ahead of the GitHub Actions forced cutover on June 2, 2026.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactor

Changes Made

File Summary
mkdocs.yml Updated site_url from the old GitHub Pages URL to the actual deployed domain (nexus.developers.prescottdata.io). This was the root cause of the globe icon appearing on all nav items — Material's instant-navigation JS compared all internal hrefs against the wrong origin and flagged them as external.
docs/overrides/.gitkeep Added sentinel file so Git tracks the empty overrides/ directory. Without this the directory was missing after a fresh CI checkout, causing mkdocs build to abort with custom_dir does not exist.
docs/stylesheets/extra.css Added CSS rules to hide Material's auto-injected svg.md-icon globe from the primary sidebar, TOC sidebar, and mobile drawer. Belt-and-suspenders fix alongside the site_url correction.
.github/workflows/docs.yml Added feat/doc-site-update to the branch trigger list; conditioned the Pages upload/deploy jobs to only run on main so feature branch builds validate without trying to deploy. Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true.
.github/workflows/docker-publish.yml Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true to existing env block.
.github/workflows/release.yml Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true env block.

How to Test

  1. Merge this PR and trigger a deployment to nexus.developers.prescottdata.io
  2. Open any page — sidebar nav items and TOC headings should have no globe icon on internal links
  3. Verify the three intentional external Home links (Website, Community, Blog) still show their custom icons (globe, Discord, RSS)
  4. Confirm the CI Build job passes on this branch without the custom_dir does not exist error
  5. Confirm no Node.js 20 deprecation warnings appear in any workflow run

Migration / Breaking Changes

  • Database migration required
  • No migration required

Note: site_url change affects how MkDocs resolves canonical URLs and sitemap entries. The old GitHub Pages URL (prescott-data.github.io/nexus-framework) is no longer the canonical — ensure any external links or search engine indexing points to nexus.developers.prescottdata.io.

Checklist

  • Commit messages use present tense, imperative mood, ≤72 chars
  • Documentation updated where applicable
  • No secrets or credentials committed
  • Code follows the Go styleguide (gofmt applied) — N/A, no Go changes in this PR

@ekizito96 ekizito96 requested review from Copilot and sangalo20 May 18, 2026 12:08
@ekizito96 ekizito96 merged commit 9d8973d into main May 18, 2026
13 checks passed
@ekizito96 ekizito96 deleted the feat/doc-site-update branch May 18, 2026 12:10
@ekizito96 ekizito96 restored the feat/doc-site-update branch May 18, 2026 12:12
Copy link
Copy Markdown
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 updates the Nexus documentation site configuration and CI workflows to fix a docs build failure/regression (external-link globe icons showing broadly) and to prepare GitHub Actions workflows for the upcoming Node.js 24 runtime cutover.

Changes:

  • Updated MkDocs site_url to the production docs domain.
  • Added CSS to suppress Material’s auto-injected external-link SVG icons in navigation/TOC.
  • Updated GitHub Actions workflows to opt into Node.js 24 for JavaScript-based actions and adjusted docs workflow behavior for non-main builds.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
mkdocs.yml Updates canonical site URL for the deployed documentation site.
docs/stylesheets/extra.css Adds CSS intended to hide Material’s injected external-link globe icons in nav/TOC.
docs/overrides/.gitkeep Adds a sentinel file to keep the docs/overrides/ directory tracked.
.github/workflows/docs.yml Updates docs workflow triggers, deploy gating, and opts into Node.js 24 for JS actions.
.github/workflows/docker-publish.yml Opts Docker publish workflow into Node.js 24 for JS actions.
.github/workflows/release.yml Opts release workflow into Node.js 24 for JS actions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +801 to +806
/* Broad catch-all for any remaining injected SVG globe in sidebars */
.md-sidebar .md-nav__link > svg[viewBox] {
display: none !important;
}


Comment on lines 4 to 8
push:
branches:
- main
- feat/doc-site-update
paths:
Comment on lines 6 to +21
@@ -15,6 +16,9 @@ permissions:
pages: write # deploy to GitHub Pages
id-token: write # OIDC token for Pages deployment

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

Comment thread mkdocs.yml
Comment on lines 1 to 6
site_name: Nexus
site_description: Provider-agnostic credential brokering for autonomous agents. Built by Prescott Data.
site_url: https://prescott-data.github.io/nexus-framework/
site_url: https://nexus.developers.prescottdata.io/
repo_url: https://github.com/Prescott-Data/nexus-framework
repo_name: Prescott-Data/nexus-framework
edit_uri: edit/main/docs/
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