| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains the source files for the SampSharp documentation. The site is built with DocFX, a powerful documentation generator designed for .NET projects.
For Documentation Contributors Only
This guide is intended for people contributing to the SampSharp documentation. If you're looking for SampSharp documentation, visit sampsharp.net.
Install DocFX (one-time setup):
dotnet tool install -g docfxBuild the SampSharp component:
cd sampsharp-src && ./build.sh componentStart the development server:
docfx --serveThe site will be available at http://localhost:8080/
All documentation is written in Markdown in the docs/ folder. For Markdown syntax reference, see the DocFX Markdown Documentation.
Create a new .md file in the appropriate folder under docs/:
Add a YAML frontmatter header to the file:
---
title: Your Page Title
uid: unique-identifier
---Add the file reference to the corresponding toc.yml:
- href: your-page.mddocs/ ├── index.md # Home page (redirects to quick-start) ├── quick-start.md # Quick Start guide ├── getting-started.md # Redirect stub for legacy URL ├── core-concepts/ # ECS pages (linked directly from root TOC) │ ├── index.md # Entity-Component-System overview │ └── ... ├── features/ # Feature pages (linked directly from root TOC) │ └── ... ├── reference/ │ ├── toc.yml # Reference table of contents │ └── ... ├── support/ │ ├── toc.yml # Support table of contents │ └── ... ├── legacy/ # Legacy/deprecated content │ ├── toc.yml │ └── ... └── toc.yml # Main table of contents
| Back | FazBrowse Home | New Git URL |