Skip to content

fix: improve documentation generation and first-install experience#531

Merged
Mic92 merged 1 commit intomainfrom
doc-fixes
Dec 8, 2025
Merged

fix: improve documentation generation and first-install experience#531
Mic92 merged 1 commit intomainfrom
doc-fixes

Conversation

@Mic92
Copy link
Member

@Mic92 Mic92 commented Dec 8, 2025

Address feedback from issue #529 regarding first-install experience and documentation generation errors when using includeAllModules = true.

The README GitHub example was missing required options like domain, workersFile, and webhookSecretFile. Users had to examine test files to understand the workers.json format. This adds the missing options and documents the JSON format inline.

Several options referenced config values in their defaults without providing defaultText, causing documentation generation to fail when modules were included but not fully configured. Add defaultText to webhookBaseUrl, worker.name, and all package options.

Options like accessMode, cachix.auth, and the packages.* options lacked descriptions entirely, triggering warnings during documentation builds.

The niks3.package option had a throwing default that caused evaluation errors even when niks3 was disabled. Remove the default entirely so users must explicitly set the package when enabling niks3.

Enable warningsAreErrors in the test framework to catch similar issues in the future.

Fixes: #529

Address feedback from issue #529 regarding first-install experience and
documentation generation errors when using includeAllModules = true.

The README GitHub example was missing required options like domain,
workersFile, and webhookSecretFile. Users had to examine test files to
understand the workers.json format. This adds the missing options and
documents the JSON format inline.

Several options referenced config values in their defaults without
providing defaultText, causing documentation generation to fail when
modules were included but not fully configured. Add defaultText to
webhookBaseUrl, worker.name, and all package options.

Options like accessMode, cachix.auth, and the packages.* options lacked
descriptions entirely, triggering warnings during documentation builds.

The niks3.package option had a throwing default that caused evaluation
errors even when niks3 was disabled. Remove the default entirely so
users must explicitly set the package when enabling niks3.

Enable warningsAreErrors in the test framework to catch similar issues
in the future.

Fixes: #529
@Mic92 Mic92 enabled auto-merge December 8, 2025 21:32
@Mic92 Mic92 added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit af5a582 Dec 8, 2025
3 checks passed
@Mic92 Mic92 deleted the doc-fixes branch December 8, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feedback on first install

1 participant