Skip to content

Notes on GitHub Pages

Anthony Fok edited this page Feb 25, 2021 · 3 revisions

Notes on GitHub Pages related to the OpenDRR Project

(early draft, work-in-progress)

Table of Contents

Structure under https://opendrr.github.io/

There are three types of GitHub Pages sites: project, user, and organization. (from GitHub Docs)
There is a possibility of namespace clashing: but fortunately, as long as we are careful, all these sites can co-exist together nicely, giving the end users a unified experience.

Design

Themes / templates

1. canada-ca/canada-ca-jekyll-boilerplate

Pulls in wet-boew/gcweb-jekyll as a remote theme.

Based on GCWeb [FIXME] * Working examples - Canada.ca

Confused? See What is the difference with the wet-boew/gcweb-jekyll variant? · Issue #1 · canada-ca/canada-ca-jekyll-boilerplate

Demo: https://wet-boew.github.io/gcweb-jekyll/

2. jekyll-info-viz

This is being used because of the added Leaflet integration to display mobile-friendly interactive maps.

This was (sort of) forked from wet-boew/gcweb-jekyll@e0551ba which is extended to create https://opendrr.github.io/data, for example.

Convert research papers from AsciiDoc format to HTML GitHub Pages

https://github.com/OpenDRR/documentation/blob/master/docs/opendrr-platform.adoc

The jekyll-asciidoc to the rescue! It works pretty well! Unfortunately, it is not one of GitHub’s whitelisted plugin, see https://pages.github.com/versions/

Potential solutions: * https://github.com/marketplace/actions/jekyll-actions (Docker) * https://github.com/limjh16/jekyll-action-ts (JavaScript)

Some potential solutions: * asciidoctor-ghpages-action/asciidoctor-ghpages.yml at main · manoelcampos/asciidoctor-ghpages-action * https://go-team.pages.debian.net/, https://salsa.debian.org/go-team/go-team.pages.debian.net (Makefile calling asciidoctor)

Other sample GC websites

Quick references

Jekyll:

Future explorations

Clone this wiki locally