Skip to content

Support for multiple first level toc files in same directory #7862

Discussion options

You must be logged in to vote

If you want to use webserver1/toc.yml as the top-level TOC, you can do it like this:

{
  "build": {
    "content": [
      {
        "files": [
          "articles/**.md",
          "articles/**/toc.yml",
          "*.md"
        ]
      },
      {
        "files": [
          "toc.yml"
        ],
        "src": "webserver1"
      }
    ],
    "resource": [
      {
        "files": [
          "images/**"
        ]
      }
    ],
    "overwrite": [
      {
        "exclude": [
          "obj/**",
          "_site/**"
        ]
      }
    ],
    "dest": "_site",
    "globalMetadataFiles": [],
    "fileMetadataFiles": [],
    "template": [
      "default"
    ],
    "postProcessors": [],
    

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@chri5topherus
Comment options

Comment options

You must be logged in to vote
1 reply
@chri5topherus
Comment options

Answer selected by chri5topherus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants