docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Documentation

    Example usage Documentation.Instance.Generate("com.unity.ads", "2.0.3"); Documentation.Instance.GenerateRedirect("com.unity.ads", "2.0.3");

    Inheritance
    object
    Documentation
    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 Documentation

    Properties

    Name Description
    Instance

    Methods

    Name Description
    Generate(PackageInfo, string, string)

    Generate the documentation for a single package.

    By default, the documentation folders will be generated in /Users/USER_NAME/Library/Application Support/Unity/Editor/documentation/packages on Mac C:\Users\USER_NAME\AppData\Local\Unity\Editor\documentation\packages on Windows

    GenerateEx(PackageInfo, string, string)

    Generate the documentation for a single package.

    By default, the documentation folders will be generated in /Users/USER_NAME/Library/Application Support/Unity/Editor/documentation/packages on Mac C:\Users\USER_NAME\AppData\Local\Unity\Editor\documentation\packages on Windows

    GenerateMetadata(string, string)

    Generate metadata for a package.

    GenerateOffline(PackageInfo, string, string)

    Generate a static documentation site suitable for offline viewing.

    By default, the documentation folders will be generated in /Users/USER_NAME/Library/Application Support/Unity/Editor/documentation/packages on Mac C:\Users\USER_NAME\AppData\Local\Unity\Editor\documentation\packages on Windows

    GenerateRedirect(string, string, string, string)

    Generate the a site which will redirect to the latest version for a package.

    By default, the documentation folders will be generated in /Users/USER_NAME/Library/Application Support/Unity/Editor/documentation/packages on Mac C:\Users\USER_NAME\AppData\Local\Unity\Editor\documentation\packages on Windows

    ServeDocs(PackageInfo, string, bool, string, bool)
    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)