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