Skip to content

Commit 7d335dd

Browse files
authored
Merge branch 'ep2025' into ep2025-sponsor-info-deadlines
2 parents 32d4521 + 254504b commit 7d335dd

Some content is hidden

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

43 files changed

+4887
-2458
lines changed

.github/workflows/rtd-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ on:
33
pull_request_target:
44
types:
55
- opened
6+
workflow_dispatch:
67

78
permissions:
89
pull-requests: write
910

1011
jobs:
1112
documentation-links:
13+
if: github.event.pull_request.head.repo.fork == true
1214
runs-on: ubuntu-latest
1315
timeout-minutes: 10
1416
steps:

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ check:
4343

4444
build:
4545
pnpm build
46-
# NOTE: also let's find a better way to do this :D
47-
find ./dist/_astro/ -iname '*.jpg' -delete
4846

4947
preview: RELEASES_DIR = $(VPS_PREVIEW_PATH)/$(SAFE_BRANCH)/releases
5048
preview: TARGET = $(RELEASES_DIR)/$(TIMESTAMP)

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import rehypeSlug from "rehype-slug";
1111
import rehypeAutolinkHeadings from "rehype-autolink-headings";
1212
import metaTags from "astro-meta-tags";
1313
import pagefind from "astro-pagefind";
14+
import deleteUnusedImages from "astro-delete-unused-images";
1415

1516
const __filename = fileURLToPath(import.meta.url);
1617
const __dirname = dirname(__filename); // @type-check enabled!
@@ -69,6 +70,7 @@ export default defineConfig({
6970
}),
7071
metaTags(),
7172
pagefind(),
73+
deleteUnusedImages(),
7274
],
7375
output: "static",
7476
build: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@types/react": "^19.0.12",
2323
"@types/react-dom": "^19.0.4",
2424
"astro": "^5.1.6",
25+
"astro-delete-unused-images": "^1.0.3",
2526
"astro-meta-tags": "^0.3.1",
2627
"astro-pagefind": "^1.8.1",
2728
"clsx": "^2.1.1",

0 commit comments

Comments
 (0)