A beautiful, searchable web interface for your AI/ML knowledge base from Russell & Norvig.
1. Install dependencies
pip install mkdocs mkdocs-material
2. Test locally
cd wiki-site
mkdocs serve
Opens at http://localhost:8000
3. Create GitHub repo
ai-ml-wiki4. 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 main
5. Enable GitHub Pages
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: $
publish_dir: ./site
Your 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:
git commit -am "Update page"git pushNo manual build needed!
βcommand not found: mkdocsβ
pip install mkdocs mkdocs-materialLocal site wonβt load
mkdocs serve --dev-addr=0.0.0.0:8000GitHub Pages not working
pip install mkdocs mkdocs-materialmkdocs serveMade with β€οΈ by Jarvis