rpm/docs
Florian Festi 1296ea93f8 Don't allow build directives in generated specs
Many things need to be known before the build can be started. Make
declaring these sections or directives an error when encountered parsing
the generated Spec parts.

Resolves: #2693
2024-03-07 11:45:30 +02:00
..
_layouts Add link to Roadmap 2022-05-16 14:56:38 +02:00
librpm Split off rpmDigest*() APIs from rpmpgp.h to a new rpmcrypto.h header 2022-02-25 11:08:25 +01:00
man Add --list and --delete to rpmkeys 2024-02-28 12:12:57 +02:00
manual Don't allow build directives in generated specs 2024-03-07 11:45:30 +02:00
CMakeLists.txt CMakeLists.txt: eliminate floating dependencies 2024-03-06 10:27:20 +01:00
README.md Add docs/README.md 2023-10-06 13:23:04 +03:00
_config.yml Add docs/_config.yml for building the in-tree docs 2022-05-16 14:56:38 +02:00
index.md Fix typos and broken markup 2021-05-19 12:06:22 +02:00

README.md

RPM Documentation

There are multiple pieces of documentation that are processed and used differently.

RPM.org

The rpm.org web page is created from its own GitHub repository.

Man Pages

The man pages in man/ are Markdown documents. They are rendered to the man page format during build. These pre-rendered pages are also shipped with the (release) tarball. That way building rpm from the tarball does not require the pandoc as long as the man pages are unchanged.

The man pages are also rendered to HTML together with the Reference Manual (see below).

API Reference

The API reference is rendered with Doxygen. The content is almost exclusively created from the RPM sources and the doc strings there in. The rendered HTML is shipped with the release tarball to be able to build RPM from that without Doxygen.

Reference Manual

The reference manual in the manual/ dir is an GitHub Pages site. It is rendered automatically when pushed into the master branch in the GitHub repository. It is available online on its own URL but is intended to be used as part of the RPM.org website were it is linked from the Documentation page

The Reference Manual is currently not shipped in rendered form in the tarball.

To render it locally one can follow this article and render it with Jekyll with the use of the github-pages gem.