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
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ jobs:
run: test -f dist/llms.txt && test -f dist/robots.txt && test -f dist/openapi/core-public-read.json

- name: Install a browser for the accessibility audit
run: npx playwright install --with-deps chromium
# The certified runner already owns its system browser dependencies.
# Install the pinned browser as the service user; `--with-deps` would
# request sudo and fail correctly on the non-privileged runner account.
run: npx playwright install chromium

- name: Serve the built site
run: npx astro preview --port 4323 &
Expand Down
5 changes: 3 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// bundled by Starlight: it runs locally in the reader's browser and contacts
// no external service. Nothing on this site loads from a third-party origin.
import { defineConfig } from 'astro/config';
import { unified } from '@astrojs/markdown-remark';
import starlight from '@astrojs/starlight';
import starlightLinksValidator from 'starlight-links-validator';
import rehypeTableScroll from './scripts/rehype-table-scroll.mjs';
Expand All @@ -15,7 +16,7 @@ export default defineConfig({
base: '/docs-core',
trailingSlash: 'ignore',
markdown: {
rehypePlugins: [rehypeTableScroll],
processor: unified({ rehypePlugins: [rehypeTableScroll] }),
},
integrations: [
starlight({
Expand Down Expand Up @@ -89,7 +90,7 @@ export default defineConfig({
{
label: 'Every protocol',
collapsed: true,
autogenerate: { directory: 'protocols/detail' },
items: [{ autogenerate: { directory: 'protocols/detail' } }],
},
],
},
Expand Down
Loading