Docs-as-code tooling for Eclipse S-CORE
Full documentation is on GitHub Pages.
Note
This repository offers a DevContainer. For setting this up read eclipse-score/devcontainer/README.md#inside-the-container.
Create the virtual environment via bazel run //:ide_support.
If your IDE does not automatically ask you to activate the newly created environment you can activate it.
- In VSCode via
ctrl+p=>Select Python Interpreterthen select.venv_docs/bin/python - In the terminal via
. .venv_docs/bin/activate
Pre-commit is supported inside docs-as-code to help with code quality and make developers workflow easier.
Install the hook:
pre-commit install
# Or install it to run on pre-push via:
pre-commit install --hook-type pre-pushExecute the pre-commit manually via pre-commit
bazel test //src:format.check
bazel run //src:format.fixbazel run //:copyright-check
bazel run //:copyright.fix