Remove symlink setup from dev.sh; content.config.ts uses real paths

This commit is contained in:
brutsalvadi
2026-04-23 22:15:20 +02:00
parent 5207b65e41
commit c6a52c78fd
2 changed files with 2 additions and 15 deletions
+1 -14
View File
@@ -5,22 +5,9 @@ set -e
cd "$(dirname "$0")/.."
ROOT="$(pwd)"
# Symlink wiki pages and stories into the site's content collections
# Ensure content directories exist at repo root
mkdir -p pages stories
mkdir -p site/src/content/entries
LINK="$ROOT/site/src/content/entries/_wiki"
if [ ! -L "$LINK" ]; then
ln -sf "$ROOT/pages" "$LINK"
echo "Linked pages/ → site/src/content/entries/_wiki"
fi
BLOG_LINK="$ROOT/site/src/content/blog"
if [ ! -L "$BLOG_LINK" ]; then
ln -sf "$ROOT/stories" "$BLOG_LINK"
echo "Linked stories/ → site/src/content/blog"
fi
# Start edit sidecar if requested
if [[ "$*" == *"--edit"* ]]; then
echo "Starting edit sidecar on :8001..."