GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - eclipse-score/docs-as-code: Docs-as-code tooling for Eclipse S-CORE

BranchesTags
Open more actions menu

Latest commit

 

History

660 Commits
660 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github
.github
 
 
.vscode
.vscode
 
 
bzl
bzl
 
 
docs
docs
 
 
scripts_bazel
scripts_bazel
 
 
src
src
 
 
tools
tools
 
 
.bazelignore
.bazelignore
 
 
.bazelrc
.bazelrc
 
 
.bazelversion
.bazelversion
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.yamlfmt
.yamlfmt
 
 
BUILD
BUILD
 
 
LICENSE
LICENSE
 
 
MODULE.bazel
MODULE.bazel
 
 
MODULE.bazel.lock
MODULE.bazel.lock
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
docs.bzl
docs.bzl
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

docs-as-code

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.

Development of docs-as-code

Getting IDE support for docs-as-code development

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 Interpreter then select .venv_docs/bin/python
  • In the terminal via . .venv_docs/bin/activate

Configuring the docs build directory

bazel run //:docs (and the other interactive docs targets) write their output to _build by default. Set DOCS_BUILD_DIR to use a different directory. Relative paths are resolved against the package containing the docs() call; absolute paths are used as-is.

Warning

The directory is deleted when the build cache is stale, so point it at a dedicated directory. Paths that equal or contain the workspace, package or source directory are rejected.

export DOCS_BUILD_DIR=docs_build_tmp
bazel run //:docs

Enabeling pre-commit

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-push

Execute the pre-commit manually via pre-commit run or pre-commit run --all-files to run it on all files.

About

Docs-as-code tooling for Eclipse S-CORE

eclipse-score.github.io/docs-as-code

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

11 stars

Watchers

5 watching

Forks

39 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.