Fixes #6656 [0], much like they already exist for section titles.

First changes the synopsis generation to also add an anchor to each
subcommand, then in pve-docs adds the required `a` element to all
paragraphs with an `id` set.

Patch #1 & #2 are just two small cleanups, actual implementation see 
patches #3 & #4.

[0] https://bugzilla.proxmox.com/show_bug.cgi?id=6656

Diffstat
========

pve-common:

Christoph Heiss (3):
  gitignore: add rules for more build artifacts
  cli handler: drop unused subroutine
  fix #6656: cli handler: generate anchors for all (sub-)commands

 .gitignore             |  4 ++++
 src/PVE/CLIHandler.pm  | 14 ++++++--------
 src/PVE/RESTHandler.pm |  2 ++
 3 files changed, 12 insertions(+), 8 deletions(-)

pve-docs:

Christoph Heiss (2):
  fix #6656: asciidoc: add anchor links for paragraphs with ids
  update generated cli synopsis files

 asciidoc/pve-docs.css           |  3 +-
 asciidoc/pve-html.conf          |  7 +++--
 ha-manager.1-synopsis.adoc      | 23 ++++++++++++++
 pct.1-synopsis.adoc             | 40 ++++++++++++++++++++++++
 pve-firewall.8-synopsis.adoc    |  9 ++++++
 pve-ha-crm.8-synopsis.adoc      |  5 +++
 pve-ha-lrm.8-synopsis.adoc      |  5 +++
 pveam.1-synopsis.adoc           |  7 +++++
 pveceph.1-synopsis.adoc         | 33 ++++++++++++++++++++
 pvecm.1-synopsis.adoc           | 15 +++++++++
 pvedaemon.8-synopsis.adoc       |  6 ++++
 pvenode.1-synopsis.adoc         | 27 ++++++++++++++++
 pveproxy.8-synopsis.adoc        |  6 ++++
 pvescheduler.8-synopsis.adoc    |  6 ++++
 pvesh.1-synopsis.adoc           |  8 +++++
 pvesm.1-synopsis.adoc           | 28 +++++++++++++++++
 pvesr.1-synopsis.adoc           | 15 +++++++++
 pvestatd.8-synopsis.adoc        |  6 ++++
 pvesubscription.1-synopsis.adoc |  7 +++++
 pveum.1-synopsis.adoc           | 49 +++++++++++++++++++++++++++++
 qm.1-synopsis.adoc              | 55 +++++++++++++++++++++++++++++++++
 qmrestore.1-synopsis.adoc       |  2 ++
 spiceproxy.8-synopsis.adoc      |  6 ++++
 vzdump.1-synopsis.adoc          |  2 ++
 24 files changed, 367 insertions(+), 3 deletions(-)

-- 
2.50.1



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to