The SCRC Docs website contains information related to datasets, the data pipeline, and various other technical documents associated with the SCRC project.
-
ScottishCovidResponse/ScottishCovidResponse.github.io contains website source files.
-
ScottishCovidResponse/hugo_source_files contains Hugo source files
- When pushes are made to this repository, a GitHub actions workflow automatically deploys source files to ScottishCovidResponse/ScottishCovidResponse.github.io
-
ScottishCovidResponse/hugo-book contains Hugo theme files
- This theme is based on the Hugo Book theme, with the search bar from the Jekyll Just the Docs theme, and some extra tweaks
- Forked from RyanJField/hugo-book
It is not necessary to build the site in order to contribute changes, but if you want to see how these will be rendered, you will need to cary out the folowing steps:
- Install
hugo extended
. - Clone this repository
git clone https://github.com/ScottishCovidResponse/hugo_source_files.git
. - Information regarding the directory structure of the website and how make edits to to the template (mostly in markdown) can be found here.
- In the folder that contains this repository run the command
hugo server
. - The website should build locally on http://localhost:1313/.
After pushing to Github, source files should automatically be generated and the website should build online. Alternatively, click on the Edit this page link (at the bottom of each page, next to the pencil) to edit an existing page.. or email a markdown / word document and we'll put it up for you.