My Learning Blog

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/

🚀 Features

📖 How to Use

Adding New Blog Posts

  1. Create a new Markdown file (.md) or Jupyter notebook (.ipynb) in the posts/ directory
  2. Add your content using Markdown or notebook cells
  3. Update _toc.yml to include your new post in the table of contents
  4. 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 here

Local Development

To build and preview the blog locally:

  1. Install dependencies:
    pip install -r requirements.txt
    
  2. Build the book:
    jupyter-book build .
    
  3. Open the generated HTML in your browser:
    # The output will be in _build/html/index.html
    

Configuration

🎨 Customization

You can customize your blog by editing _config.yml:

📝 Writing Tips

🔧 GitHub Actions Workflow

The deployment workflow (.github/workflows/deploy.yml) automatically:

  1. Checks out your code
  2. Sets up Python
  3. Installs dependencies
  4. Builds the Jupyter Book
  5. Deploys to GitHub Pages

Important: Make sure GitHub Pages is enabled in your repository settings and set to deploy from GitHub Actions.

📚 Resources

🤝 Contributing

Feel free to open issues or submit pull requests if you find any problems or have suggestions!