Skip to content

Notes on GitHub Pages

Anthony Fok edited this page Mar 2, 2021 · 3 revisions

Notes on GitHub Pages related to the OpenDRR Project

(early draft, work-in-progress)

Table of Contents

Informational Architecture (Drafts)

See README.md and PDF files in https://github.com/OpenDRR/opendrr-platform/tree/master/documentation/GitHub-Pages

These were designed by Michael and Joost in around mid-September 2020.

(February 2021 Demo) 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]

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:

Some potential solutions:

Other sample GC websites

Quick references

Jekyll:

Future explorations

Clone this wiki locally