All pages are in Markdown, so consult the Markdown guide for syntax.
Feel free to edit any existing page. We have a slight preference for reference-style links at the top of a page for readability.
When adding a new page please keep in mind a few things.
- All files must be valid Markdown syntax and end in the
.md
extension - Every file needs YAML front matter that looks like this:
---
title: <My new page title>
layout: default # so that the side nav renders on this page
parent: <title of parent page> # puts this page in the side nav
---
- In order to be connected to the side navigation, the file needs a
parent
(see above)- e.g.,
/who_is_ora.md
will build a page athttps://alumni-codex.github.io/who_is_ora/
- e.g.,
- New Directories are welcome!
- The directory needs an
index.md
for this group of related pages - This
index.md
doesn't need a parent, but it needs anav_order: integer
to place it in the Side Nav
- The directory needs an
Please fork the repo for local development. See below re: Pull Requests.
All of the source to this site is in the main
branch directory. This directory and its subdirectories adhere to Jekyll patterns.
Local development is not required, but it can help maintainers get your edits to the web faster.
To set up a local development environment - that is, to allow for live reload and preview of the built HTML - you will need:
- Homebrew (to install a useful Ruby)
- Ruby 3.3.x and Bundler
You will need Ruby 3.3.x and Bundler in order to validate locally.
# Install dependencies
bundle install
# Run the dev server
bundle exec jekyll serve
# Navigate your browser to it
open http://127.0.0.1:4000/
We're using GitHub's PR flow to manage contributions and deal with potential conflicts.
If you're not familiar with how Pull Requests work. Here's the TL/DR.
Once your changes are ready:
- Commit your changes locally
- Push to GitHub
- Create a PR from your fork back to the main
- If necessary, GitHub has this guide
Most PRs will be accepted without fuss. But we do want to keep the site well organized. So we might have some questions and/or suggest pairing before merging.