Skip to content

Documentation Package Manifest Specification

Official schema for docs.manifest.ygit documentation package manifests.

stable

Overview

Schema
DPMS
Version
v1.0.0
Draft
2020-12
License
MIT
Compatibility
DPMS v1

Properties

NameTypeRequiredDescription
$schemastring (URI)YesCanonical DPMS Version 1 schema URL.
schemaVersionintegerYesSchema major version; must equal 1.
manifestVersionstring (SemVer)YesDPMS Version 1 manifest format version.
documentationobjectYesDocumentation package identity, title, root directory, and default document.
discoveryobjectYesAutomatic discovery rules, file patterns, and extension filters.
structureobjectYesDocumentation logical structure, sections, navigation order, and hierarchy.
versionsobjectNoDocumentation multi-versioning, version list, and release strategy.
customobjectNoVendor-specific and platform extensions.

Example

Minimal docs.manifest.ygit
{
  "$schema": "https://schema.ygit.dev/dpms/v1/docs.manifest.schema.json",
  "schemaVersion": 1,
  "manifestVersion": "1.0.0",
  "documentation": {
    "id": "vib-tools-image-converter",
    "title": "Vib Tools Image Converter Documentation",
    "description": "Official user documentation for Vib Tools Image Converter.",
    "docsRoot": "docs/",
    "defaultDocument": "getting-started/introduction.md",
    "defaultLanguage": "en",
    "status": "published",
    "tags": [
      "image",
      "converter",
      "desktop",
      "windows"
    ]
  },
  "discovery": {
    "enabled": true,
    "recursive": true,
    "include": [
      "**/*.md"
    ],
    "exclude": [
      "assets/**",
      "images/**",
      "drafts/**"
    ],
    "extensions": [
      "md"
    ],
    "ignoreHidden": true,
    "followSymlink": false
  },
  "structure": {
    "autoGenerate": true,
    "sort": "manual",
    "maxDepth": 10,
    "sections": [
      {
        "id": "getting-started",
        "title": "Getting Started",
        "description": "Initial setup and first steps.",
        "icon": "rocket",
        "path": "getting-started/",
        "order": 1,
        "hidden": false,
        "collapsed": false
      }
    ]
  }
}

Downloads

Use the immutable DPMS Version 1 URL in manifests and automation.