Merge pull request #4 from JonasunderscoreJones/merge-resolver

This commit is contained in:
Jonas_Jones 2025-06-13 14:23:27 +02:00 committed by GitHub
commit 3afdb95576
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 68 additions and 12 deletions

View file

@ -27,17 +27,15 @@ jobs:
- name: install dependencies
run: npm install --frozen-lockfile
working-directory: docusaurus
- name: build project
run: npm run build
working-directory: docusaurus
- name: capture build artifacts
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: docusaurus-artifacts.zip
path: docusaurus/build/
name: docusaurus-build-artifacts.zip
path: build
if-no-files-found: error
- name: cache downloaded dependencies

45
.github/workflows/build-docusaurus.yml vendored Normal file
View file

@ -0,0 +1,45 @@
name: build-sveltekit
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Restore npm cache
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install dependencies
run: npm install --frozen-lockfile
- name: Build Docusaurus site
run: npm run build
- name: capture build artifacts
uses: actions/upload-artifact@v4
with:
name: docusaurus-build-artifacts
path: build
- name: Save npm cache
if: ${{ github.ref_name == github.event.repository.default_branch }}
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "Documentation for the BetterConsoleMC mod"
}
}
}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "Documentation for the McWebServer mod"
}
}
}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "The API is split into two parts, the Simple API and the Advanced API."
}
}
}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "The Advanced API documentation."
}
}
}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "The Simple API documentation."
}
}
}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "Documentation for my random script dump repository"
}
}
}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "Documentation for the Spotify scripts"
}
}
}

View file

@ -7,4 +7,4 @@
"type": "generated-index",
"description": "Documentation for the YetAnotherDiscordChatLink mod"
}
}
}

View file

@ -85,6 +85,19 @@ const config = {
},
// Replace with your project's social card
image: 'img/favicon.png',
metadata: [
{ name: 'author', content: 'Jonas_Jones' },
{ name: 'url', content: 'https://docs.jonasjones.dev/' },
{ name: 'theme-color', content: '#008080' },
{ name: 'twitter:card', content: 'summary' },
{ name: 'twitter:image', content: 'https://docs.jonasjones.dev/img/favicon.png' },
{ property: 'og:title', content: "Jonas_Jones's Homepage" },
{ property: 'og:description', content: "The Home of all creations by Jonas_Jones!" },
{ property: 'og:image', content: 'https://docs.jonasjones.dev/img/favicon.png' },
{ property: 'og:type', content: 'website' },
],
navbar: {
title: 'DOCS.JONASJONES.DEV',
logo: {