Class DocFXTOC
A TOC for DocFX. Currently only simple, one level TOCs are implemented.
Implements
Inherited Members
Namespace: UnityEditor.PackageManager.DocumentationTools.UI
Assembly: Unity.PackageManagerDocTools.Editor.dll
Syntax
public class DocFXTOC : List<TOCItem>, IList<TOCItem>, ICollection<TOCItem>, IReadOnlyList<TOCItem>, IReadOnlyCollection<TOCItem>, IEnumerable<TOCItem>, IList, ICollection, IEnumerable
Methods
| Name | Description |
|---|---|
| AddAfter(string, TOCItem) | Adds a new TOC entry after an existing entry. |
| AddBefore(string, TOCItem) | Adds a new TOC entry before an existing entry. |
| AddChild(string, TOCItem) | |
| AddItem(TOCItem, int) | Add a toc item after the item with the specified name. Currently only simple, one-level TOCs are implemented. |
| FindIndexForEntry(string) | Finds the index of a TOC entry given its href field. |
| ToString() | |
| WriteTOC(string) |