GreenLight.DX.Docs
25.5.2
See the version list below for details.
dotnet add package GreenLight.DX.Docs --version 25.5.2
NuGet\Install-Package GreenLight.DX.Docs -Version 25.5.2
<PackageReference Include="GreenLight.DX.Docs" Version="25.5.2" />
<PackageVersion Include="GreenLight.DX.Docs" Version="25.5.2" />
<PackageReference Include="GreenLight.DX.Docs" />
paket add GreenLight.DX.Docs --version 25.5.2
#r "nuget: GreenLight.DX.Docs, 25.5.2"
#addin nuget:?package=GreenLight.DX.Docs&version=25.5.2
#tool nuget:?package=GreenLight.DX.Docs&version=25.5.2
UiPath Auto-Documentation Wizard
This UiPath wizard provides a convenient way to automatically generate comprehensive documentation for your UiPath projects and individual workflows. By analyzing your project structure and XAML files, it produces Markdown documentation that can be easily integrated into your project's documentation strategy.
Features
- Automated Project Documentation: Generates documentation for the overall UiPath project, including details parsed from the
project.json
file. - Automated Workflow Documentation: Creates individual Markdown files for each analyzed workflow (
.xaml
file), capturing relevant information. - Customizable Templates: Utilizes user-defined Markdown templates for both project and workflow documentation, allowing for tailored output.
- Configurable Output: Allows specifying the root directory where the generated documentation will be saved.
- Exclusion inhaled: Provides the option to exclude specific paths or directories from the documentation process.
- Integrated Settings: Configuration is managed directly within UiPath Studio's settings, offering a seamless user experience.
Installation
- Download the package from the official UiPath Marketplace or your internal package feed.
- In UiPath Studio, go to
Manage Packages
. - Select "All Packages" or your configured feed and search for "GreenLight.DX.Docs" (or the specific package name).
- Install the package into your UiPath project.
Usage
Once installed, the Auto-Documentation Wizard can be accessed and triggered within UiPath Studio via a dedicated ribbon button.
Upon execution, the wizard will:
- Load the project configuration and settings.
- Identify the XAML files within the project, respecting the configured ignored paths.
- Generate documentation for the project based on the
Project.md
template. - Generate documentation for each included workflow based on the
Workflow.md
template. - Save the generated Markdown files to the specified output directory.
Note: Unfortunately, UiPath's API surface for wizards requires a 'context' to operate on, which results in a prompt before running the wizard to create a new Sequence if no workflow is open within Studio. You must click OK for the wizard to run, but be sure to delete any unnecessary workflows afterwards. If a workflow is open within Studio, this popup will not appear.
Configuration
The wizard's behavior can be configured via the UiPath Studio settings. Look for a settings category related to "GreenLight.DX.Docs" or "DX - Docs". Within this category, you will find the following settings:
- Output Root: Specifies the root folder where the generated documentation Markdown files will be placed. Warning: The entire directory will be recreated every time the documentation process is run.
- Setting Key:
GreenLight.DX.Docs.General.OutputRoot
- Default Value:
Documentation
- Setting Key:
- Ignored Paths: A comma-separated list of paths (relative to the project root) to ignore during the documentation process. Workflows within these paths will not be documented.
- Setting Key:
GreenLight.DX.Docs.General.IgnoredPaths
- Default Value:
.local
- Setting Key:
- Templates Root: Specifies the root folder containing the Markdown templates (
Project.md
andWorkflow.md
) used for generating documentation.- Setting Key:
GreenLight.DX.Docs.General.TemplateRoot
- Default Value:
.docs
- Setting Key:
When the package is first used or the settings are accessed, default template files (Project.md
and Workflow.md
) will be created in the default Templates Root directory if they do not already exist. You can modify these templates to customize the structure and content of your generated documentation.
Template Usage
The documentation generation relies on Markdown templates. Within these templates, specific placeholders or syntax will be used to inject information extracted from the project and workflow files. (Note: The provided code snippets do not detail the exact templating syntax, so this section provides a general description based on the functionality.)
- Project.md: This template is used for the main project documentation file. It would typically include placeholders for project name, description, and potentially a list of workflows.
- Workflow.md: This template is used for each individual workflow documentation file. It would likely include placeholders for the workflow file name, arguments, variables, and potentially details about the activities within the workflow.
Users should refer to any additional documentation or examples provided with the package for the specific syntax and available placeholders within the templates.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
-
net6.0-windows7.0
- Microsoft.CodeAnalysis.Common (>= 4.5.0-2.22527.10)
- Microsoft.CodeAnalysis.CSharp (>= 4.5.0-2.22527.10)
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 4.5.0-2.22527.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.