Skip to content

Commit f8742bf

Browse files
committed
Update README and deployment scripts for improved web access
- Changed the label in the README from "Live Demo" to "View Online" for clarity. - Added a .nojekyll file to the docs directory to disable Jekyll processing, ensuring proper serving of raw markdown files and assets. - Enhanced deployment script to include the creation of the .nojekyll file, facilitating smoother deployment of documentation.
1 parent e2485fc commit f8742bf

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A structured knowledge base with an interactive web interface. Built for efficient learning, quick reference, and interview preparation.
44

5-
**Live Demo:** [haoweichan.github.io/study-notes](https://haoweichan.github.io/study-notes/)
5+
**View Online:** [haoweichan.github.io/study-notes](https://haoweichan.github.io/study-notes/)
66

77
## What's Inside
88

docs/.nojekyll

Whitespace-only changes.

scripts/deploy_web.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ echo "deg Deploying to docs/..."
3535
rm -rf "$DOCS_DIR"/*
3636
cp -r "$WEB_DIR/dist/"* "$DOCS_DIR/"
3737

38+
# 4. Disable Jekyll (Crucial for serving raw .md files and _assets)
39+
touch "$DOCS_DIR/.nojekyll"
40+
3841
echo "✅ Deployment complete! open docs/index.html to test."
3942

4043

0 commit comments

Comments
 (0)