Skip to content

Commit d0c10f0

Browse files
committed
Add new "Checking your Environment"
1 parent ea3ec51 commit d0c10f0

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

docs/source/user/check-env.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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.

docs/source/user/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ User Guide
1313
validate
1414
clone
1515
metadata
16+
check-env

0 commit comments

Comments
 (0)