public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH backup] readme: Add instructions on how to build the docs
@ 2026-02-19 15:54 Maximiliano Sandoval
  2026-02-19 16:12 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval @ 2026-02-19 15:54 UTC (permalink / raw)
  To: pbs-devel

If the binaries have not been built then make -C docs throws an error
which is not obvious.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 README.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/README.rst b/README.rst
index 3059ba387..9f3d359cb 100644
--- a/README.rst
+++ b/README.rst
@@ -65,6 +65,23 @@ You are now able to build using the Makefile or cargo itself, e.g.::
   # # or for a non-package build
   # cargo build --all --release
 
+Building the online documentation
+=================================
+
+The online documentation can be build in HTML format as follows. First build the
+required binaries::
+
+  make docs
+
+The previous step is only necessary once. Then the online documentation can be
+built or regenerated with::
+
+  make -C docs DEB_HOST_RUST_TYPE=x86_64-unknown-linux-gnu html
+
+With the `rust target <https://doc.rust-lang.org/rustc/platform-support.html>`__
+of the host. The resulting documentation will be at ``docs/output/html/`` and
+can be open with your browser of choice or, e.g. ``xdg-open``.
+
 Design Notes
 ************
 
-- 
2.47.3





^ permalink raw reply	[flat|nested] 2+ messages in thread

* applied: [PATCH backup] readme: Add instructions on how to build the docs
  2026-02-19 15:54 [PATCH backup] readme: Add instructions on how to build the docs Maximiliano Sandoval
@ 2026-02-19 16:12 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-02-19 16:12 UTC (permalink / raw)
  To: pbs-devel, Maximiliano Sandoval

On Thu, 19 Feb 2026 16:54:27 +0100, Maximiliano Sandoval wrote:
> If the binaries have not been built then make -C docs throws an error
> which is not obvious.
> 
> 

Applied, thanks!

[1/1] readme: Add instructions on how to build the docs
      commit: 8ebdfee8426da307f05841d2ede02c9de1f005e7




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-19 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-19 15:54 [PATCH backup] readme: Add instructions on how to build the docs Maximiliano Sandoval
2026-02-19 16:12 ` applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal