Skip to content

Commit 47faa14

Browse files
authored
Merge branch 'ep2025' into ep2025-social-subscribe
2 parents 4e14a4e + 5fe48a6 commit 47faa14

Some content is hidden

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

81 files changed

+3073
-1192
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ updates:
33
- package-ecosystem: "npm"
44
directory: "/"
55
schedule:
6-
interval: "weekly"
6+
interval: "monthly"
7+
groups:
8+
react-dependencies:
9+
patterns:
10+
- "react"
11+
- "react-dom"
12+
- "@types/react"
713

814
- package-ecosystem: "github-actions"
915
directory: "/"
1016
schedule:
11-
interval: "weekly"
17+
interval: "monthly"

.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: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import path from "path";
12
import { defineConfig } from "astro/config";
23
import mdx from "@astrojs/mdx";
3-
import { h } from "hastscript";
44
import sitemap from "@astrojs/sitemap";
55
import react from "@astrojs/react";
66
import tailwind from "@astrojs/tailwind";
@@ -9,9 +9,27 @@ import rehypeSlug from "rehype-slug";
99
import rehypeAutolinkHeadings from "rehype-autolink-headings";
1010
import metaTags from "astro-meta-tags";
1111
import pagefind from "astro-pagefind";
12+
import deleteUnusedImages from "astro-delete-unused-images";
1213

1314
// https://astro.build/config
1415
export default defineConfig({
16+
vite: {
17+
define: {
18+
"process.env.VITE_BUILD_TIME": JSON.stringify(new Date().toISOString()),
19+
},
20+
resolve: {
21+
alias: {
22+
"@data": path.resolve("./src/data"),
23+
"@components": path.resolve("./src/components"),
24+
"@sections": path.resolve("./src/components/sections"),
25+
"@layouts": path.resolve("./src/layouts"),
26+
"@ui": path.resolve("./src/components/ui"),
27+
"@assets": path.resolve("./src/assets"),
28+
"@i18n": path.resolve("./src/i18n"),
29+
"@src": path.resolve("./src"),
30+
},
31+
},
32+
},
1533
markdown: {
1634
remarkPlugins: [
1735
[
@@ -26,24 +44,22 @@ export default defineConfig({
2644
[
2745
rehypeAutolinkHeadings,
2846
{
29-
behavior: "append",
30-
content() {
31-
return [h("span.heading-link", "#")];
32-
},
47+
behavior: "wrap",
3348
},
3449
],
3550
],
3651
},
37-
site: "https://ep2025.europython.eu",
52+
site: process.env.SITE_URL || "https://ep2025.europython.eu",
3853
redirects: {
3954
"/c-api-summit/": "/programme/c-api-summit/",
40-
"/programme/cfp/": "/programme/cfp/",
55+
"/cfp/": "/programme/cfp/",
4156
"/planning/": "https://forms.gle/riw6CvML8ck94A4V9",
4257
"/reviewers/": "https://forms.gle/4GTJjwZ1nHBGetM18",
4358
"/rust-summit/": "/programme/rust-summit/",
4459
"/sponsor/": "/sponsorship/sponsor/",
4560
"/voting/": "/programme/voting/",
4661
"/wasm-summit/": "/programme/wasm-summit/",
62+
"/sessions/": "/programme/sessions/",
4763
},
4864
integrations: [
4965
mdx(),
@@ -54,6 +70,13 @@ export default defineConfig({
5470
}),
5571
metaTags(),
5672
pagefind(),
73+
deleteUnusedImages(),
5774
],
5875
output: "static",
76+
build: {
77+
minify: true,
78+
},
79+
experimental: {
80+
svg: true,
81+
},
5982
});

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,31 @@
1313
"dependencies": {
1414
"@astro-community/astro-embed-youtube": "^0.5.6",
1515
"@astrojs/check": "^0.9.4",
16-
"@astrojs/mdx": "^4.2.1",
17-
"@astrojs/react": "^4.2.1",
16+
"@astrojs/mdx": "^4.2.3",
17+
"@astrojs/react": "^4.2.3",
1818
"@astrojs/sitemap": "^3.3.0",
1919
"@astrojs/tailwind": "^5.1.4",
2020
"@fontsource-variable/inter": "^5.1.1",
2121
"@tailwindcss/typography": "^0.5.16",
22-
"@types/react": "^19.0.12",
23-
"@types/react-dom": "^19.0.4",
22+
"@types/react": "^19.1.0",
23+
"@types/react-dom": "^19.1.1",
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",
2829
"date-fns": "^4.1.0",
2930
"date-fns-tz": "^3.2.0",
3031
"hastscript": "^9.0.0",
3132
"pagefind": "^1.3.0",
32-
"react": "^19.0.0",
33-
"react-dom": "^19.0.0",
33+
"react": "^19.1.0",
34+
"react-dom": "^19.1.0",
3435
"rehype-autolink-headings": "^7.1.0",
3536
"rehype-slug": "^6.0.0",
3637
"remark-toc": "^9.0.0",
37-
"sharp": "^0.33.5",
38+
"sharp": "^0.34.0",
3839
"tailwindcss": "^3.4.17",
39-
"typescript": "^5.7.3"
40+
"typescript": "^5.8.3"
4041
},
4142
"devDependencies": {
4243
"prettier": "^3.4.2",

0 commit comments

Comments
 (0)