Thank you for your interest in contributing to this book!
If you're working on content for this book:
-
Create a new branch for your work:
git checkout -b chapter/your-topic
-
Edit or create
.qmdfiles for your chapter -
Preview your changes locally:
quarto preview
-
Commit your changes:
git add . git commit -m "Add chapter on your topic"
-
Push and create a pull request:
git push origin chapter/your-topic
- Use clear, concise language
- Include code examples where appropriate
- Add references to
references.bibfor any citations - Use appropriate headings (h2
##for main sections, h3###for subsections) - Include images in an
images/orfigures/directory - Test code examples to ensure they work
- Use bold for emphasis on terms
- Use
codeformatting for inline code, file names, and commands - Use code blocks with language specification for longer code examples
- Use callout boxes for important information:
::: {.callout-note} Important information here :::
- Place images in the
images/directory - Reference them in your
.qmdfile:{#fig-label}
When adding external links to your content, please ensure:
- URLs are valid and reachable - The repository has an automated link checker that runs weekly and on every push/pull request
- Use HTTPS when possible - Prefer secure URLs over HTTP
- Check link stability - Use permanent links (permalinks) when available rather than URLs that might change
The link checker workflow will automatically:
- Check all URLs in
.qmd,.md, and.htmlfiles - Report broken or unreachable links
- Create issues for broken links that need attention
If you need to exclude certain URLs from checking (e.g., example URLs), add them to the lychee.toml configuration file.
If you have manually verified all links in your pull request and want to skip the automated link checker, you can add the links checked by hand label to your PR. This will cause the link checker workflow to skip the check for that specific pull request, while still running on the main branch and scheduled checks.
Add BibTeX entries to references.bib:
@article{authorYEAR,
title={Article Title},
author={Author, First and Author, Second},
journal={Journal Name},
year={2024}
}Then cite in text: @authorYEAR
If you have questions about contributing, please open an issue in the repository.