Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Jan 10, 2024
1 parent 4e6c0ba commit 5684a3a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@ This README file describes the tools under the `/tools` directory of the bids-we
1. Clean up, check the newly added files, commit

## Update the Gantt chart of completed BEPs

There are two ways of creating Gantt charts for a BIDS timeline.
First install all Python requirements under `tools/requirements.txt`.
Then, use one of the following two methods:

1. `python -u tools/bep_gantt_html_create` creates a file: `_pages/bids_timeline.html` that you can inspect in your browser.
This file depends on the `tools/timeline.csv` data, which you should keep up to date.
1. `python -u tools/bep_gantt_mermaid_insert` directly inserts code for a "mermaid" Gantt chart into the Get Involved page of the website.
You can inspect how that chart looks by building the website using Jekyll and serving locally.
This code depends on data from the files `beps_completed.yml` files in the `_data` directory.
You should keep that file up to date.

0 comments on commit 5684a3a

Please sign in to comment.