Source of lucknowai.github.io, the website of Lucknow AI Labs, Chapter 1 of UPAI Labs.
It is a Jekyll site using the Just the Docs theme (version 0.6.2; its files are in _layouts, _includes and _sass). GitHub Pages builds and publishes it automatically from the main branch.
Needs Docker Desktop.
docker compose upOpen http://localhost:4000. Pages rebuild and the browser reloads when you save a file. The first run downloads the gems and takes a few minutes. Stop with Ctrl+C.
Needs Ruby 3.x. On macOS the built-in Ruby is too old, so install one with Homebrew:
brew install ruby
# Apple Silicon Macs:
echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc
# Intel Macs:
# echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc
source ~/.zshrcThen, in this folder:
bundle config set --local path vendor/bundle # keep gems inside the project
bundle install
bundle exec jekyll serve --livereloadOpen http://localhost:4000.
Both options use the github-pages gem, so you get the same Jekyll version and plugins as the live site.
| Path | What it is |
|---|---|
index.md |
Home page |
about.md, research.md, team.md, hackathons.md, faqs.md, contact.md |
Main pages |
get-involved.md, volunteer.md, mentorship.md |
Get involved section |
events/index.md |
Events page (generated from _data/events.yml) |
events/YYYY.md |
One page per year, listed under Events in the menu (generated from _data/events.yml) |
events/YYYY-MM-DD-name.md |
Recap pages for individual events, listed under their year |
projects/index.md |
Projects page (generated from _data/projects.yml) |
projects/name.md |
One page per active project, listed under Projects in the menu |
_data/events.yml |
Every event, in one list |
_data/projects.yml |
Open-source projects |
_includes/lai/ |
Small templates for event cards and labels |
_sass/custom/custom.scss, _sass/color_schemes/lai.scss |
Site styles and colours |
_config.yml |
Site settings, menu links and footer |
-
Open
_data/events.ymland add an entry in date order:- date: "2026-12-12" title: AI Study Jam, session 5 type: study-jam # meetup | workshop | talk | summit | hackathon | paper-reading | study-jam | ama # or a list for mixed events: [workshop, hackathon] format: offline # offline | online | hybrid venue: SRMCEM, Lucknow organisers: Lucknow AI Labs, with AI Community Lucknow link: https://www.commudle.com/communities/upai-labs/events
The Home, Events, Hackathons and year pages pick it up automatically. Upcoming events show on the Home page until their date passes.
First event of a new year? Copy
events/2026.mdtoevents/2027.mdand change the year in it (title, nav_order, permalink, description and the include). The site check fails until the year page exists. -
Optional, after the event: add a recap page at
events/2026-12-12-study-jam-5.md:--- layout: default title: "AI Study Jam, session 5 (Dec 2026)" parent: "2026 events" # the year page it sits under in the menu grand_parent: Events nav_order: -20261212 # minus the date, so the newest events come first in the menu permalink: /events/2026-12-12-study-jam-5/ description: "AI Study Jam session 5 at SRMCEM, 12 December 2026." --- # AI Study Jam, session 5 What happened, who spoke, photos and slides.
Then add
recap: /events/2026-12-12-study-jam-5/to the event in_data/events.yml.
Please write a recap within a week of each event, while the details are fresh.
Edit _data/projects.yml. Projects with commits in the last 12 months go under active; older ones under archived.
Each active project also has a page, so it shows under Projects in the menu. For a new one, set page: /projects/my-project/ in _data/projects.yml and add projects/my-project.md:
---
layout: default
title: "My Project" # must match the name in _data/projects.yml
parent: Projects
nav_order: 10
permalink: /projects/my-project/
description: "My Project, an open-source project by the Lucknow AI Labs community."
---
{% include lai/project.html name="My Project" %}The page content comes from _data/projects.yml, so there is nothing else to keep in sync.
Pages moved to shorter addresses in November 2026. Each page lists its old address under redirect_from, so links shared before then still work.
Every pull request runs Site check: it builds the site with the GitHub Pages gems and checks every internal link and image. Please make sure it passes before merging.
Open an issue or a pull request. Everyone taking part follows our code of conduct. Questions: hello@upailabs.org.