Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/framework-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
name: Static + content checks
runs-on: ubuntu-latest
continue-on-error: true
# Bounds a hung `Install chromium` / apt-get step (observed stuck 30+ min
# with no failure — GitHub's default job timeout is 6 hours) so the run
# fails fast instead of sitting until that default kicks in.
timeout-minutes: 15
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
Expand Down Expand Up @@ -121,6 +125,23 @@ jobs:
working-directory: docs-theme-extras
run: npm ci

# ubuntu-latest resolves apt's default mirror to a region-specific
# azure.archive.ubuntu.com endpoint that has repeatedly gone unreachable
# outright (apt-get update stalls on endless "Ign:" retries instead of
# failing) — same root cause as the timeout guard above. Point apt at
# the direct global mirror before Playwright's installer shells out to
# apt-get, instead of just waiting longer.
- name: Work around flaky azure.archive.ubuntu.com apt mirror
run: |
sudo sed -i 's|azure\.archive\.ubuntu\.com|archive.ubuntu.com|g' \
/etc/apt/sources.list \
/etc/apt/sources.list.d/*.sources \
/etc/apt/apt-mirrors.txt 2>/dev/null || true

- name: Install Playwright browsers
working-directory: docs-theme-extras
run: npx playwright install --with-deps chromium

- name: Run static + content specs
working-directory: docs-theme-extras
env:
Expand Down
63 changes: 0 additions & 63 deletions docs-site/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ h6 {
font-family: 'Open Sans', 'ui-sans-serif', 'system-ui', 'sans-serif', "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.nav-container {
font-family: 'Open Sans', 'ui-sans-serif', 'system-ui', 'sans-serif', "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Test Status Badge - Modern gradient style */
.test-status-badge {
Expand Down Expand Up @@ -214,21 +211,13 @@ h6 {
color: #111827;
background: #f3f4f6;
}
.sidebar-link.sidebar-active-item {
color: #1e40af;
background: #dbeafe;
}
.dark .sidebar-link:not(.sidebar-active-item) {
color: #9ca3af !important;
}
.dark .sidebar-link:not(.sidebar-active-item):hover {
color: #e5e7eb !important;
background: rgba(255,255,255,0.05) !important;
}
.dark .sidebar-link.sidebar-active-item {
color: #c7d2fe !important;
background: rgba(99,102,241,0.1) !important;
}

.dark .sidebar-container {
background-color: #111 !important;
Expand All @@ -248,38 +237,6 @@ h6 {
display: block;
padding-top: 1.5rem;
}
.hextra-tabs-toggle {
cursor: pointer;
padding: 0.5rem;
margin-right: 0.5rem;
font-weight: 500;
border-bottom: 2px solid transparent;
color: #4b5563;
background: none;
border-top: none;
border-left: none;
border-right: none;
transition: color 0.15s, border-color 0.15s;
}
.hextra-tabs-toggle:hover {
color: #000;
border-bottom-color: #d1d5db;
}
.hextra-tabs-toggle[data-state="selected"] {
color: hsl(212, 100%, 45%);
border-bottom-color: hsl(212, 100%, 50%);
}
.dark .hextra-tabs-toggle {
color: #d1d5db;
}
.dark .hextra-tabs-toggle:hover {
color: #fff;
border-bottom-color: #4b5563;
}
.dark .hextra-tabs-toggle[data-state="selected"] {
color: hsl(212, 100%, 60%);
border-bottom-color: hsl(212, 100%, 50%);
}

/* Light/dark image toggling */
.light-only { display: block; }
Expand Down Expand Up @@ -321,26 +278,6 @@ h6 {
}

/* {{< cards >}} shortcode — responsive grid */
.section-cards {
display: grid;
gap: 1rem;
margin-top: 1rem;
grid-template-columns: 1fr;
}

@media (min-width: 640px) {
.section-cards {
grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1024px) {
.section-cards {
grid-template-columns: repeat(var(--section-cards-cols, 3), minmax(0, 1fr));
}
}



/* Spacing between headings and following content. Needed because reuse
shortcode output has no <p> wrapper, so there's no margin-top from
Expand Down
2 changes: 1 addition & 1 deletion docs-site/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/kagent-dev/website-docs

go 1.21

require github.com/solo-io/docs-theme-extras v0.1.25 // indirect
require github.com/solo-io/docs-theme-extras v0.2.0 // indirect
4 changes: 2 additions & 2 deletions docs-site/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/solo-io/docs-theme-extras v0.1.25 h1:9SvHWXlrBxgk3/0NnV+JvkqQ7/rww4daIzdCYtSubVg=
github.com/solo-io/docs-theme-extras v0.1.25/go.mod h1:jjjYu/QoD+vMu30zgcpfEuTEGuJOJWs5qai/K18kltg=
github.com/solo-io/docs-theme-extras v0.2.0 h1:GShYCtM7oUC3UqHOqCPwPzsKe9jKdA1OXC0LVqo+h7w=
github.com/solo-io/docs-theme-extras v0.2.0/go.mod h1:jjjYu/QoD+vMu30zgcpfEuTEGuJOJWs5qai/K18kltg=
Loading