Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:project_reproducibility_guides_with_gh-pages [2025/08/18 10:33] – will | tools:project_reproducibility_guides_with_gh-pages [2025/08/18 10:44] (current) – [Step 4. doc/index.md] will | ||
---|---|---|---|
Line 3: | Line 3: | ||
Let's do reproducible science! We can create a Github Page that goes along with our project repo (our project code on github) that walks others through our project, code, analyses, and how to reproduce or implement all code associated with a given publication. | Let's do reproducible science! We can create a Github Page that goes along with our project repo (our project code on github) that walks others through our project, code, analyses, and how to reproduce or implement all code associated with a given publication. | ||
+ | To uses github' | ||
+ | a minimal documentation setup includes a '' | ||
+ | < | ||
+ | docs/ | ||
+ | _config.yaml | ||
+ | index.md | ||
+ | </ | ||
===== Step 1. make docs/ ===== | ===== Step 1. make docs/ ===== | ||
Line 34: | Line 41: | ||
This file includes all of the text, links, etc. that you want to include on your Project Page! The text you write should comply to and will follow the formatting of Markdown syntax: https:// | This file includes all of the text, links, etc. that you want to include on your Project Page! The text you write should comply to and will follow the formatting of Markdown syntax: https:// | ||
+ | Here's a contrived example | ||
+ | < | ||
+ | # My Project | ||
+ | This project **does amazing things**. Use it like | ||
+ | ```bash | ||
+ | ./ | ||
+ | ./ | ||
+ | ``` | ||
+ | |||
+ | > [!NOTE] | ||
+ | > Watch out for this made up statistical //edge case// | ||
+ | </ | ||
===== Step 5. commit changes ===== | ===== Step 5. commit changes ===== | ||
Line 39: | Line 58: | ||
< | < | ||
git add docs | git add docs | ||
- | git commit -m “initiating Project Page!” #edit the message after -m to your liking | + | git commit -m "initiating Project Page!" |
git push origin main | git push origin main | ||
</ | </ | ||
Line 53: | Line 72: | ||
Your site should be live 8-)! At https:// | Your site should be live 8-)! At https:// | ||
+ | |||
+ | {{: |