git clone https://github.com/neuroinformatics-unit/software-skills
cd software-skills
pip install -r docs/requirements.txt
rm -rf docs/build
sphinx-build docs/source docs/build
- Add a markdown file to the
docs/source/courses
directory (copying the structure of an existing course) - Add the course to the
toctree
indocs/source/courses/index.md
- Add a card advertising the course in the
Upcoming courses
section ofdocs/source/index.md
, using the syntax e.g.:
::::{grid} 1 2 2 3
:gutter: 3
:::{grid-item-card} {fa}`file-image;sd-text-primary` Date & Time
:link: courses/course-name
:link-type: doc
Course title
+++
Location <br>
Time
:::
- Move the card from
Upcoming courses
toPrevious courses
, and remove the time/location e.g.:
::::{grid} 1 2 2 3
:gutter: 3
:::{grid-item-card} {fa}`file-image;sd-text-primary` Date & Time
:link: courses/course-name
:link-type: doc
Course title
:::