mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-25 22:25:21 +00:00
Updated Wiki content
24
build.sh
24
build.sh
@@ -48,7 +48,6 @@ rsync -av \
|
||||
--exclude='Home.md' \
|
||||
--exclude='.gitignore' \
|
||||
--exclude='infill-analysis' \
|
||||
--exclude='web_extras' \
|
||||
. docs/ 2>/dev/null || {
|
||||
# Fallback: manually copy directories and markdown files
|
||||
echo "Using fallback copy method..."
|
||||
@@ -185,10 +184,27 @@ mkdir -p wiki/assets/stylesheets
|
||||
mkdir -p wiki/assets/images
|
||||
|
||||
# Copy shared assets that complement MkDocs' static site output
|
||||
if [ -f "web_extras/extra.css" ]; then
|
||||
cp "web_extras/extra.css" wiki/assets/stylesheets/extra.css
|
||||
else
|
||||
echo "Warning: web_extras/extra.css not found - skipping"
|
||||
fi
|
||||
|
||||
if [ -f "web_extras/OrcaSlicer.ico" ]; then
|
||||
cp "web_extras/OrcaSlicer.ico" wiki/assets/images/OrcaSlicer.ico
|
||||
else
|
||||
echo "Warning: web_extras/OrcaSlicer.ico not found - skipping"
|
||||
fi
|
||||
|
||||
if [ -f "web_extras/OrcaSlicer.png" ]; then
|
||||
cp "web_extras/OrcaSlicer.png" wiki/assets/images/OrcaSlicer.png
|
||||
else
|
||||
echo "Warning: web_extras/OrcaSlicer.png not found - skipping"
|
||||
fi
|
||||
|
||||
if [ -d "web_extras" ]; then
|
||||
cp "web_extras/*.css" "wiki/assets/stylesheets/"
|
||||
cp "web_extras/*.ico" "wiki/assets/images/"
|
||||
cp "web_extras/*.png" "wiki/assets/images/"
|
||||
mkdir -p wiki/web_extras
|
||||
cp -r web_extras/* wiki/web_extras/ 2>/dev/null || true
|
||||
else
|
||||
echo "Warning: web_extras directory not found - skipping"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user