Skip to content

Repository files navigation

FluxServe website

The FluxServe product website, documentation, deployment guides, and blog. Built with Astro and Starlight; published at https://flx-oss.github.io.

Local development

Use Node.js 24 and npm 10.8.2 or newer.

npm ci
npm run dev

Development imports documentation from the sibling ../FluxServe checkout, including uncommitted documentation edits. To use another checkout:

FLUXSERVE_SOURCE=/absolute/path/to/FluxServe npm run dev

Search indexes are built for production, so use the static preview to test search:

npm run build:local
npm run preview

build:local is a preview only. Do not upload its output to production.

Production build and verification

npm ci
npm run build
npm run check
npm test
npm run preview

Every production build fetches the latest FluxServe main. The resolved commit is used for source attribution and repository-file links; no revision pin needs updating. It does not need a sibling checkout and rejects FLUXSERVE_SOURCE. Generated pages, imported assets, source caches, and build outputs are ignored by Git.

The build validates page titles, descriptions, canonical URLs, local links, heading anchors, assets, sitemap, and search output. Tests cover import failures, URL rewriting, stale-page removal, and blog publication. Blog integration tests create an isolated temporary site and verify that draft articles appear in neither routes nor search.

Browser verification covers responsive navigation, theme selection and persistence, keyboard access, search, and code copying. GPU examples are checked against FluxServe's source definitions; website checks do not execute GPU inference.

Updating documentation

Technical content belongs in FLX-OSS/FluxServe, not this repository.

  1. Edit the Markdown in FluxServe and preview it using npm run dev or npm run build:local.
  2. Merge the documentation changes into FluxServe main.
  3. Run the website’s Build and deploy website workflow manually, or let the next website main push rebuild it.

FluxServe merges do not currently trigger a website build automatically. The deployed site remains a static snapshot until the next successful build. The initial docs cleanup must be merged into FluxServe main before production builds can succeed.

Every Markdown file in FluxServe’s docs/ folder is published automatically, preserving folders and filenames: docs/serving/llada2.1.md becomes /docs/serving/llada2.1/. An index.md becomes its folder’s entry page; docs/index.md is required. Titles come from the first level-one heading and descriptions from the first paragraph. The sidebar follows the folders. Keep internal planning notes outside docs/; there is no website page allowlist.

The importer rewrites links between public docs, copies referenced image/PDF assets, and points other repository-file links to the commit resolved for that build. Missing source files, asset files, and imported-page anchors fail the build. Each imported page links to its exact source revision.

The disposable source cache is under .cache/fluxserve/main. The importer only resets this cache; it never resets the local FluxServe checkout.

Writing a blog post

Create src/content/blog/your-post.md. The filename becomes /blog/your-post/. Use lowercase, hyphenated filenames.

---
title: Your article title
description: A concise summary.
date: 2026-09-07
author: Your name
draft: true
---

Write the article in Markdown, starting with introductory text.
Use level-two headings for sections; the layout supplies the title.

Set draft: false when ready to publish. Drafts are excluded from the blog index, routes, sitemap, and search in all builds. Published posts are ordered newest first. The public blog starts empty; no placeholder posts are shipped.

Deployment

GitHub Pages must use GitHub Actions as its build source. The workflow checks pull requests without deploying and publishes successful main builds; it can also be started manually from Actions. It uses the built-in GitHub token, with Pages write permissions limited to the deployment job.

The canonical origin is https://flx-oss.github.io with no repository-name prefix. No custom domain is configured. To roll back documentation, revert the relevant change in FluxServe main and rebuild the website. Website code can be rolled back by reverting its commit.

Structure

  • fluxserve-docs.json: source repository and shared brand assets.
  • scripts/: Markdown importer and built-site link/metadata validation.
  • src/pages/: custom homepage, blog, and 404; all documentation, including deployment guides, is imported under /docs/.
  • src/components/, src/styles/: shared navigation and FluxServe styling.
  • src/content/blog/: authored blog Markdown.
  • src/content/docs/, public/fluxserve/: generated and untracked.

The site is English-only and publishes one documentation revision at a time. There is no server, CMS, analytics, account system, or runtime dependency on a running FluxServe engine.

About

Homepage for FLUX-OSS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages