Skip to content

docs: correct ${VAR} and https: examples (#158, #163) - #172

Merged
jrosskopf merged 2 commits into
mainfrom
docs/gh-158-163-config-docs
Sep 30, 2026
Merged

jrosskopf merged 2 commits into
mainfrom
docs/gh-158-163-config-docs

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • ~30 YAML examples used ${NAME} (never substituted) -> {{env.NAME}}
  • TLS documented as enforce-https with kebab-case keys; the shipped example now uses it; no redirect listener exists
  • test_docs_config_syntax.py guards both

Test plan

  • Guard fails on the old docs, passes on the new
  • examples/flapi.yaml still validates, no unknown-key warning

Closes #158
Closes #163

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…, #163)

- Use {{env.NAME}} for environment variables in all YAML examples
- Document TLS as enforce-https with ssl-cert-file/ssl-key-file; no plain-HTTP redirect
- Guard test scans YAML fences in the docs
- Closes #158, closes #163
@jrosskopf
jrosskopf merged commit d8cddad into main Sep 30, 2026
22 checks passed
@jrosskopf
jrosskopf deleted the docs/gh-158-163-config-docs branch September 30, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant