Skip to content

Reduce TOC file amount output #1104

@Lucasharskamp

Description

@Lucasharskamp

I have a simple documentation Sandcastle with 10 assembles (.NET 9) on presentation style Default 2022, along with a bunch of custom pages for sake of proper documentation. (with a layout.content file to organize them)

The whole codebase is documented in detail. As you might expect, that's a lot of pages. Now it's not the pages that are the issue here, but the Table of Contents XML files; many of them are generated to be scoped to a specific page you're visiting. Problem is; I'm hosting the documentation on an Azure Static Web App, and it refuses to load them all in, citing there are way too many files I want to upload.

I've tried fiddling around with the settings (binary TOC, etc.), but regardless, it wants to export thousands of files. For the time being, I've disabled TOC generation for the assemblies.

So either I'm missing something which would allow for the TOC to be wrapped into a single file, or this is something that ought to be added.

Preferred solution:

The TOC should be one file for the entire output file for the entire solution; all namespaces and custom files. Once the user enters a specific page, it simply scopes the tree to the page the user is currently visiting, while using the nodes above the page for the breadcrumb. (Using vanilla JS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions