From 385894455724bf372d2e8660c2a926d7b823ef71 Mon Sep 17 00:00:00 2001 From: OrcaSlicerBot Date: Thu, 8 Jan 2026 18:50:05 +0000 Subject: [PATCH] Updated Wiki content --- build.sh | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index f46b0da..811a884 100755 --- a/build.sh +++ b/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