Official website for sigMAX developpers
  • JavaScript 53.1%
  • CSS 39.4%
  • Astro 4.7%
  • Makefile 0.8%
  • TypeScript 0.7%
  • Other 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-16 19:37:04 +01:00
.gitea/workflows fix: upgrading with last frontmark version 2026-06-29 20:41:24 +02:00
.vscode "Initial commit from Astro" 2026-06-13 12:44:20 +02:00
fixtures fix: using same skeleton 2026-06-29 02:38:29 +02:00
plugins feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
prompts feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
public docs: explain architecture, runtime and VS Code workflows 2026-11-16 19:37:04 +01:00
scripts feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
src docs: explain architecture, runtime and VS Code workflows 2026-11-16 19:37:04 +01:00
svelte-components feat: new FrontMark version 2026-07-20 01:24:05 +02:00
.dockerignore fix: image versionning and proxy 2026-06-26 15:05:56 +02:00
.gitignore feat: new version of frontmark 2026-06-30 18:55:06 +02:00
astro.config.mjs feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
Dockerfile feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
Makefile feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
package-lock.json feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
package.json feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
README.md feat: clarify sigMAX architecture and upgrade documentation engine 2026-11-16 17:58:43 +01:00
REVIEW_SITE.md feat: refresh sigMAX documentation, editions and branding 2026-11-04 01:48:37 +01:00
site.config.yaml docs: explain architecture, runtime and VS Code workflows 2026-11-16 19:37:04 +01:00
svelte.config.js feat: first prepared website structure 2026-06-13 13:54:34 +02:00
tsconfig.json "Initial commit from Astro" 2026-06-13 12:44:20 +02:00
VERSION feat: new frontmark version 2026-06-30 03:31:09 +02:00

Website

Astro website with Starlight documentation and a local compatibility layer for MkDocs Material-style Markdown.

Project Structure

The project is an Astro site with Starlight documentation, Svelte islands, lightweight server endpoints and one central configuration file.

/
├── site.config.yaml
├── public/
├── src/
│   └── pages/
│       └── index.astro
└── package.json

Structural site settings live in site.config.yaml: base path, public URL, site name, theme mode, menus, Git repository and SEO defaults.

Usage

make is the supported entry point for day-to-day usage. Run every command from the project root.

Command Action
make Show available tasks
make install Install dependencies
make dev Start the Astro development server
make build Generate tags and build the site to dist/
make preview Build and preview the production site
make rebuild Clean generated artifacts, then build
make clean Remove generated build/runtime artifacts
make image Build the Docker image
make image_run Run the Docker image for local testing
make image_stop Stop the local Docker test container
make tags Rebuild the generated tag index
make status Show the repository Git status
make astro ARGS="-- --help" Run the Astro CLI through the Makefile
make import MKDOCS=/path/site Import a MkDocs site, then rebuild tags
make import_test Verify the MkDocs Material importer
make upgrade Upgrade FrontMark core code from reference

The npm scripts remain implementation details used by the Makefile.

MkDocs Material Import

make import MKDOCS=/path/site reads mkdocs.yml or mkdocs.yaml, imports Markdown pages from docs_dir, copies documents/, images/ and videos/, skips tags.md, overrides/, js/ and css/, and updates site.config.yaml with site metadata, logo/language and the sidebar menu derived from nav.

The importer respects include_dir_to_nav sorting options:

plugins:
  - include_dir_to_nav:
      reverse_sort_file: true
      reverse_sort_directory: true

MkDocs Material theme internals, palettes, features, plugins, markdown extensions and extra JavaScript/CSS are not migrated; FrontMark owns those layers.

FrontMark Upgrade

make upgrade updates the FrontMark engine from the reference repository:

make upgrade

It clones https://gitea.newkube.ia86.cc/sigMAX/Image_frontmark, overlays core code, refreshes the Makefile and bundled themes, then runs npm install by default. Docker image identity and version-major settings are preserved.

Protected project files include src/content/, src/imported/, brand and media assets, favicons, public/styles/overrides.css and public/styles/astro-overrides.css. Generated output, dist/, .astro/ and node_modules/ are not overlaid. The upgrade merges missing configuration options and reference theme definitions into site.config.yaml; review its dry-run before accepting those changes. Existing local values are retained by the missing-option merge. The legacy administration migration removes obsolete CMS configuration and routes while preserving admin.DefaultBucket.

Useful options:

make upgrade UPGRADE_DRY_RUN=1 UPGRADE_INSTALL=0
make upgrade UPGRADE_REF=main
make upgrade UPGRADE_INSTALL=0
make upgrade UPGRADE_REPO=https://example.test/FrontMark.git

The Docker image defaults to frontmark-website:local, and make image_run exposes the container on http://127.0.0.1:4321. Override the usual Make variables when needed:

make image IMAGE=frontmark-website:test
make image_run IMAGE=frontmark-website:test PORT=4325
make image_stop

CI/CD pipelines can also run a plain docker build -t image-name .; the Dockerfile computes the version tag from Git during the build and stores it in VERSION for the runtime image.

Site Configuration

To build the site under a prefix, change site.base in site.config.yaml:

site:
  base: /frontmark

Use an empty site.base to publish at the domain root:

site:
  base: ""

Then run make build. Set SITE_CONFIG_FILE=/path/to/site.config.yaml when the runtime config is mounted outside the project directory.

Engine provenance and administration

The engine was updated from official FrontMark commit 5697ce8ecfccf09abd0663ff718068519e4fc6a2. Site content, branding and CSS overrides were preserved. Generic configuration additions were excluded from this update; only the obsolete administration settings were migrated.

Sveltia and its /admin routes are removed. admin.DefaultBucket is an optional AssetManager working-bucket name; an empty value selects no bucket and does not affect site generation. It is not a web administration endpoint. Existing project content and uploads are retained.