Skip to content

Commit 679cfe9

Browse files
chore: streamline documentation setup by removing local server prompt
- Removed the local server prompt from the documentation generation script for a cleaner user experience. - Updated the documentation setup file to eliminate unnecessary instructions for serving docs locally. - Focused on simplifying the documentation generation process while maintaining clarity.
1 parent cd75720 commit 679cfe9

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

DOCUMENTATION_SETUP.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ amber_cli/
4747

4848
# Manual generation
4949
crystal docs --project-name="Amber CLI" --output=docs
50-
51-
# Serve locally
52-
cd docs && python -m http.server 8000
5350
```
5451

5552
### **Automatic Deployment**

scripts/generate_docs.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@ crystal docs \
4040
--canonical-base-url="https://amberframework.github.io/amber_cli/"
4141

4242
echo "✅ Documentation generated successfully in ./docs"
43-
echo ""
44-
45-
# Check if the user wants to serve the docs locally
46-
read -p "🌐 Would you like to serve the documentation locally? (y/N): " -n 1 -r
47-
echo ""
48-
49-
if [[ $REPLY =~ ^[Yy]$ ]]; then
50-
echo "🚀 Starting local server on http://localhost:8000"
51-
echo " Press Ctrl+C to stop"
52-
cd docs && python3 -m http.server 8000 2>/dev/null || python -m http.server 8000
53-
fi
54-
5543
echo ""
5644
echo "🎉 Done! Documentation is ready."
5745
echo " Local files: ./docs/index.html"

0 commit comments

Comments
 (0)