Commit 6f369e24 authored by Daniel Thompson-Yvetot's avatar Daniel Thompson-Yvetot
Browse files

add a fix to put the TOC in the right spot

parent 80dfbd45
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -86,6 +86,9 @@ coverage/
*.temp
*.bak

# claude etc.
.claude/

# Lock files (uncomment if you don't want to commit them)
# package-lock.json
# yarn.lock
−175 B (669 KiB)

File changed.

No diff preview for this file type.

−493 B (210 KiB)

File changed.

No diff preview for this file type.

−112 B (331 KiB)

File changed.

No diff preview for this file type.

+54 −0
Original line number Diff line number Diff line
{
  "defaults": {
    "tag_name": "v1.0.0",
    "spec_template": "Spec-template.docx",
    "project_url": "https://example.com/project",
    "output_formats": "all",
    "output_dir": "baseline",
    "metadata": {
      "creator": "ETSI",
      "rights": "Copyright 2025 ETSI"
    }
  },
  "pandoc": {
    "toc_depth": 3,
    "toc_placement": {
      "enabled": true,
      "after_heading": "# Contents",
      "add_newpage": true
    },
    "filters": ["mermaid-filter"],
    "markdown_extensions": "+escaped_line_breaks",
    "extra_args": {
      "docx": [],
      "pdf": [],
      "epub": []
    }
  },
  "image_processing": {
    "convert_svg_to_png": true,
    "copy_images_to_output": true
  },
  "file_patterns": {
    "spec_file_pattern": "(EN).*\\.md",
    "exclude_patterns": ["README.md"]
  },
  "tools": {
    "required": {
      "pandoc": {
        "command": "pandoc",
        "install_hint": "brew install pandoc (macOS) or visit https://pandoc.org/installing.html"
      },
      "mermaid-filter": {
        "command": "mermaid-filter",
        "install_hint": "npm install -g mermaid-filter"
      }
    },
    "optional": {
      "graphicsmagick": {
        "command": "gm",
        "install_hint": "brew install graphicsmagick (macOS) or apt-get install graphicsmagick (Linux)"
      }
    }
  }
}
 No newline at end of file
Loading