fix: Use minimal article.mdx for initial build
Browse files- Replace Notion content with minimal placeholder
- Notion import will replace this at runtime
- Exclude Notion images from LFS (needed for Docker build)
- .gitattributes +4 -1
- app/src/content/article.default.mdx +18 -0
- app/src/content/article.mdx +0 -0
.gitattributes
CHANGED
|
@@ -11,4 +11,7 @@
|
|
| 11 |
*.json filter=lfs diff=lfs merge=lfs -text
|
| 12 |
# the package and package lock should not be tracked
|
| 13 |
package.json -filter -diff -merge text
|
| 14 |
-
package-lock.json -filter -diff -merge text
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
*.json filter=lfs diff=lfs merge=lfs -text
|
| 12 |
# the package and package lock should not be tracked
|
| 13 |
package.json -filter -diff -merge text
|
| 14 |
+
package-lock.json -filter -diff -merge text
|
| 15 |
+
# Notion imported images should NOT be in LFS (needed for Docker build)
|
| 16 |
+
app/src/content/assets/image/image_27877f1c*.png -filter -diff -merge text
|
| 17 |
+
app/scripts/notion-importer/output/** -filter -diff -merge text
|
app/src/content/article.default.mdx
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: "Loading from Notion..."
|
| 3 |
+
description: "This content will be replaced at container startup"
|
| 4 |
+
published: "2025"
|
| 5 |
+
authors:
|
| 6 |
+
- name: "Author"
|
| 7 |
+
tableOfContentsAutoCollapse: true
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
## Loading
|
| 11 |
+
|
| 12 |
+
This article is being imported from Notion. Please wait a moment...
|
| 13 |
+
|
| 14 |
+
If you're seeing this, the Notion import is either:
|
| 15 |
+
- Still in progress (first startup takes ~5-10 minutes)
|
| 16 |
+
- Disabled (set ENABLE_NOTION_IMPORT=true)
|
| 17 |
+
- Failed (check container logs)
|
| 18 |
+
|
app/src/content/article.mdx
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|