Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DocFx Toc GeneratorNew to Visual Studio Code? Get it now.
DocFx Toc Generator

DocFx Toc Generator

MomoNet

|
2,251 installs
| (0) | Free
Generates a Table of Contents (TOC) in YAML format for DocFX. This extension is an implementation of [TocDocFxCreation](https://github.com/Ellerbach/docfx-companion-tools) in Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DocFx Toc Generator for Visual Studio Code

Generate DocFx Toc directly from VS Code. Simply right click on a folder and select "Generate YAML Toc".

DocFx Toc Generator for Visual Studio Code Demo

Work in Progress

  • Support various sorting options. Currently, it's hardcoded to sort by file name in reverse.
  • Toc for sub directories recursively.

Requirements

The extension is only activated if there is a docfx.json file in the active workspace.

Extension Settings

  • docFxToc.orderBy: ascending/descending

Release Notes

0.0.1

  • Initial release.

0.0.2

  • Refactoring to support different sorting strategies.

0.0.3

    • Added support to configure sorting ascending or descending.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft