Skip to content

Commit 057bd12

Browse files
committed
Merge branch 'main' into feat/docker-template
2 parents a438f82 + 4d8588b commit 057bd12

454 files changed

Lines changed: 35258 additions & 9071 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-plugin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- name: Checkout repo
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949
with:
5050
fetch-depth: 0
5151

@@ -152,7 +152,7 @@ jobs:
152152
with:
153153
workflow: release-production.yml
154154
inputs: '{ "version": "${{ steps.vars.outputs.API_VERSION }}" }'
155-
token: ${{ secrets.WORKFLOW_TRIGGER_PAT }}
155+
token: ${{ secrets.UNRAID_BOT_GITHUB_ADMIN_TOKEN }}
156156

157157
- name: Upload to Cloudflare
158158
if: inputs.RELEASE_CREATED == 'false'

.github/workflows/claude-code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
with:
4242
fetch-depth: 1
4343

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
actions: read # Required for Claude to read CI results on PRs
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
with:
3131
fetch-depth: 1
3232

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Initialize CodeQL
3030
uses: github/codeql-action/init@v3

.github/workflows/create-docusaurus-pr.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,49 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout source repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
path: source-repo
2626

2727
- name: Checkout docs repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929
with:
3030
repository: unraid/docs
3131
path: docs-repo
3232
token: ${{ secrets.DOCS_PAT_UNRAID_BOT }}
3333

34-
- name: Copy updated docs
34+
- name: Copy and process docs
3535
run: |
3636
if [ ! -d "source-repo/api/docs" ]; then
3737
echo "Source directory does not exist!"
3838
exit 1
3939
fi
40+
41+
# Remove old API docs but preserve other folders
4042
rm -rf docs-repo/docs/API/
4143
mkdir -p docs-repo/docs/API
44+
45+
# Copy all markdown files and maintain directory structure
4246
cp -r source-repo/api/docs/public/. docs-repo/docs/API/
47+
48+
# Copy images to Docusaurus static directory
49+
mkdir -p docs-repo/static/img/api
50+
51+
# Copy images from public/images if they exist
52+
if [ -d "source-repo/api/docs/public/images" ]; then
53+
cp -r source-repo/api/docs/public/images/. docs-repo/static/img/api/
54+
fi
55+
56+
# Also copy any images from the parent docs/images directory
57+
if [ -d "source-repo/api/docs/images" ]; then
58+
cp -r source-repo/api/docs/images/. docs-repo/static/img/api/
59+
fi
60+
61+
# Update image paths in markdown files
62+
# Replace relative image paths with absolute paths pointing to /img/api/
63+
find docs-repo/docs/API -name "*.md" -type f -exec sed -i 's|!\[\([^]]*\)\](\./images/\([^)]*\))|![\1](/img/api/\2)|g' {} \;
64+
find docs-repo/docs/API -name "*.md" -type f -exec sed -i 's|!\[\([^]]*\)\](images/\([^)]*\))|![\1](/img/api/\2)|g' {} \;
65+
find docs-repo/docs/API -name "*.md" -type f -exec sed -i 's|!\[\([^]]*\)\](../images/\([^)]*\))|![\1](/img/api/\2)|g' {} \;
4366
- name: Create Pull Request
4467
uses: peter-evans/create-pull-request@v7
4568
with:
@@ -53,7 +76,7 @@ jobs:
5376
Changes were automatically generated from api/docs/* directory.
5477
5578
@coderabbitai ignore
56-
reviewers: ljm42, elibosley, pujitm, mdatelle
79+
reviewers: ljm42, elibosley
5780
branch: update-api-docs
5881
base: main
5982
delete-branch: true

.github/workflows/deploy-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Deploy Storybook
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424

2525
- name: Setup Node.js
2626
uses: actions/setup-node@v4

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
pull-requests: write
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
# Only run release-please on pushes to main
2424
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
2525

@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout repo
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141

4242
- name: Install Node
4343
uses: actions/setup-node@v4
@@ -163,7 +163,7 @@ jobs:
163163
working-directory: api
164164
steps:
165165
- name: Checkout repo
166-
uses: actions/checkout@v4
166+
uses: actions/checkout@v5
167167

168168
- name: Install Node
169169
uses: actions/setup-node@v4
@@ -240,7 +240,7 @@ jobs:
240240
runs-on: ubuntu-latest
241241
steps:
242242
- name: Checkout repo
243-
uses: actions/checkout@v4
243+
uses: actions/checkout@v5
244244

245245
- name: Install Node
246246
uses: actions/setup-node@v4
@@ -298,7 +298,7 @@ jobs:
298298
runs-on: ubuntu-latest
299299
steps:
300300
- name: Checkout repo
301-
uses: actions/checkout@v4
301+
uses: actions/checkout@v5
302302

303303
- name: Create env file
304304
run: |

.github/workflows/test-libvirt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
working-directory: ./libvirt
2323

2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626
with:
2727
submodules: recursive
2828

2929
- uses: actions/setup-python@v5
3030
with:
31-
python-version: "3.13.6"
31+
python-version: "3.13.7"
3232

3333
- name: Cache APT Packages
3434
uses: awalsh128/cache-apt-pkgs-action@v1.5.3
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install pnpm
4545
uses: pnpm/action-setup@v4
4646
with:
47-
version: 10.14.0
47+
version: 10.15.0
4848
run_install: false
4949

5050
- name: Get pnpm store directory

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ typescript
7676
# Github actions
7777
RELEASE_NOTES.md
7878

79+
# Test backups
80+
api/dev/configs/api.json.backup
81+
7982
# Docker Deploy Folder
8083
deploy/*
8184
!deploy/.gitkeep

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{".":"4.12.0"}
1+
{".":"4.18.1"}

0 commit comments

Comments
 (0)