Skip to content

st-1989/study_logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • 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

📖 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
  1. Build the book:
jupyter-book build .
  1. Open the generated HTML in your browser:
# The output will be in _build/html/index.html

Configuration

  • _config.yml: Configure book settings, author, title, repository links, etc.
  • _toc.yml: Define the structure and order of your content
  • requirements.txt: Python dependencies for building the book

🎨 Customization

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.

📝 Writing Tips

  • 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

🔧 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from st-1989/supreme-happiness