Skip to content

Commit 9d8973d

Browse files
authored
Merge pull request #75 from Prescott-Data/feat/doc-site-update
Feat/doc site update
2 parents cbd3730 + 8d1a970 commit 9d8973d

6 files changed

Lines changed: 45 additions & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
REGISTRY: ghcr.io
1111
IMAGE_NAME_BROKER: Prescott-Data/nexus-broker
1212
IMAGE_NAME_GATEWAY: Prescott-Data/nexus-gateway
13+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1314

1415
jobs:
1516
build-and-push:

.github/workflows/docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- feat/doc-site-update
78
paths:
89
- 'docs/**'
910
- 'mkdocs.yml'
@@ -15,6 +16,9 @@ permissions:
1516
pages: write # deploy to GitHub Pages
1617
id-token: write # OIDC token for Pages deployment
1718

19+
env:
20+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
21+
1822
concurrency:
1923
group: pages
2024
cancel-in-progress: false
@@ -39,11 +43,15 @@ jobs:
3943
run: mkdocs build --clean
4044

4145
- name: Upload Pages artifact
46+
# Only upload artifact when on main (Pages deploy only runs from main)
47+
if: github.ref == 'refs/heads/main'
4248
uses: actions/upload-pages-artifact@v3
4349
with:
4450
path: site/
4551

4652
deploy:
53+
# Only deploy to GitHub Pages from main
54+
if: github.ref == 'refs/heads/main'
4755
needs: build
4856
runs-on: ubuntu-latest
4957
environment:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
permissions:
2020
contents: write
2121

22+
env:
23+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
24+
2225
jobs:
2326
release:
2427
runs-on: ubuntu-latest

docs/overrides/.gitkeep

Whitespace-only changes.

docs/stylesheets/extra.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,38 @@ body,
772772
}
773773

774774

775+
/* ============================================================
776+
HIDE MATERIAL'S BUILT-IN GLOBE / EXTERNAL-LINK ICON
777+
Material injects an inline <svg> globe on every nav link
778+
pointing to an external URL — sidebar items AND TOC headings.
779+
We already have purpose-built ::before icons for the three
780+
Home links (Website, Community, Blog), so suppress the
781+
auto-injected globe everywhere else.
782+
============================================================ */
783+
784+
/* Left sidebar — primary nav tree */
785+
.md-nav--primary .md-nav__link > svg.md-icon,
786+
.md-nav--primary .md-nav__link > .md-ellipsis > svg.md-icon {
787+
display: none !important;
788+
}
789+
790+
/* Right sidebar — table of contents */
791+
.md-nav--secondary .md-nav__link > svg.md-icon,
792+
.md-nav--secondary .md-nav__link > .md-ellipsis > svg.md-icon {
793+
display: none !important;
794+
}
795+
796+
/* Mobile drawer */
797+
.md-nav--integrated .md-nav__link > svg.md-icon {
798+
display: none !important;
799+
}
800+
801+
/* Broad catch-all for any remaining injected SVG globe in sidebars */
802+
.md-sidebar .md-nav__link > svg[viewBox] {
803+
display: none !important;
804+
}
805+
806+
775807
/* ============================================================
776808
LEFT SIDEBAR — premium redesign
777809
============================================================ */

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
site_name: Nexus
22
site_description: Provider-agnostic credential brokering for autonomous agents. Built by Prescott Data.
3-
site_url: https://prescott-data.github.io/nexus-framework/
3+
site_url: https://nexus.developers.prescottdata.io/
44
repo_url: https://github.com/Prescott-Data/nexus-framework
55
repo_name: Prescott-Data/nexus-framework
66
edit_uri: edit/main/docs/

0 commit comments

Comments
 (0)