-
Notifications
You must be signed in to change notification settings - Fork 102
SUMA enterprise docs D.S.C.
-
You have access to our internal gitlab repository.
-
Our documentation tool chain should be installed. See: Toolchain Installation
-
From your local git checkout of uyuni-docs modify your parameters.yml file. Enable the site.url value key by removing the comment for your target:
examplesite: - attribute: title value: "SUSE Manager Documentation" - attribute: start_page value: "suse-manager::index" - attribute: url value: https://documentation.suse.com/suma/4.2/
-
Check the following attributes in the parameters.yml ensuring the file version numbers are correct:
examplesuma: asciidoc: - attribute: productname value: "SUSE Manager" - attribute: productnumber value: "4.2" - attribute: docversion value: "4.2" - attribute: minorversion value: "4.2.3" - attribute: suma-content value: true - attribute: uyuni-content value: false - attribute: saltversion value: 3002 - attribute: sles-version value: 15 - attribute: sp-version value: SP3 #use for normal text - attribute: sp-vert value: sp3 #use for terminal block - attribute: sp-version-l value: sp3 - attribute: smrproductnumber value: 4.2 - attribute: opensuse-version value: 15.3
-
Select the correct ui.bundle key and ui.supplemental_files key. When building for D.S.C set the following :
exampleui: bundle: - attribute: url value: ./branding/default-ui/suma/susecom-ui-branding-2021.zip - attribute: snapshot value: true supplemental_files: ./branding/supplemental-ui/suma/susecom-branding-2021
-
Checkout our internal gitlab repository:
https://gitlab.suse.de/susedoc/docserv-external-tree-suma
-
Create a new branch from master for this release, and push it:
git checkout -b manager-x.y-betax // for development git checkout -b manager-x.y // for major release git checkout -b manager-x.y-MU-x.y.z // for a maintenance update git push
-
Run the following command to setup the correct parameters:
make configure-suma
-
Run the following command to build the docs including translations (requires po4a):
make antora-suma
-
The contents of the
build/
dir should be dropped into the target version directory.Figure 1. 4.2 Directory Example
-
On IBS search for
https://build.suse.de/repositories/Devel:Galaxy:Manager:4.2
and search forspacewalk-java
. Click Repositories, then one of thestandard
links. -
Use the
Download
button next to aspacewalk-java-apidoc-sources-{VERSION}.noarch.rpm
. -
Extract the XML file:
-
Open either the apilist.adoc or the xml file from asciidoctor/docbook sources and verify the version number before building.
unrpm -v spacewalk-java-apidoc-sources-VERSION.noarch.rpm
-
Enter the rpm directory:
cd usr/share/doc/packages/spacewalk-java/xml/
-
Build the PDF with
daps
: You must have daps installed to build
daps -vvv --styleroot="/usr/share/xml/docbook/stylesheet/suse2013-ns" -m susemanager_api_doc.xml pdf
-
Drop the pdf document into link:https://gitlab.suse.de/susedoc/docserv-external-tree-suma/VERSION/PDF
-
Submit a merge request for Julio, Stefan or Frank.
-
On IBS search for
https://build.suse.de/repositories/Devel:Galaxy:Manager:4.1
and search forspacewalk-java
. Click Repositories, then one of thestandard
links. -
Use the
Download
button next to aspacewalk-java-apidoc-sources-{VERSION}.noarch.rpm
. -
Extract the XML file:
-
Open either the apilist.adoc or the xml file from asciidoctor/docbook sources and verify the version number before building.
unrpm -v spacewalk-java-apidoc-sources-VERSION.noarch.rpm
-
Enter the rpm directory:
cd usr/share/doc/packages/spacewalk-java/xml/
-
Build the PDF with
daps
: You must have daps installed to build
daps -vvv --styleroot="/usr/share/xml/docbook/stylesheet/suse2013-ns" -m susemanager_api_doc.xml pdf
-
Drop the pdf document into link:https://gitlab.suse.de/susedoc/docserv-external-tree-suma/VERSION/PDF
-
Submit a merge request for Julio, Stefan or Frank.
-
Click
https://build.suse.de/package/binaries/SUSE:SLE-15-SP1:Update:Products:Manager40/spacewalk-java/standard
. If it does not work, clickhttps://build.suse.de/project/show/SUSE:SLE-15-SP1:Update:Products:Manager40
and search forspacewalk-java
. Click Repositories, then one of thestandard
links. -
Use the
Download
button next to aspacewalk-java-apidoc-sources-4.0.21-1.1.noarch.rpm
. -
Extract the XML file:
unrpm -v spacewalk-java-apidoc-sources-4.0.21-1.1.noarch.rpm
-
Build the PDF with
daps
:
daps --styleroot="/usr/share/xml/docbook/stylesheet/suse2013-ns" \ -m usr/share/doc/packages/spacewalk-java/xml/susemanager_api_doc.xml \ pdf
-
Drop the pdf document into link:https://gitlab.suse.de/susedoc/docserv-external-tree-suma/VERSION/PDF
-
Submit a merge request for Julio, Stefan or Frank.
-
You have the SUSE Open build service tools setup on your local machine, and you have an internal account at
build.suse.de
. For more information on configuring OBS see the OBS Tutorial. -
Our documentation tool chain should be installed. See: Toolchain Installation
-
Clone our API docs repository at: https://github.com/uyuni-project/uyuni-docs-api
-
Create a new branch from master for this release:
git checkout -b manager-api-x.y-betax // for development git checkout -b manager-api-x.y // for major release git checkout -b manager-api-x.y-MU-x.y.z // for a maintenance update git push
-
On IBS search for
https://build.suse.de/repositories/Devel:Galaxy:Manager:4.2
and search forspacewalk-java
. Click Repositories, then one of thestandard
links. -
Use the
Download
button next to aspacewalk-java-apidoc-sources-{VERSION}.noarch.rpm
. -
Extract the asciidoc files:
unrpm -v spacewalk-java-apidoc-sources-VERSION.noarch.rpm
-
Enter the rpm directory:
cd usr/share/doc/packages/spacewalk-java/asciidoc/
-
Open either the apilist.adoc or the xml file from asciidoctor/docbook sources and verify the version number before building
-
Drop the adoc files into your local clone located:
-
https://github.com/uyuni-project/uyuni-docs-api/modules/api/pages
❗For each release the API is updated with new functionality. Ensure that the list of calls contained in the RPM within apilist.adoc matches the list located in our api nav and index.adoc at the following locations:
-
-
After verifying the index and api nav lists match the current calls build the api docs with:
make antora-suma
-
Copy the
build/
contents into our gitlab repo at: -
Create a merge request and ping Julio, Stefan or Frank.
For more topics on building documentation, see Building documentation.