LNCD

Table of Contents

  • LNCD Home
  • Administration
  • Notebooks
  • Journal Club Presentations
  • Publications
  • Current Projects
  • Completed Projects
  • Current Grants
  • Datasets by Project
  • Brain ROIs and Measures
  • ️Tools And Methods
  • Big Data
  • RA Homepage
  • Recent Changes
  • Maintenance
  • Site Map
  • Random Page
LNCD
Admin » Creating a Reproducibility Guide using Github Pages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:project_reproducibility_guides_with_gh-pages [2025/08/18 10:39] – [Creating a Reproducibility Guide using Github Pages] willtools: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.
  
-A minimal documentation setup includes a ''docs/'' directory with two files: ''_config.yaml'' and ''index.md''+To uses github's built-in support for the [[https://jekyllrb.com/|jekyll static site generator]], 
 +a minimal documentation setup includes a ''docs/'' directory with two files: ''_config.yaml'' and ''index.md''.
 <code> <code>
 docs/ docs/
Line 40: 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://github.com/Manuel83/sample/blob/master/index.md. Here is [[https://github.com/PennLINC/thalamocortical_development/blob/gh-pages/index.md | an example of an index.md file]] that served as one of Valerie’s study reproducibility guides.  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://github.com/Manuel83/sample/blob/master/index.md. Here is [[https://github.com/PennLINC/thalamocortical_development/blob/gh-pages/index.md | an example of an index.md file]] that served as one of Valerie’s study reproducibility guides. 
  
 +Here's a contrived example
 +<code>
 +# My Project
 +This project **does amazing things**. Use it like
 +```bash
 +./01_organize_data.bash
 +./02_run_stats.R
 +```
 +
 +> [!NOTE]
 +> Watch out for this made up statistical //edge case//
 +</code>
 ===== Step 5. commit changes ===== ===== Step 5. commit changes =====
  
Line 45: Line 58:
 <code> <code>
 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!" #edit the message after -m to your liking
 git push origin main git push origin main
 </code> </code>