File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .. _check-environment :
2+
3+ Checking your Environment
4+ =========================
5+
6+ .. NOTE: This section is work in progress and related to issue #9
7+
8+
9+ .. _check-dc-files :
10+
11+ Checking DC Files
12+ -----------------
13+
14+ From time to time it makes sense to check if the DC files referred in
15+ the Docbuild XML configuration exist in the repos.
16+
17+ To check all DC files in all repositories, use the following command:
18+
19+ .. code-block :: shell-session
20+ :caption: Checking DC files in all repositories
21+
22+ docbuild --env-config ENV_CONFIG_FILE check dc-files
23+
24+ To check DC files only for a specific product and docset, use the doctype
25+ syntax:
26+
27+ .. code-block :: shell-session
28+ :caption: Checking DC files for SLES 16.0 in English only
29+
30+ docbuild --env-config ENV_CONFIG_FILE check dc-files 'sles/16.0/en-us'
31+
32+ If a DC file is missing, the tool will report it, allowing you to take
33+ corrective action.
Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ User Guide
1313 validate
1414 clone
1515 metadata
16+ check-env
You can’t perform that action at this time.
0 commit comments