WCRP-CMIP / WGCM_Infrastructure_Panel

Open repository for the WCRP WGCM Infrastructure Panel (WIP)
https://WCRP-CMIP.github.io/WGCM_Infrastructure_Panel
2 stars 1 forks source link

Configure WIP Web pages using Jekyll #14

Closed matthew-mizielinski closed 3 years ago

matthew-mizielinski commented 3 years ago

Following some experimentation I've worked out how to set up a Jekyll configuration to allow the extension of the current site. This issue will cover an initial pull request with a modified layout and guidance on how to develop this using Jekyll.

At 0dc7ae8 this repo has a minimal _config.yml configuration file, a set of markdown pages and documents. This will be extended with a new layout, based on the existing minimal Jekyll theme and I'll add a set of CMIP6 links for starters

matthew-mizielinski commented 3 years ago

Added information on the Wiki here on how to set up a conda environment to work with the content. Will push branch to the repo tomorrow

matthew-mizielinski commented 3 years ago

Following the issues noted by @durack1 in the comments in #15 with the deployment I've worked out what the issues was -- all the jekyll files need to be within the /docs folder as this is where the web service picks up everything. Without this the pages could not be rendered due to an un-resolvable link.

I've had a tinker with my own sandbox site and worked the problem through. I've merged #17 and the deployed website looks good as far as I can see.

matthew-mizielinski commented 3 years ago

The web pages are all up now at https://wcrp-cmip.github.io/WGCM_Infrastructure_Panel/ ready for further updates.

Please re-open this issue if I've missed something

durack1 commented 3 years ago

@matthew-mizielinski yep, looks great, thanks again for pushing on this!