Skip to content

SoftLaneIT/serviceforge-io

Repository files navigation

ServiceForge Documentation

ServiceForge Documentation is the public docs site for the ServiceForge platform. It is a statically exported Next.js app that renders Markdown content from the content/guide folder and is deployed to GitHub Pages.

Live site: https://softlaneit.github.io/serviceforge-io/

Source repository: https://github.com/SoftLaneIT/serviceforge.git

What This Site Covers

The site is organized around the core ServiceForge product flows:

  • Introduction to the platform and its service map
  • Quick start walkthrough for standing up the stack locally
  • API reference for the management, booking, and config services
  • Configuration module documentation for tenant-scoped behavior
  • Booking policy rules and enforcement order
  • TypeScript integration examples for consumers
  • Developer guide for local development and contribution patterns
  • Self-hosting and on-prem deployment notes

Tech Stack

  • Next.js 16 App Router
  • TypeScript
  • Markdown content authored in content/guide/*.md
  • gray-matter, remark, remark-gfm, and remark-html for content parsing
  • GitHub Actions for build and GitHub Pages deployment

Local Development

Install dependencies

npm install

Start the dev server

npm run dev

Open http://localhost:3000 to view the site.

Build the static site

npm run build

The production build exports the site to out/ so it can be hosted on GitHub Pages.

Lint the codebase

npm run lint

Content Structure

Documentation pages live in content/guide/ and are rendered from Markdown files.

File Purpose
introduction.md Platform overview and architecture
quick-start.md Local setup and first booking walkthrough
api-reference.md REST endpoint documentation
config-modules.md Full module field reference
booking-policy.md Booking validation and enforcement rules
typescript-integration.md Client integration examples
developer-guide.md Development and contribution notes
on-prem.md Self-hosting and deployment guidance

Routing

  • / redirects to /introduction
  • /[slug] renders the matching Markdown file from content/guide
  • Navigation is generated from the Markdown front matter and ordering metadata

Deployment

This repository is configured for GitHub Pages with a static export.

  1. next.config.ts enables output: "export" and the project base path.
  2. .github/workflows/deploy.yml builds on every push to main.
  3. public/.nojekyll prevents GitHub Pages from stripping Next.js assets.

If you want to redeploy manually, push to main and GitHub Actions will publish the updated out/ directory automatically.

Repository Layout

content/guide/   Markdown docs that power the site
public/          Static assets and GitHub Pages marker files
src/app/         Next.js App Router pages and shared layout
src/lib/         Markdown and content loading helpers
.github/workflows GitHub Pages deployment workflow

Contributing

Keep changes focused on the documentation experience and content structure. When adding a new guide page, update the front matter so it appears in the sidebar in the correct order.

Releases

No releases published

Packages

 
 
 

Contributors