Remove symlink setup from dev.sh; content.config.ts uses real paths
This commit is contained in:
+1
-14
@@ -5,22 +5,9 @@ set -e
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
ROOT="$(pwd)"
|
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 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
|
# Start edit sidecar if requested
|
||||||
if [[ "$*" == *"--edit"* ]]; then
|
if [[ "$*" == *"--edit"* ]]; then
|
||||||
echo "Starting edit sidecar on :8001..."
|
echo "Starting edit sidecar on :8001..."
|
||||||
|
|||||||
+1
-1
Submodule site updated: 2ae78701c2...d4c159dbe0
Reference in New Issue
Block a user