Skip to content

docs: align v3.3.0 docs with actual config, install, and env behavior - #196

Merged
httpdss merged 2 commits into
mainfrom
cursor/docs-v3.3.0-cleanup-8057
Oct 8, 2026
Merged

httpdss merged 2 commits into
mainfrom
cursor/docs-v3.3.0-cleanup-8057

Conversation

@httpdss

@httpdss httpdss commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Issue

Docs-only cleanup after the v3.3.0 release. No runtime behavior changes (docstring-only update in structkit/config.py).

Description

This PR brings the docs in line with what the code actually does after v3.3.0.

Config layering. Docs claimed .structkit.yaml was auto-loaded as project CLI config. load_layered_config / main.py only apply a project layer from --config-file. Documented merge order is now: built-in defaults → ~/.config/struct/config.yaml → --config-file → CLI flags. .structkit.yaml is described as the structure definition, not layered CLI config.

User config vs sources are documented as two separate files, without moving either:

  • CLI user config: ~/.config/struct/config.yaml (as in code; not XDG-overridable)
  • Named sources: ~/.config/structkit/sources.yaml (XDG-aware; STRUCTKIT_SOURCES_CONFIG)

Install. Homebrew formula is structkit in tap httpdss/homebrew-structkit: brew install httpdss/structkit/structkit. Linux .deb/.rpm packages are not attached to GitHub Releases (confirmed on v3.3.0: empty assets). They are workflow artifacts from build-linux-packages, or can be built locally per packaging/README.md.

Environment variables. docs/environment-variables.md now covers every STRUCTKIT_* env var from a code grep, with real defaults. STRUCTKIT_LOG_LEVEL overrides --log/--debug. STRUCTKIT_DENY_NETWORK is only 1. There is no STRUCTKIT_YAML runtime env var (only the BASIC_STRUCTKIT_YAML constant in init.py), so it is not documented.

mkdocs site_url. Set to https://structkit.app/docs/ to match pyproject.toml Documentation. That is the URL that actually serves docs today; https://httpdss.github.io/structkit/ returns 404. extra.homepage is https://structkit.app/. Nav now includes CLI reference, custom structures, and environment variables. The previous “Custom Structures” nav entry pointed at structures.md (the bundled catalog); that is now “Built-in Structures”, with custom-structures.md as “Custom Structures”.

Also: README key features + ecosystem; docs/index.md ecosystem links; docs/github-integration.md documents httpdss/structkit-action for validate / diff / generate next to the reusable workflow; latest_release examples and the workflow version hint updated to 3.3.0; Copilot prompt link httpdss/struct → httpdss/structkit.

Checklist

  • I have read the contributing guidelines
  • Documentation updated to match code (no runtime behavior change)
  • mkdocs build succeeds (pre-existing link warnings only; installation.md packaging link uses the GitHub URL so MkDocs can resolve it)
  • pre-commit run --all-files passed (check-yaml, end-of-file-fixer, trailing-whitespace)
Open in Web Open in Cursor 

Correct config layering to match load_layered_config (--config-file, not
auto-loaded .structkit.yaml), document Homebrew and Linux workflow
artifacts, and list every STRUCTKIT_* env var with its real default.

Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
@github-actions github-actions Bot added the docs label Oct 8, 2026
MkDocs cannot resolve ../packaging/README.md from docs_dir, so use the
repository URL instead of a broken relative path.

Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
@httpdss
httpdss marked this pull request as ready for review October 8, 2026 10:13
@httpdss
httpdss merged commit 9cbebdd into main Oct 8, 2026
3 checks passed
@httpdss
httpdss deleted the cursor/docs-v3.3.0-cleanup-8057 branch October 8, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants