Follow these steps to create a new workshop website from this template repository:
- Navigate to the SCDS DMDS template repository
- Above the file list, click Use this template
- Select scds as the repository owner
- Give the new repository a name (we try to keep it to a few words and use hyphens to delimit words--e.g. intro-voyant)
- Set the repository visibility to Public
- Click Create repository from template
- Full instructions (from GitHub) here.
- In the new repository, go to Settings > GitHub Pages
- As Source, select main branch
- Do not choose a theme (a theme has already been configured)
- Click save. The URL to your new website will be displayed. It will take the form
https://scds.githib.io/<repository_name>
, whererepository_name
is the name you created in step 4 of the previous section.
- Go to the admin page for the SCDS workshop pages
- Click Add Stream > Web
- Enter the GitHub Pages URL created in previous section (i.e.
https://scds.githib.io/<repository_name>
). Provide a name.
- Enter the workshop name, workshop URL, and contributor name(s) where prompted
assets/docs
- Add any PDFs (slides, worksheets, etc.) that you will either embed or link to in the main text
assets/img
- Add any workshop-specific image(s), including the title image and any images to be shown in the main content
- Keep the logo files, as they may be useful.
data/
- Add any datasets or other files that are required for the workshop.
- Update lines with inline comments beginning with
***
. These include the following variables:
- title (workshop title)
- github_repo_url (GitHub Pages URL from Section 2)
- gh_edit_repository (GitHub repository URL from Section 1)
- ga_tracking (Tracking code from Section 3)
Colour schemes are dictated by the
colour scheme
variable. These schemes are managed here
Content is currently block-commented out with <!--
and -->
at the start and end, respectively. Edit content and replace links as needed.
index.md
- Edit the link to the title image
- Edit the other content
preparation.md
- Edit content and URLs to content (like data)
instructions.md
- Add any specific instructions
- Update URLs to embedded videos, download links, workshop slides, etc.
- If you want to have pages for multiple lessons, you can replace
instructions.md
with multiple pages (e.g.lesson-1.md
andlesson-2.md
, etc.). Each new page will need a unique title and the nav_order variable for these pages (andlearn-more.md
, as well).
learn-more.md
- Add content