Skip to content

Releases

Release 0.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 07:40

Version 0.1.0

Fixed

  • Fixed docFxZip archive naming: Zip archive now uses the original source file name (e.g., inetsoftware.Reporting.dll) instead of the generated docfx.json filename
    • Archive name format: {originalSourceFileName}-docfx.zip (e.g., inetsoftware.Reporting.dll-docfx.zip)
    • Users can override by setting archiveBaseName on the docFxZip task in build.gradle
    • This ensures consistent artifact naming that matches the source assembly

Full Changelog: 0000000...refs/tags/v0.1.0

Release 0.0.9

Choose a tag to compare

@github-actions github-actions released this 28 Nov 07:05

Version 0.0.9

Added

  • Auto-configure dependencies: Plugin now automatically detects custom Docs tasks and makes docfxZip depend on them
  • Plugin automatically hooks docfxZip into preparePublish task if it exists
  • Removes need for build scripts to manually configure dependencies
  • Delegated properties on tasks: Tasks now support setting extension properties directly (e.g., docFx.source = '...', docFx.title = '...')
    • Properties available: source, docsHome, locale, filter, title, companyName, companyUrl, environment, additionalResources
    • This provides seamless access to extension properties from build scripts

Fixed

  • Fixed DocFX detection to check ~/.dotnet/tools/docfx as fallback when docfx is not in PATH
  • Plugin now correctly finds DocFX installed via dotnet tool install -g docfx even when ~/.dotnet/tools is not in PATH
  • Updated isDocfxNativelySupported() and isDocfxInPath() to check ~/.dotnet/tools/docfx location
  • Fixed docFxZip task configuration timing: Moved zip task 'from' configuration to docFx.doLast instead of zipTask.doFirst
    • This ensures _site directory exists before configuring the zip task
    • Matches the original approach in docfx.gradle
    • Proper timing: docFx runs -> docFx.doLast configures zip -> zipTask runs
  • Fixed docFxZip source detection: Task now properly gets source from docFx task's extension after docFx runs
    • Source is correctly detected even when set in msbuild.doLast
    • Task configuration happens at the right time in the execution lifecycle
  • Fixed docFxInfo task: Task now handles missing docfx command gracefully instead of failing the build
    • Logs a warning and continues execution when docfx is not available
    • Allows build scripts to download/install DocFX without blocking the build

Changed

  • BREAKING: Extension renamed from docfx to docFxConfig to match naming convention (capital F)
    • Use docFxConfig { } to configure extension properties
  • BREAKING: Plugin class renamed from DocfxPlugin to DocFxPlugin for consistency
    • Update apply plugin: de.inetsoftware.docfx.DocfxPlugin to de.inetsoftware.docfx.DocFxPlugin
  • BREAKING: All tasks renamed to follow consistent docFx prefix naming schema (capital F):
    • info → docFxInfo - Displays DocFX version information
    • docfx → docFx - Generates documentation (main task)
    • docfxClean → docFxClean - Cleans generated documentation files
    • docfxZip → docFxZip - Packages documentation into zip file
    • This provides consistent naming with capital F and prevents conflicts
  • isDocfxInPath() now returns the actual path to docfx when found (supports both PATH and ~/.dotnet/tools)
  • Plugin uses full path to ~/.dotnet/tools/docfx when found there, ensuring correct execution
  • Plugin follows convention-over-configuration principle for dependency management

Full Changelog: 0000000...refs/tags/v0.0.9

Release 0.0.8

Choose a tag to compare

@github-actions github-actions released this 27 Nov 10:23

Version 0.0.8

Added

  • Native DocFX support: Plugin now automatically detects and uses DocFX installed via dotnet tool install -g docfx when available in PATH
  • Added DocfxExtension.isDocfxNativelySupported() static method to check if DocFX is available in PATH from Gradle scripts
  • Plugin prefers native DocFX installation over extracted zip files to avoid architecture compatibility issues

Fixed

  • Fixed DocFX execution on Linux/macOS by detecting and using correct executable format (docfx.exe, docfx.dll, or native docfx)
  • Fixed docfx.runtimeconfig.json handling to remove includedFrameworks and add framework dependency for framework-dependent execution
  • Added automatic .NET runtime version detection - plugin now detects installed .NET versions and uses appropriate framework version
  • Fixed filter property handling - empty or null filter strings are now properly omitted from docfx.json (prevents FileNotFoundException)
  • Improved executable detection logic to check docfx.deps.json to determine which file format to use

Changed

  • Default filter property changed from empty string "" to null - empty strings are now converted to null to prevent DocFX from trying to load non-existent filter files
  • Plugin now checks PATH for docfx command before falling back to docsHome directory
  • Updated README with documentation for native DocFX installation method

Full Changelog: 0000000...refs/tags/v0.0.8