Skip to content

refactor: wrap environment access - #815

Merged
AlexanderLanin merged 1 commit into
mainfrom
env
Sep 10, 2026
Merged

refactor: wrap environment access#815
AlexanderLanin merged 1 commit into
mainfrom
env

Conversation

@AlexanderLanin

@AlexanderLanin AlexanderLanin commented Sep 10, 2026

Copy link
Copy Markdown
Member

Why

Environment variables are read and parsed in several parts of the documentation tooling. Centralizing that access makes configuration handling consistent and gives callers typed helpers for paths, JSON, and lists, while producing a clear error for missing required configuration.

Breaking change

All environment values are stripped now. I don't see any use-case where this can be a problem.

What changed

  • Added the Environment helper for process-environment access and typed conversions.
  • Migrated the docs CLI, extensions, Bazel scripts, and module verification tooling to use it.
  • Updated the relevant Bazel library and source declarations.

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-815: https://eclipse-score.github.io/docs-as-code/pr-815/

@AlexanderLanin
AlexanderLanin merged commit fde0caa into main Sep 10, 2026
23 checks passed
@AlexanderLanin
AlexanderLanin deleted the env branch September 10, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants