This repository contains the Hugo-powered marketing site for the relay-python/relay SDK. It highlights the project’s goals, supported providers, and quick-start snippets so developers can get productive without memorising multiple vendor APIs.
- Install Hugo Extended (v0.125.0 or newer).
- Clone the repository and install dependencies (none beyond Hugo itself).
- Run a local preview server (override the production base URL so assets resolve locally):
The site will be available at http://localhost:1313.
hugo server --buildDrafts --baseURL http://localhost:1313/
content/_index.md– Front-matter driven homepage sections (hero copy, feature cards, provider details, roadmap, etc).layouts/– Base template and homepage layout with custom styling for the Relay brand.static/– Place any static assets (images, downloads) you want published as-is.public/– Generated output; ignored by git because CI builds and deploys it automatically.hugo.toml– Site configuration, metadata, and params consumed by layouts.
Before opening a pull request:
- Read the Developer Guidelines.
- Run
hugo --minifylocally to confirm the site builds without warnings. - Preview the site (
hugo server) and sanity-check layout/content changes.
GitHub Actions (defined in .github/workflows/gh-pages.yml) builds the site with Hugo and publishes the generated HTML to the gh-pages branch. Ensure GitHub Pages is configured to serve from that branch in the repository settings. Pushes to main automatically trigger a deploy.