docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DocFXConfig

    Data structure that contains the DocFX config file in a format that can be easily serialized to json.

    Inheritance
    object
    DocFXConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.PackageManager.DocumentationTools.UI
    Assembly: Unity.PackageManagerDocTools.Editor.dll
    Syntax
    public class DocFXConfig

    Constructors

    Name Description
    DocFXConfig()
    DocFXConfig(string)

    Would create a new config object by reading the file, if only it were implemented.

    DocFXConfig(PackageInfo)

    Makes a config with default settings based on the package info.

    Methods

    Name Description
    AddCSProjectProperties(string, string)
    AddContentToSection(string, string, string[])
    AddContentToSection(string, string, string[], string[])
    AddDllReferences(string, string)
    AddDocFXTemplate(string)
    AddImageFolder(string, string, string[])
    AddToProjSrcFiles(string, string)

    Add a file to the sources for the metadata in the config maps to "metadata.src.files"[] in docfx.json

    AddXrefmapURL(string)
    GetGlobalMetadata()
    MakeDefaultConfig(PackageInfo)

    Factory method to create a config object from a package info.

    SetAllowCompilationErrors(bool)
    SetForceRebuildOption(bool)
    SetGlobalMetadata(string, object)
    SetGlobalNamespace(string)
    SetMemberLayout(string)
    SetNoLangKeywordOption(bool)
    SetTOCEnabled(bool)
    WriteConfig(string)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)