A blog built with Jupyter Book to document what I learn. This blog is automatically deployed to GitHub Pages using GitHub Actions.
https://st-1989.github.io/study_logs/
- Jupyter Book: Create beautiful, publication-quality content
- Automatic Deployment: GitHub Actions automatically builds and deploys on every push
- Markdown & Notebooks: Write content in Markdown or Jupyter notebooks
- GitHub Pages: Free hosting directly from this repository
- Create a new Markdown file (
.md) or Jupyter notebook (.ipynb) in theposts/directory - Add your content using Markdown or notebook cells
- Update
_toc.ymlto include your new post in the table of contents - Commit and push your changes - GitHub Actions will automatically build and deploy!
Example entry in _toc.yml:
chapters:
- file: posts/welcome
- file: posts/first-blog-post
- file: posts/your-new-post # Add your new post hereTo build and preview the blog locally:
- Install dependencies:
pip install -r requirements.txt- Build the book:
jupyter-book build .- Open the generated HTML in your browser:
# The output will be in _build/html/index.html_config.yml: Configure book settings, author, title, repository links, etc._toc.yml: Define the structure and order of your contentrequirements.txt: Python dependencies for building the book
You can customize your blog by editing _config.yml:
- Change the title and author
- Modify the theme settings
- Add or remove features like comments, repository buttons, etc.
- Use Markdown for text-heavy posts
- Use Jupyter notebooks when you want to include executable code and visualizations
- Add images by placing them in an
images/folder and referencing them in your content - Use MyST Markdown extensions for advanced features like admonitions, tabs, and more
The deployment workflow (.github/workflows/deploy.yml) automatically:
- Checks out your code
- Sets up Python
- Installs dependencies
- Builds the Jupyter Book
- Deploys to GitHub Pages
Important: Make sure GitHub Pages is enabled in your repository settings and set to deploy from GitHub Actions.
Feel free to open issues or submit pull requests if you find any problems or have suggestions!