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: 5 additions & 0 deletions .changeset/pink-teams-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fedimod/fires-docs": patch
---

Improve website workflows
48 changes: 48 additions & 0 deletions .github/workflows/check-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Check Website

on:
pull_request:
paths:
- ".github/workflows/check-website.yml"
- "docs/**"
- "pnpm-lock.json"

push:
branches:
- main
paths:
- ".github/workflows/check-website.yml"
- "docs/**"
- "pnpm-lock.json"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: 22
cache: "pnpm"

- name: Install dependencies
run: pnpm install --filter @fedimod/fires-docs

- name: Check formatting
run: pnpm --filter @fedimod/fires-docs -r format:check
Comment thread Fixed

- name: Check build with VitePress
run: pnpm run --filter @fedimod/fires-docs build
6 changes: 6 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Deploy Website

on:
push:
branches:
- main
paths:
- ".github/workflows/deploy-website.yml"
- "docs/**"
- "pnpm-lock.json"
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@ name: Test Reference Server

on:
pull_request:
paths:
- ".github/workflows/test-server.yml"
- "components/fires-server/**"
- "pnpm-lock.json"
- "Dockerfile"
push:
branches:
- main
paths:
- ".github/workflows/test-server.yml"
- "components/fires-server/**"
- "pnpm-lock.json"
- "Dockerfile"

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand Down
14 changes: 10 additions & 4 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -661,16 +661,22 @@ p + .custom-block.warning {
margin-top: 24px;
}

:is(.vp-external-link-icon, .vp-doc a[href*="://"], .vp-doc a[target="_blank"]):not(.no-icon)::after
{
:is(
.vp-external-link-icon,
.vp-doc a[href*="://"],
.vp-doc a[target="_blank"]
):not(.no-icon)::after {
content: "";
color: inherit;
transition:
color 0.25s,
opacity 0.25s;
}

:is(.vp-external-link-icon, .vp-doc a[href*="://"], .vp-doc a[target="_blank"]):not(.no-icon):hover::after
{
:is(
.vp-external-link-icon,
.vp-doc a[href*="://"],
.vp-doc a[target="_blank"]
):not(.no-icon):hover::after {
color: inherit;
}