Skip to main content
Settings
Search
Appearance
Theme Mode
About
Jekyll v3.10.0
Environment Production
Last Build
2026-04-08 03:09 UTC
Current Environment Production
Build Time Apr 08, 03:09
Jekyll v3.10.0
Build env (JEKYLL_ENV) production
Page Location
Page Info
Layout root
Collection none
Path scripts/README.md
URL /scripts/
Theme Skin
SVG Backgrounds
Layer Opacity
0.6
0.04
0.08

Feature index generation script

This folder contains a small utility to generate a consolidated features index page for the site. The script scans sibling repos in the workspace (local mode) or fetches feature metadata from GitHub (remote mode) and generates pages/_about/features/index.md that consolidates features across all repositories.

Supported metadata sources (per repo):

Metadata YAML format:

features:
  - id: FR-0001
    title: "Auto-generated feature list"
    description: "Short description"
    implemented: true
    link: "/path/to/detail"
    tags: [site, automation]
    date: 2025-11-01

Running locally:

# Install script dependencies (PyYAML, pytest for tests)
python3 -m pip install -r scripts/requirements.txt

# Local mode (workspace contains sibling repos):
python3 scripts/generate_features_index.py --mode=local --root=/path/to/repos

Running remotely (GitHub API):

# Requires a token for private repo fetching (or public content is fine):
FEATURES_GITHUB_TOKEN=$GH_TOKEN python3 scripts/generate_features_index.py --mode=remote --owner=bamr87

The script writes to pages/_about/features/index.md by default — make sure the repository has commit access if you plan to have a scheduled GitHub Action commit updates automatically.

Automation idea:

If you’d like, the script can be extended to fetch additional context (issues, PRs, changelog, release tags) or render richer tables, badges and links.

Validator: A minimal validator is available at scripts/validate_features.py. Repositories can add a workflow to run this file during PRs to ensure they publish and maintain good features metadata before changes are merged.