An introduction to SSH. This repository holds the source code of the webpage that is rendered here. Contributions are welcome (see below)!
This training module is part of an initiative of the HEP Software foundation to build up a full software training curriculum for high energy physics.
Note: This repository has been converted from Jekyll/Carpentries to Jupyter Book.
-
Install dependencies:
pip install -r requirements.txt
-
Build the book:
jupyter book build . -
View the book: Open
_build/html/index.htmlin your browser, or serve it locally:# Using Python's built-in server cd _build/html python -m http.server 8000
Then navigate to
http://localhost:8000
To clean previous builds and rebuild from scratch:
jupyter book clean .
jupyter book build .intro.md: Landing page with prerequisites01-introduction.mdthrough08-tips.md: Main lesson chapterssetup.md: Setup instructionsreference.md: Quick reference guide_config.yml: Jupyter Book configuration_toc.yml: Table of contents (defines chapter order)fig/: Images and figures
We welcome all contributions to improve the lesson! Maintainers will do their best to help you if you have any questions, concerns, or experience any difficulties along the way.
If you make non-trivial changes (i.e., more than fixing a simple typo), you are eligible to be added to the HSF Training Community page, as well as to the list of contributors below.
- Fork the repository and create a new branch
- Edit the markdown files in the root directory (not in
_episodes/- those are archived) - Test your changes locally using the build instructions above
- Commit your changes with a clear message
- Submit a pull request to the
jupyterbookbranch
Before committing, install the pre-commit hooks:
pip3 install pre-commit
pre-commit installThis will check for:
- Large files
- Merge conflicts
- Trailing whitespace
- Spelling errors (using codespell)
- Use MyST Markdown syntax for admonitions, figures, and other rich content
- See the Jupyter Book documentation for formatting options
- Test locally before submitting a PR
- Use the existing chapters as examples for formatting
The book is automatically built and deployed to GitHub Pages via GitHub Actions when changes are pushed to the jupyterbook branch. The workflow is defined in .github/workflows/deploy.yml.
This repository was previously built with Jekyll and the Carpentries template. It has been migrated to Jupyter Book for:
- Better support for modern web technologies
- More flexible content formatting with MyST Markdown
- Improved navigation and search
- Integration with Python/Jupyter ecosystem
Old Jekyll files are archived in _jekyll_archive/ for reference.
Thanks goes to these wonderful people (emoji key) who contributed to the content of the lesson:
Martin Ritter 🖋 |
Michael Eliachevitch 🖋 |
Kilian Lieret 🖋 |
936-BCruz 🖋 |
Even more people contributed to the framework, but they are too many to list!