CI/CD-Komponenten
Diese Referenz wird automatisch aus den CI-Template-Dateien generiert.
md-to-web
Quelle: md-to-web.yml
| Input | Typ | Default | Beschreibung |
|---|---|---|---|
| md-path | string | document | The path to the markdown dir (e.g. document) |
| document-title | string | Document | The title of the document |
| base-path | string | "" | The path on the domain where the generated page will live (e.g. '/documentation'). Also called 'subpath'. Leave empty to deploy at the root of the domain. |
| deploy-only-on | string | tags | The ref to deploy the page on. Can be a branch name or 'tags'. If you want to deploy only on tags use 'tags'. |
| footer-copyright | string | "" | The footer copyright text |
| umbrella-brand | string | false | If true, the umbrella brand header will be displayed |
| encrypt-page | string | false | If true, the page will be encrypted with a password (please provide the password via the env variable ENCRYPT_PASSWORD) |
| enable-self-assessment | string | false | If true, the self-assessment feature will be enabled. |
| theme | string | kernux | The theme to use for the web book. Can be 'kernux', 'bund', 'opencode' or 'opendesk'. |
| logo-path | string | "" | The (relative) path to the logo image (svg, png, jpg) to use in the header (e.g. 'dokument/assets/logo.png') |
| logo-path-dark-mode | string | "" | The (relative) path to the logo image (svg, png, jpg) to use in the header in dark mode (e.g. 'dokument/assets/logo-dark.png') |
| logo-height | string | "" | Height of the navbar logo as a CSS value (e.g. '3rem', '64px'). Leave empty for the default (3rem). |
| footer-logo-path | string | "" | The (relative) path to the footer logo image (svg, png, jpg) to use in the footer (e.g. 'dokument/assets/footer-logo.png') |
| feedback-server-url | string | "" | The URL of the feedback server (enables feedback feature). If not set, the feedback feature will be disabled. |
| feedback-description | string | Ihr Feedback hilft uns, die Website an den Bedürfnissen der Nutzenden auszurichten. Beschreiben Sie Ihr Anliegen so detailliert wie möglich. Geben Sie keine persönlichen Daten ein. | Description text for the feedback form. Only the text inside the P tag. |
| feedback-title | string | Geben Sie uns Feedback | Title for the feedback form. |
| feedback-confidential-issue | string | false | If true, the feedback issue will be created as confidential issue (only visible for project members) in GitLab. |
| matomo-url | string | "" | The base URL of the Matomo instance (e.g. 'https://matomo.example.de'). Enables consent-based Matomo tracking. Requires markdown-webbook 2.3.0 or newer. If set, matomo-site-id and matomo-privacy-url must be set as well. |
| matomo-site-id | string | "" | The Matomo site ID of this website (e.g. '1'). Required when matomo-url is set. |
| matomo-privacy-url | string | "" | The URL or path of the privacy policy page linked from the cookie banner (e.g. '/datenschutz/'). Required when matomo-url is set. |
| matomo-banner-width | string | "" | Width of the cookie banner in pixels (320 to 1600). Leave empty for the default (768). Only used when matomo-url is set. Requires markdown-webbook 3.0.0 or newer. |
| repository-url | string | "" | The URL of the repository. If set a link to the repository will be added next to the search bar. |
| hide-glossary-page-in-menu | string | false | If true, the generated glossary page will be hidden in the menu. |
| header-lower-badge-logo-path | string | "" | The (relative) path to the logo image (svg, png, jpg) to be displayed on the lower edge of the header (e.g. 'dokument/assets/some-logo.png') |
| copy-to-public-dir | string | "" | A paths (relative) to copy to the public directory. Useful for copying assets like custom favicons. |
| hide-commit-in-title | string | false | If true, the commit hash will not be appended to the document title. |
| multi-language-locales | string | "" | Comma-separated list of locales for multi-language support (e.g. 'en,de'). If empty, single-language mode is used. |
| multi-language-default-locale | string | de | Default locale for multi-language support (e.g. 'de'). Only used when multi-language-locales is set. |
| default-locale | string | "" | Locale for single-language projects (e.g. 'en'). Sets the html lang attribute and the UI language. Ignored when multi-language-locales is set. If empty, 'de' is used. |
| markdown-webbook-version | string | 3.1.3 | The version of the @document-writing-tools/markdown-webbook package to use (e.g. '3.1.3') |
| disable-toc | string | false | If true, the table of contents will be disabled on all pages. |
| enable-live-editor | string | false | If true, the live editor page (/preview) and the OAuth2 callback page (/oauth2/callback) will be added. Requires markdown-webbook 3.0.0 or newer. |
| private-mode | string | false | If true, no content pages are built - only the live editor is published, so the content can be read by logged in users only. Implies enable-live-editor. Requires markdown-webbook 3.0.0 or newer. |
| connected-repo | string | $CI_PROJECT_URL | The URL of the repository the live editor reads and writes (e.g. 'https://gitlab.opencode.de/group/repo'). Defaults to the current project. Only used when the live editor is enabled. |
| cors-proxy | string | "" | Deprecated and ignored. Since markdown-webbook 3.1.3 the live editor uses the GitLab API and needs no CORS proxy. |
| gitlab-url | string | "" | The GitLab instance the live editor signs in with (e.g. 'https://gitlab.example.de'). Must host connected-repo. If empty, https://gitlab.opencode.de is used. Only used when the live editor is enabled. Requires markdown-webbook 3.1.3 or newer. |
| gitlab-application-id | string | "" | The application ID of the GitLab OAuth application the live editor signs in with. If empty, the openCode application is used. Only used when the live editor is enabled. Requires markdown-webbook 3.1.3 or newer. |
| content-security-policy | string | "" | Content Security Policy for every page. Replaces the policy markdown-webbook generates, which allows only the site itself, the GitLab instance and the configured services. If empty, the generated policy is used. Requires markdown-webbook 3.1.3 or newer. |
| editor-subpath | string | "" | The subdirectory inside the connected repository the live editor is scoped to. If empty, md-path is used. Only used when the live editor is enabled. |
| editor-branch | string | $CI_DEFAULT_BRANCH | The branch the live editor reads and writes. Defaults to the default branch of the project. Only used when the live editor is enabled. |
link-checker
Quelle: link-checker.yml
| Input | Typ | Default | Beschreibung |
|---|---|---|---|
| url | string | "" | Optional: URL to check for remote link checking. If not provided, local scanning will be used. (notable variable: $CI_PAGES_URL) |
| scanpath | string | ./ | Path to scan for local link checking (used when url is not provided) |
| flags | string | --no-progress --timeout 10 --max-concurrency 4 | Command line flags for lychee |
| stage | string | tests | The pipeline stage for the job |
| allow_failure | boolean | false | Whether the job is allowed to fail without stopping the pipeline |
accessibility-checker
Quelle: accessibility-checker.yml
| Input | Typ | Default | Beschreibung |
|---|---|---|---|
| url | string | $CI_PAGES_URL | Input the url you want to check for accessibility |