Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uvads.github.io

Source for https://uvads.github.io/ — a Jekyll site using the Just the Docs theme.

Layout

Jekyll builds from the repository root; page content lives in docs/.

_config.yml         # site + theme configuration
docs/               # page source, one file per left-nav entry
  index.md          # home page (permalink: /)
  storage.md
  databases.md
  *.md              # the rest are redirect stubs to guides in other repos
.github/workflows/
  jekyll-gh-pages.yml   # builds and deploys on every push to main

There is no Gemfile and nothing to install. GitHub builds the site with its own pinned github-pages gem bundle, which already includes every plugin listed in _config.yml.

The theme is loaded with remote_theme in _config.yml, so its CSS and JS come from the upstream repo at build time. Upgrading is a one-line change: bump the version tag on the remote_theme: line.

Adding a page

Create a Markdown file in docs/ with Just the Docs front matter:

---
title: Git Basics
layout: default
nav_order: 3
---

nav_order controls the position in the left-hand nav. The nav mirrors the Systems Essentials list on the home page, so 1 through 9 are already taken: Home, Managing Your Environment, Git Basics, Compute Resources, Storage, Working with Databases, Using and Building Containers, Workflow Orchestration, Streaming Data. For a section with child pages, see Navigation structure.

Topics whose guide lives in another repo get a stub page here that holds the nav position and forwards to the real site. The theme can only render external links after all local pages, so a stub is the only way to keep one topic order across the nav and the home page.

Pages under docs/ are published at /docs/<name>.html. The home page is the exception, since its permalink: / front matter moves it to the site root.

Publishing

Push to main. The .github/workflows/jekyll-gh-pages.yml workflow builds and deploys on every push, and the repository's Settings → Pages source must be set to GitHub Actions (not a branch and folder) for it to publish.

There is no local preview step, so the Actions run is the build. To watch it:

gh run watch

A push usually takes two to three minutes to appear on the live site.

About

Base UVADS site repo.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors