Skip to content

Commit

Permalink
Remove blank paragraphs and regenerate the html (#931)
Browse files Browse the repository at this point in the history
Some of BuildFlags is missing in HTML.

4.6 Build Config chapter is redundant.

4.5 Repository setup seems like missing context so remove it.

Signed-off-by: James Wang <[email protected]>
  • Loading branch information
crazyss authored Jun 27, 2023
1 parent f2423ec commit c1e794e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 13 deletions.
4 changes: 0 additions & 4 deletions docs/cross_arch_build.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,3 @@ Note: the basic design of rpm was the GNU style, but it changed in the way that
specify the host architecture via %target macro on most distributions:

./configure --build=%build --host=%target

=== Repository setup

=== Build Config
45 changes: 36 additions & 9 deletions docs/pbuild.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc" />
<meta name="generator" content="AsciiDoc 10.2.0" />
<title>pbuild Reference Guide</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
Expand Down Expand Up @@ -1032,7 +1032,12 @@ <h4 id="_kiwi_build_description">2.4.2. kiwi build description</h4>
</div>
<div class="sect3">
<h4 id="_dockerfile_description">2.4.3. Dockerfile description</h4>
<div class="paragraph"><p>Has no support for assets yet.</p></div>
<div class="paragraph"><p>Remote assets that will be downloaded before the build can be added via the
comment <code>#!RemoteAssetUrl: https://my.url/asset.tar</code>. <code>pbuild</code> will fetch the
asset before the build and will make it available in the buildroot so that the
asset can copied into the container as follows:</p></div>
<div class="listingblock">
<div class="content"></div></div>
</div>
<div class="sect3">
<h4 id="_arch_linux_pkgbuild">2.4.4. Arch Linux PKGBUILD</h4>
Expand Down Expand Up @@ -1226,6 +1231,34 @@ <h4 id="_buildflags_flag_value">3.1.3. BuildFlags: FLAG:VALUE</h4>
will fail.</p></div>
<div class="paragraph"><p>A common use case for obsgendiff is to run release-compare after the
build.</p></div>
<div class="ulist"><ul>
<li>
<p>
setvcs
</p>
</li>
</ul></div>
<div class="paragraph"><p>Adds the SCM URL to binary results when the package sources are managed
via the scmsync mechanic. The url is written into the VCS tag of rpms
when enabling this functionality.</p></div>
<div class="ulist"><ul>
<li>
<p>
sbom:FORMAT
</p>
</li>
</ul></div>
<div class="paragraph"><p>Enables generation of SBOM (Software Bill Of Material) data. Supported
formats are spdx and cyclonedx.</p></div>
<div class="ulist"><ul>
<li>
<p>
container-compression-format:FORMAT
</p>
</li>
</ul></div>
<div class="paragraph"><p>Sets a compression format for container layers. Possible values are gzip, zstd,
zstd:chunked. The usage of values beside gzip is only supported by podman and buildah.</p></div>
</div>
<div class="sect3">
<h4 id="_constraint_selector_string">3.1.4. Constraint: SELECTOR STRING</h4>
Expand Down Expand Up @@ -1682,20 +1715,14 @@ <h4 id="_example_calls_in_spec_files_for_cross_build">4.4.3. Example Calls in sp
</div></div>
</div>
</div>
<div class="sect2">
<h3 id="_repository_setup">4.5. Repository setup</h3>
</div>
<div class="sect2">
<h3 id="_build_config">4.6. Build Config</h3>
</div>
</div>
</div>
</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
Last updated
2022-03-24 09:17:43 CET
2023-04-26 15:27:12 CST
</div>
</div>
</body>
Expand Down

0 comments on commit c1e794e

Please sign in to comment.