A beautiful, searchable web interface for your AI/ML knowledge base from Russell & Norvig.
1. Install dependencies
pip install mkdocs mkdocs-material2. Test locally
cd wiki-site
mkdocs serveOpens at http://localhost:8000
3. Create GitHub repo
- Go to github.com → New Repository
- Name:
ai-ml-wiki - Make it Public
- Click Create
4. Push code
cd wiki-site
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/ai-ml-wiki.git
git push -u origin main5. Enable GitHub Pages
- Repo Settings → Pages
- Source: Deploy from branch
- Branch: main
- Save
6. Enable auto-deploy
Create .github/workflows/deploy.yml:
name: Deploy Wiki
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- run: pip install mkdocs mkdocs-material
- run: mkdocs build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./siteYour wiki is now live at:
https://YOUR_USERNAME.github.io/ai-ml-wiki
✅ 18 concept pages from Russell & Norvig textbook ✅ Beautiful dark/light theme (Material Design) ✅ Full-text search (works offline too!) ✅ Responsive mobile design ✅ Auto-deploy on every git push
wiki-site/
├── mkdocs.yml # Site config & navigation
├── docs/
│ ├── index.md # Home page
│ ├── concepts/ # Core AI concepts
│ └── references/ # Math & background
├── .gitignore
└── README.md # This file
Once live, just:
- Edit markdown files locally
- Commit:
git commit -am "Update page" - Push:
git push - GitHub Actions auto-deploys (2-3 min)
No manual build needed!
"command not found: mkdocs"
- Run:
pip install mkdocs mkdocs-material - Make sure pip/python3 is in PATH
Local site won't load
- Check you're in wiki-site directory
- Run:
mkdocs serve --dev-addr=0.0.0.0:8000
GitHub Pages not working
- Check Settings → Pages has correct source
- Wait 5 min for first deploy
- Check Actions tab for build logs
- Copy this directory to your machine
- Install mkdocs:
pip install mkdocs mkdocs-material - Test locally:
mkdocs serve - Create GitHub repo
- Push code
- Enable GitHub Pages
- Share your wiki! 🚀
Made with ❤️ by Jarvis