Skip to content

Commit 904167c

Browse files
committed
feat: Add awesome GitHub Pages site with modern Jekyll setup
- Beautiful homepage with gradient hero section and feature grid - Comprehensive examples page showcasing SigmOS capabilities - Custom styling with responsive design and syntax highlighting - Automated GitHub Actions deployment workflow - SEO optimized with proper meta tags and sitemap
1 parent e5b5607 commit 904167c

File tree

6 files changed

+734
-0
lines changed

6 files changed

+734
-0
lines changed

.github/workflows/pages.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: '3.1'
28+
bundler-cache: true
29+
cache-version: 0
30+
31+
- name: Setup Pages
32+
id: pages
33+
uses: actions/configure-pages@v4
34+
35+
- name: Build with Jekyll
36+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
37+
env:
38+
JEKYLL_ENV: production
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
43+
deploy:
44+
environment:
45+
name: github-pages
46+
url: ${{ steps.deployment.outputs.page_url }}
47+
runs-on: ubuntu-latest
48+
needs: build
49+
steps:
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v4

Gemfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.3.0"
4+
gem "minima", "~> 2.5"
5+
6+
group :jekyll_plugins do
7+
gem "jekyll-feed", "~> 0.12"
8+
gem "jekyll-sitemap"
9+
gem "jekyll-seo-tag"
10+
end
11+
12+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
13+
# and associated library.
14+
platforms :mingw, :x64_mingw, :mswin, :jruby do
15+
gem "tzinfo", ">= 1", "< 3"
16+
gem "tzinfo-data"
17+
end
18+
19+
# Performance-booster for watching directories on Windows
20+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
21+
22+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
23+
# do not have a Java counterpart.
24+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

_config.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Site settings
2+
title: "SigmOS"
3+
description: "A next-generation Domain-Specific Language (DSL) designed to define, orchestrate, and execute AI-native, composable, reactive, and multimodal systems."
4+
baseurl: ""
5+
url: "https://copyleftdev.github.io/sigmos"
6+
7+
# Build settings
8+
markdown: kramdown
9+
highlighter: rouge
10+
theme: minima
11+
plugins:
12+
- jekyll-feed
13+
- jekyll-sitemap
14+
- jekyll-seo-tag
15+
16+
# Navigation
17+
header_pages:
18+
- index.md
19+
- docs/user-guide.md
20+
- docs/developer-guide.md
21+
- docs/api-reference.md
22+
- examples.md
23+
24+
# GitHub
25+
github_username: copyleftdev
26+
repository: copyleftdev/sigmos
27+
28+
# SEO
29+
author: "Lead Sigma"
30+
twitter:
31+
username: copyleftdev
32+
card: summary_large_image
33+
34+
# Collections
35+
collections:
36+
examples:
37+
output: true
38+
permalink: /:collection/:name/
39+
40+
# Defaults
41+
defaults:
42+
- scope:
43+
path: ""
44+
type: "posts"
45+
values:
46+
layout: "post"
47+
- scope:
48+
path: ""
49+
type: "examples"
50+
values:
51+
layout: "example"
52+
53+
# Syntax highlighting
54+
kramdown:
55+
syntax_highlighter: rouge
56+
syntax_highlighter_opts:
57+
css_class: 'highlight'
58+
span:
59+
line_numbers: false
60+
block:
61+
line_numbers: true
62+
63+
# Exclude from processing
64+
exclude:
65+
- Gemfile
66+
- Gemfile.lock
67+
- node_modules
68+
- vendor/bundle/
69+
- vendor/cache/
70+
- vendor/gems/
71+
- vendor/ruby/
72+
- target/
73+
- crates/
74+
- src/
75+
- tests/
76+
- Cargo.toml
77+
- Cargo.lock

0 commit comments

Comments
 (0)