#978 Fix broken markup in Systemd.adoc
Merged 3 years ago by ignatenkobrain. Opened 3 years ago by pbokoc.
pbokoc/packaging-committee systemd-fix  into  master

@@ -50,7 +50,7 @@ 

  

  ====== Documentation field

  

- Systemd in Fedora 17+ has support for defining documentation in unit files via the Documentation= field (it is ignored in older releases, so it is safe to keep one systemd unit file across all branches). System administrators will be looking at the contents of the Documentation= field to determine what the service is, how to configure it, and where to locate additional documentation relating to the service. Accordingly, packagers are strongly encouraged to include any available sources in the Documentation= field which provide this information. If a man page or info page is present in the package, refer to it using "man:manpage" or "info:infofile" respectively. If the documentation is in plaintext, use "file://path/to/file". Lastly, if no local documentation exists in the package, but it exists at a URL, use the URL (with http://) in this field. Multiple URIs can be added to the Documentation= field, as a space separated list. For details on URI definitions and formatting, please refer to the uri(7) manpage (man uri).

+ Systemd in Fedora 17+ has support for defining documentation in unit files via the `Documentation=` field (it is ignored in older releases, so it is safe to keep one systemd unit file across all branches). System administrators will be looking at the contents of the `Documentation=` field to determine what the service is, how to configure it, and where to locate additional documentation relating to the service. Accordingly, packagers are strongly encouraged to include any available sources in the `Documentation=` field which provide this information. If a man page or info page is present in the package, refer to it using `man:manpage` or `info:infofile` respectively. If the documentation is in plaintext, use `\file://path/to/file`. Lastly, if no local documentation exists in the package, but it exists at a URL, use the URL (with `http://`) in this field. Multiple URIs can be added to the `Documentation=` field, as a space separated list. For details on URI definitions and formatting, please refer to the `uri(7)` manpage (`man uri`).

  

  ===== [Service]

  

The "Documentation field" section of the Systemd doc is currently failing to render due to the presence of file:// and http:// in plaintext - see https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/#_documentation_field. This PR fixes that and adds proper markup for the whole section.

rebased onto 12393d8

3 years ago

@churchyard or someone, can you please merge this? It's a tiny fix.

Pull-Request has been merged by ignatenkobrain

3 years ago
Metadata