You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _sources/user/config.rst.txt
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,3 +32,15 @@ To deal with different environments without having to type the full command each
32
32
alias docbuild-prod='docbuild --env-config env.production.toml'
33
33
alias docbuild-test='docbuild --env-config env.testing.toml'
34
34
alias docbuild-dev='docbuild --env-config env.devel.toml'
35
+
36
+
Viewing the Environment Configuration
37
+
------------------------------------
38
+
39
+
To see how ``docbuild`` interprets your environment configuration, use the ``config env`` subcommand. This is particularly useful for verifying that all placeholders (like ``{{product}}`` or ``{{lang}}``) have been correctly resolved into absolute paths.
40
+
41
+
.. code-block:: shell-session
42
+
:caption: Displaying the resolved environment configuration
43
+
44
+
docbuild config env
45
+
46
+
If the configuration contains errors—such as missing mandatory keys or invalid data types—the command will output a validation error detailing what needs to be fixed.
Copy file name to clipboardExpand all lines: genindex.html
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -759,10 +759,10 @@ <h2 id="C">C</h2>
759
759
</li>
760
760
<li><ahref="reference/_autoapi/docbuild/config/xml/checks/index.html#docbuild.config.xml.checks.check_subdeliverable_in_deliverable">check_subdeliverable_in_deliverable() (in module docbuild.config.xml.checks)</a>
761
761
</li>
762
-
</ul></td>
763
-
<tdstyle="width: 33%; vertical-align: top;"><ul>
764
762
<li><ahref="reference/_autoapi/docbuild/config/xml/checks/index.html#docbuild.config.xml.checks.check_translation_deliverables">check_translation_deliverables() (in module docbuild.config.xml.checks)</a>
765
763
</li>
764
+
</ul></td>
765
+
<tdstyle="width: 33%; vertical-align: top;"><ul>
766
766
<li><ahref="reference/_autoapi/docbuild/config/xml/checks/index.html#docbuild.config.xml.checks.check_valid_languages">check_valid_languages() (in module docbuild.config.xml.checks)</a>
<li><ahref="reference/_autoapi/docbuild/models/manifest/Document.html#docbuild.models.manifest.Document.coerce_rank">coerce_rank() (docbuild.models.manifest.Document class method)</a>
789
789
</li>
790
790
<li><ahref="reference/_autoapi/docbuild/cli/cmd_metadata/metaprocess/index.html#docbuild.cli.cmd_metadata.metaprocess.collect_files_flat">collect_files_flat() (in module docbuild.cli.cmd_metadata.metaprocess)</a>
<li><ahref="reference/_autoapi/docbuild/utils/convert/index.html#docbuild.utils.convert.convert2bool">convert2bool() (in module docbuild.utils.convert)</a>
805
809
</li>
@@ -1615,8 +1619,12 @@ <h2 id="M">M</h2>
1615
1619
</li>
1616
1620
<li><ahref="reference/_autoapi/docbuild/utils/merge/index.html#docbuild.utils.merge.merge_doctypes">merge_doctypes() (in module docbuild.utils.merge)</a>
<li><ahref="reference/_autoapi/docbuild/cli/cmd_metadata/index.html#docbuild.cli.cmd_metadata.metadata">metadata() (in module docbuild.cli.cmd_metadata)</a>
0 commit comments