1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 12:32:42 +00:00

Fix Markdown Footnotes and Other Improvements (#173)

* fix some typos in Simplified Chinese translations

* add markdown-it-footnote

* use markdown-it-footnote | fix lint | fix Actions
This commit is contained in:
着火的冰块nya
2025-10-08 22:27:42 +08:00
committed by GitHub
parent 8052bec31a
commit 54c7b125d9
9 changed files with 666 additions and 2704 deletions

View File

@@ -7,7 +7,7 @@ jobs:
build-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Install GraphicsMagick
run: sudo apt install graphicsmagick
@@ -18,13 +18,13 @@ jobs:
sudo apt install ./google-chrome-stable_current_amd64.deb
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
cache: 'npm'
- name: Restore node_modules cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
@@ -32,7 +32,7 @@ jobs:
${{ runner.os }}-node_modules
- name: Restore Asset Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
key: if-cache
path: |
@@ -49,6 +49,11 @@ jobs:
- name: Build site
run: npm run build
- name: Spawn HTTP server
uses: Eun/http-server-action@v1
with:
directory: dist
- name: (EN) Generate PDF from HTML
run: |
google-chrome --headless --print-to-pdf-no-header \
@@ -101,7 +106,7 @@ jobs:
run: ls -la ${{ github.workspace }}/dist
- name: Upload PDFs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: site-pdfs
path: |