Browse Source

Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory.

4.2
Darko Poljak 6 years ago
parent
commit
b89077f9a5
  1. 23
      Makefile
  2. 5
      cdist/conf/type/__apt_key/man.rst
  3. 5
      cdist/conf/type/__apt_key_uri/man.rst
  4. 5
      cdist/conf/type/__apt_norecommends/man.rst
  5. 5
      cdist/conf/type/__apt_ppa/man.rst
  6. 5
      cdist/conf/type/__apt_source/man.rst
  7. 5
      cdist/conf/type/__apt_update_index/man.rst
  8. 5
      cdist/conf/type/__block/man.rst
  9. 5
      cdist/conf/type/__ccollect_source/man.rst
  10. 5
      cdist/conf/type/__cdist/man.rst
  11. 5
      cdist/conf/type/__cdistmarker/man.rst
  12. 5
      cdist/conf/type/__config_file/man.rst
  13. 5
      cdist/conf/type/__consul/man.rst
  14. 5
      cdist/conf/type/__consul_agent/man.rst
  15. 5
      cdist/conf/type/__consul_check/man.rst
  16. 5
      cdist/conf/type/__consul_reload/man.rst
  17. 5
      cdist/conf/type/__consul_service/man.rst
  18. 5
      cdist/conf/type/__consul_template/man.rst
  19. 5
      cdist/conf/type/__consul_template_template/man.rst
  20. 5
      cdist/conf/type/__consul_watch_checks/man.rst
  21. 5
      cdist/conf/type/__consul_watch_event/man.rst
  22. 5
      cdist/conf/type/__consul_watch_key/man.rst
  23. 5
      cdist/conf/type/__consul_watch_keyprefix/man.rst
  24. 5
      cdist/conf/type/__consul_watch_nodes/man.rst
  25. 5
      cdist/conf/type/__consul_watch_service/man.rst
  26. 5
      cdist/conf/type/__consul_watch_services/man.rst
  27. 5
      cdist/conf/type/__cron/man.rst
  28. 5
      cdist/conf/type/__debconf_set_selections/man.rst
  29. 5
      cdist/conf/type/__directory/man.rst
  30. 5
      cdist/conf/type/__dog_vdi/man.rst
  31. 5
      cdist/conf/type/__file/man.rst
  32. 5
      cdist/conf/type/__firewalld_rule/man.rst
  33. 5
      cdist/conf/type/__git/man.rst
  34. 5
      cdist/conf/type/__group/man.rst
  35. 5
      cdist/conf/type/__hostname/man.rst
  36. 5
      cdist/conf/type/__iptables_apply/man.rst
  37. 5
      cdist/conf/type/__iptables_rule/man.rst
  38. 5
      cdist/conf/type/__issue/man.rst
  39. 5
      cdist/conf/type/__jail/man.rst
  40. 5
      cdist/conf/type/__jail_freebsd10/man.rst
  41. 5
      cdist/conf/type/__jail_freebsd9/man.rst
  42. 5
      cdist/conf/type/__key_value/man.rst
  43. 5
      cdist/conf/type/__line/man.rst
  44. 5
      cdist/conf/type/__link/man.rst
  45. 5
      cdist/conf/type/__locale/man.rst
  46. 5
      cdist/conf/type/__motd/man.rst
  47. 5
      cdist/conf/type/__mount/man.rst
  48. 5
      cdist/conf/type/__mysql_database/man.rst
  49. 5
      cdist/conf/type/__package/man.rst
  50. 5
      cdist/conf/type/__package_apt/man.rst
  51. 5
      cdist/conf/type/__package_emerge/man.rst
  52. 5
      cdist/conf/type/__package_emerge_dependencies/man.rst
  53. 5
      cdist/conf/type/__package_luarocks/man.rst
  54. 5
      cdist/conf/type/__package_opkg/man.rst
  55. 5
      cdist/conf/type/__package_pacman/man.rst
  56. 5
      cdist/conf/type/__package_pip/man.rst
  57. 5
      cdist/conf/type/__package_pkg_freebsd/man.rst
  58. 5
      cdist/conf/type/__package_pkg_openbsd/man.rst
  59. 5
      cdist/conf/type/__package_pkgng_freebsd/man.rst
  60. 5
      cdist/conf/type/__package_rubygem/man.rst
  61. 5
      cdist/conf/type/__package_update_index/man.rst
  62. 5
      cdist/conf/type/__package_upgrade_all/man.rst
  63. 5
      cdist/conf/type/__package_yum/man.rst
  64. 5
      cdist/conf/type/__package_zypper/man.rst
  65. 5
      cdist/conf/type/__pacman_conf/man.rst
  66. 5
      cdist/conf/type/__pacman_conf_integrate/man.rst
  67. 7
      cdist/conf/type/__pf_apply/man.rst
  68. 5
      cdist/conf/type/__pf_ruleset/man.rst
  69. 5
      cdist/conf/type/__postfix/man.rst
  70. 5
      cdist/conf/type/__postfix_master/man.rst
  71. 5
      cdist/conf/type/__postfix_postconf/man.rst
  72. 5
      cdist/conf/type/__postfix_postmap/man.rst
  73. 5
      cdist/conf/type/__postfix_reload/man.rst
  74. 5
      cdist/conf/type/__postgres_database/man.rst
  75. 5
      cdist/conf/type/__postgres_role/man.rst
  76. 5
      cdist/conf/type/__process/man.rst
  77. 5
      cdist/conf/type/__pyvenv/man.rst
  78. 5
      cdist/conf/type/__qemu_img/man.rst
  79. 5
      cdist/conf/type/__rbenv/man.rst
  80. 5
      cdist/conf/type/__rsync/man.rst
  81. 5
      cdist/conf/type/__rvm/man.rst
  82. 5
      cdist/conf/type/__rvm_gem/man.rst
  83. 5
      cdist/conf/type/__rvm_gemset/man.rst
  84. 5
      cdist/conf/type/__rvm_ruby/man.rst
  85. 5
      cdist/conf/type/__ssh_authorized_key/man.rst
  86. 5
      cdist/conf/type/__ssh_authorized_keys/man.rst
  87. 7
      cdist/conf/type/__ssh_dot_ssh/man.rst
  88. 5
      cdist/conf/type/__staged_file/man.rst
  89. 5
      cdist/conf/type/__start_on_boot/man.rst
  90. 5
      cdist/conf/type/__timezone/man.rst
  91. 5
      cdist/conf/type/__update_alternatives/man.rst
  92. 5
      cdist/conf/type/__user/man.rst
  93. 5
      cdist/conf/type/__user_groups/man.rst
  94. 5
      cdist/conf/type/__yum_repo/man.rst
  95. 5
      cdist/conf/type/__zypper_repo/man.rst
  96. 5
      cdist/conf/type/__zypper_service/man.rst
  97. 0
      cdist/sphinxext/__init__.py
  98. 80
      cdist/sphinxext/manpage.py
  99. 2
      docs/man/Makefile
  100. 5
      docs/man/cdist-reference.rst.sh
  101. Some files were not shown because too many files have changed in this diff Show More

23
Makefile

@ -88,6 +88,29 @@ man-latest-link: web-pub
ssh staticweb.ungleich.ch \
"cd /home/services/www/nico/nico.schottelius.org/www/software/cdist/man/ && rm -f latest && ln -sf "$(CHANGELOG_VERSION)" latest"
# Manpages: .cdist Types
DOT_CDIST_PATH=${HOME}/.cdist
DOTMAN7DSTDIR=$(MAN7DSTDIR)
DOTTYPEDIR=$(DOT_CDIST_PATH)/type
$(info $(DOTTYPEDIR))
DOTMANTYPESRC=$(shell ls $(DOTTYPEDIR)/*/man.rst)
$(info $(DOTMANTYPESRC))
DOTMANTYPEPREFIX=$(subst $(DOTTYPEDIR)/,$(DOTMAN7DSTDIR)/cdist-type,$(DOTMANTYPESRC))
$(info $(DOTMANTYPEPREFIX))
DOTMANTYPES=$(subst /man.rst,.rst,$(DOTMANTYPEPREFIX))
$(info $(DOTMANTYPES))
# Link manpage: do not create man.html but correct named file
$(DOTMAN7DSTDIR)/cdist-type%.rst: $(DOTTYPEDIR)/%/man.rst
ln -sf "$^" $@
# Manpages #3: generic part
dotmansphinxman: $(DOTMANTYPES)
$(SPHINXM)
dotman: dotmansphinxman
################################################################################
# Speeches
#

5
cdist/conf/type/__apt_key/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__apt_key(7)
======================
Manage the list of keys used by apt
NAME
----
cdist-type__apt_key - Manage the list of keys used by apt
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__apt_key_uri/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__apt_key_uri(7)
==========================
Add apt key from uri
NAME
----
cdist-type__apt_key_uri - Add apt key from uri
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__apt_norecommends/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__apt_norecommends(7)
===============================
Configure apt to not install recommended packages
NAME
----
cdist-type__apt_norecommends - Configure apt to not install recommended packages
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__apt_ppa/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__apt_ppa(7)
======================
Manage ppa repositories
NAME
----
cdist-type__apt_ppa - Manage ppa repositories
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__apt_source/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__apt_source(7)
=========================
Manage apt sources
NAME
----
cdist-type__apt_source - Manage apt sources
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__apt_update_index/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__apt_update_index(7)
===============================
Update apt's package index
NAME
----
cdist-type__apt_update_index - Update apt's package index
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__block/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__block(7)
====================
Manage blocks of text in files
NAME
----
cdist-type__block - Manage blocks of text in files
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__ccollect_source/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__ccollect_source(7)
==============================
Manage ccollect sources
NAME
----
cdist-type__ccollect_source - Manage ccollect sources
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__cdist/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__cdist(7)
====================
Manage cdist installations
NAME
----
cdist-type__cdist - Manage cdist installations
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__cdistmarker/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__cdistmarker(7)
==========================
Add a timestamped cdist marker.
NAME
----
cdist-type__cdistmarker - Add a timestamped cdist marker.
Daniel Maher <phrawzty+cdist--@--gmail.com>

5
cdist/conf/type/__config_file/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__config_file(7)
==========================
Manages config files
NAME
----
cdist-type__config_file - _Manages config files
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul(7)
=====================
Install consul
NAME
----
cdist-type__consul - Install consul
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_agent/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_agent(7)
===========================
Manage the consul agent
NAME
----
cdist-type__consul_agent - Manage the consul agent
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_check/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_check(7)
=============================
Manages consul checks
NAME
----
cdist-type__consul_check - Manages consul checks
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_reload/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_reload(7)
============================
Reload consul
NAME
----
cdist-type__consul_reload - Reload consul
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_service/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_service(7)
=============================
Manages consul services
NAME
----
cdist-type__consul_service - Manages consul services
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_template/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_template(7)
==============================
Manage the consul-template service
NAME
----
cdist-type__consul_template - Manage the consul-template service
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_template_template/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_template_template(7)
=======================================
Manage consul-template templates
NAME
----
cdist-type__consul_template_template - Manage consul-template templates
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_watch_checks/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_watch_checks(7)
==================================
Manages consul checks watches
NAME
----
cdist-type__consul_watch_checks - Manages consul checks watches
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_watch_event/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_watch_event(7)
=================================
Manages consul event watches
NAME
----
cdist-type__consul_watch_event - Manages consul event watches
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_watch_key/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_watch_key(7)
===============================
Manages consul key watches
NAME
----
cdist-type__consul_watch_key - Manages consul key watches
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_watch_keyprefix/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_watch_keyprefix(7)
=====================================
Manages consul keyprefix watches
NAME
----
cdist-type__consul_watch_keyprefix - Manages consul keyprefix watches
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_watch_nodes/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_watch_nodes(7)
=================================
Manages consul nodes watches
NAME
----
cdist-type__consul_watch_nodes - Manages consul nodes watches
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_watch_service/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_watch_service(7)
===================================
Manages consul service watches
NAME
----
cdist-type__consul_watch_service - Manages consul service watches
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__consul_watch_services/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__consul_watch_services(7)
====================================
Manages consul services watches
NAME
----
cdist-type__consul_watch_services - Manages consul services watches
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__cron/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__cron(7)
===================
Installs and manages cron jobs
NAME
----
cdist-type__cron - Installs and manages cron jobs
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__debconf_set_selections/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__debconf_set_selections(7)
=====================================
Setup debconf selections
NAME
----
cdist-type__debconf_set_selections - Setup debconf selections
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__directory/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__directory(7)
========================
Manage a directory
NAME
----
cdist-type__directory - Manage a directory
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__dog_vdi/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__dog_vdi(7)
======================
Manage Sheepdog VM images
NAME
----
cdist-type__dog_vdi - Manage Sheepdog VM images
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__file/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__file(7)
===================
Manage files.
NAME
----
cdist-type__file - Manage files.
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__firewalld_rule/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__firewalld_rule(7)
=============================
Configure firewalld rules
NAME
----
cdist-type__firewalld_rule - Configure firewalld rules
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__git/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__git(7)
==================
Get and or keep git repositories up-to-date
NAME
----
cdist-type__git - Get and or keep git repositories up-to-date
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__group/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__group(7)
====================
Manage groups
NAME
----
cdist-type__group - Manage groups
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__hostname/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__hostname(7)
=======================
Set the hostname
NAME
----
cdist-type__hostname - Set the hostname
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__iptables_apply/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__iptables_apply(7)
=============================
Apply the rules
NAME
----
cdist-type__iptables_apply - Apply the rules
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__iptables_rule/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__iptables_rule(7)
============================
Deploy iptable rulesets
NAME
----
cdist-type__iptables_rule - Deploy iptable rulesets
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__issue/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__issue(7)
====================
Manage issue
NAME
----
cdist-type__issue - Manage issue
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__jail/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__jail(7)
===================
Manage FreeBSD jails
NAME
----
cdist-type__jail - Manage FreeBSD jails
Jake Guffey <jake.guffey--@--jointheirstm.org>

5
cdist/conf/type/__jail_freebsd10/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__jail_freebsd10(7)
=============================
Manage FreeBSD jails
NAME
----
cdist-type__jail_freeebsd10 - Manage FreeBSD jails
Jake Guffey <jake.guffey--@--jointheirstm.org>

5
cdist/conf/type/__jail_freebsd9/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__jail_freebsd9(7)
============================
Manage FreeBSD jails
NAME
----
cdist-type__jail_freebsd9 - Manage FreeBSD jails
Jake Guffey <jake.guffey--@--eprotex.com>

5
cdist/conf/type/__key_value/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__key_value(7)
========================
Change property values in files
NAME
----
cdist-type__key_value - Change property values in files
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__line/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__line(7)
===================
Manage lines in files
NAME
----
cdist-type__line - Manage lines in files
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__link/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__link(7)
===================
Manage links (hard and symbolic)
NAME
----
cdist-type__link - Manage links (hard and symbolic)
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__locale/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__locale(7)
=====================
Configure locales
NAME
----
cdit-type__locale - Configure locales
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__motd/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__motd(7)
===================
Manage message of the day
NAME
----
cdist-type__motd - Manage message of the day
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__mount/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__mount(7)
====================
Manage filesystem mounts
NAME
----
cdit-type__mount - Manage filesystem mounts
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__mysql_database/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__mysql_database(7)
=============================
Manage a MySQL database
NAME
----
cdist-type__mysql_database - Manage a MySQL database
Benedikt Koeppel <code@benediktkoeppel.ch>

5
cdist/conf/type/__package/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package(7)
======================
Manage packages
NAME
----
cdist-type__package - Manage packages
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__package_apt/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_apt(7)
==========================
Manage packages with apt-get
NAME
----
cdist-type__package_apt - Manage packages with apt-get
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__package_emerge/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_emerge(7)
=============================
Manage packages with portage
NAME
----
cdist-type__package_emerge - Manage packages with portage
Thomas Oettli <otho--@--sfs.biz>

5
cdist/conf/type/__package_emerge_dependencies/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_emerge_dependencies(7)
==========================================
Install dependencies for __package_emerge
NAME
----
cdist-type__package_emerge_dependencies - Install dependencies for __package_emerge
Thomas Oettli <otho--@--sfs.biz>

5
cdist/conf/type/__package_luarocks/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_luarocks(7)
===============================
Manage luarocks packages
NAME
----
cdist-type__package_luarocks - Manage luarocks packages
Christian G. Warden <cwarden@xerus.org>

5
cdist/conf/type/__package_opkg/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_opkg(7)
===========================
Manage packages with opkg
NAME
----
cdist-type__package_opkg - Manage packages with opkg
Giel van Schijndel <giel+cdist--@--mortis.eu>

5
cdist/conf/type/__package_pacman/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_pacman(7)
=============================
Manage packages with pacman
NAME
----
cdist-type__package_pacman - Manage packages with pacman
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__package_pip/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_pip(7)
==========================
Manage packages with pip
NAME
----
cdist-type__package_pip - Manage packages with pip
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__package_pkg_freebsd/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_pkg_freebsd(7)
==================================
Manage FreeBSD packages
NAME
----
cdist-type__package_pkg_freebsd - Manage FreeBSD packages
Jake Guffey <jake.guffey--@--eprotex.com>

5
cdist/conf/type/__package_pkg_openbsd/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_pkg(7)
==========================
Manage OpenBSD packages
NAME
----
cdist-type__package_pkg - Manage OpenBSD packages
Andi Brönnimann <andi-cdist--@--v-net.ch>

5
cdist/conf/type/__package_pkgng_freebsd/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_pkgng_freebsd(7)
====================================
Manage FreeBSD packages with pkg-ng
NAME
----
cdist-type__package_pkgng_freebsd - Manage FreeBSD packages with pkg-ng
Jake Guffey <jake.guffey--@--eprotex.com>

5
cdist/conf/type/__package_rubygem/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_rubygem(7)
==============================
Manage rubygem packages
NAME
----
cdist-type__package_rubygem - Manage rubygem packages
Chase Allen James <nx-cdist@nu-ex.com>

5
cdist/conf/type/__package_update_index/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_update_index(7)
===================================
Update the package index
NAME
----
cdist-type__update_index - Update the package index
Ricardo Catalinas Jiménez <jimenezrick--@--gmail.com>

5
cdist/conf/type/__package_upgrade_all/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_upgrade_all(7)
==================================
Upgrade all the installed packages
NAME
----
cdist-type__package_upgrade_all - Upgrade all the installed packages
Ricardo Catalinas Jiménez <jimenezrick--@--gmail.com>

5
cdist/conf/type/__package_yum/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_yum(7)
==========================
Manage packages with yum
NAME
----
cdist-type__package_yum - Manage packages with yum
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__package_zypper/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__package_zypper(7)
=============================
Manage packages with zypper
NAME
----
cdist-type__package_zypper - Manage packages with zypper
Daniel Heule <hda--@--sfs.biz>

5
cdist/conf/type/__pacman_conf/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__pacman_conf(7)
==========================
Manage pacman configuration
NAME
----
cdist-type__pacman_conf - Manage pacman configuration
Dominique Roux <dominique.roux4@gmail.com>

5
cdist/conf/type/__pacman_conf_integrate/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__pacman_conf_integrate(7)
====================================
Integrate default pacman.conf to cdist conform and vice versa
NAME
----
cdist-type__pacman_conf_integrate - Integrate default pacman.conf to cdist conform and vice versa
Dominique Roux <dominique.roux4@gmail.com>

7
cdist/conf/type/__pf_apply/man.rst vendored

@ -1,12 +1,11 @@
cdist-type__pf_apply(7)
=======================
Apply pf(4) ruleset on \*BSD
Jake Guffey <jake.guffey--@--eprotex.com>
NAME
----
cdist-type__pf_apply - Apply pf(4) ruleset on \*BSD
Jake Guffey <jake.guffey--@--eprotex.com>
DESCRIPTION

5
cdist/conf/type/__pf_ruleset/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__pf_ruleset(7)
=========================
Copy a pf(4) ruleset to $__target_host
NAME
----
cdist-type__pf_ruleset - Copy a pf(4) ruleset to $__target_host
Jake Guffey <jake.guffey--@--eprotex.com>

5
cdist/conf/type/__postfix/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__postfix(7)
======================
Install postfix
NAME
----
cdist-type__postfix - Install postfix
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__postfix_master/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__postfix_master(7)
=============================
Configure postfix master.cf
NAME
----
cdist-type__postfix_master - Configure postfix master.cf
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__postfix_postconf/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__postfix_postconf(7)
===============================
Configure postfix main.cf
NAME
----
cdist-type__postfix_postconf - Configure postfix main.cf
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__postfix_postmap/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__postfix_postmap(7)
==============================
Run postmap on the given file
NAME
----
cdist-type__postfix_postmap - Run postmap on the given file
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__postfix_reload/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__postfix_reload(7)
=============================
Tell postfix to reload its configuration
NAME
----
cdist-type__postfix_reload - Tell postfix to reload its configuration
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__postgres_database/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__postgres_database(7)
================================
Create/drop postgres databases
NAME
----
cdist-type__postgres_database - Create/drop postgres databases
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__postgres_role/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__postgres_role(7)
============================
Manage postgres roles
NAME
----
cdist-type__postgres_role - Manage postgres roles
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__process/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__process(7)
======================
Start or stop process
NAME
----
cdist-type__process - Start or stop process
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__pyvenv/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__pyvenv(7)
=====================
Create or remove python virtual environment
NAME
----
cdist-type__pyvenv - Create or remove python virtual environment
Darko Poljak <darko.poljak--@--gmail.com>

5
cdist/conf/type/__qemu_img/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__qemu_img(7)
=======================
Manage VM disk images
NAME
----
cdist-type__qemu_img - Manage VM disk images
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__rbenv/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__rbenv(7)
====================
Manage rbenv installation
NAME
----
cdist-type__rbenv - Manage rbenv installation
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__rsync/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__rsync(7)
====================
Mirror directories using rsync
NAME
----
cdist-type__rsync - Mirror directories using rsync
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__rvm/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__rvm(7)
==================
Install rvm for a given user
NAME
----
cdist-type__rvm - Install rvm for a given user
Evax Software <contact@evax.fr>

5
cdist/conf/type/__rvm_gem/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__rvm_gemset(7)
==========================
Manage Ruby gems through rvm
NAME
----
cdist-type__rvm_gemset - Manage Ruby gems through rvm
Evax Software <contact@evax.fr>

5
cdist/conf/type/__rvm_gemset/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__rvm_gemset(7)
==========================
Manage gemsets through rvm
NAME
----
cdist-type__rvm_gemset - Manage gemsets through rvm
Evax Software <contact@evax.fr>

5
cdist/conf/type/__rvm_ruby/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__rvm_ruby(7)
=======================
Manage ruby installations through rvm
NAME
----
cdist-type__rvm_ruby - Manage ruby installations through rvm
Evax Software <contact@evax.fr>

5
cdist/conf/type/__ssh_authorized_key/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__ssh_authorized_key(7)
=================================
Manage a single ssh authorized key entry
NAME
----
cdist-type__ssh_authorized_key - Manage a single ssh authorized key entry
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__ssh_authorized_keys/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__ssh_authorized_keys(7)
==================================
Manage ssh authorized_keys files
NAME
----
cdist-type__ssh_authorized_keys - Manage ssh authorized_keys files
Steven Armstrong <steven-cdist--@--armstrong.cc>

7
cdist/conf/type/__ssh_dot_ssh/man.rst vendored

@ -1,12 +1,11 @@
cdist-type__ssh_dot_ssh(7)
==========================
Manage .ssh directory
Nico Schottelius <nico-cdist--@--schottelius.org>
NAME
----
cdist-type__ssh_dot_ssh - Manage .ssh directory
Nico Schottelius <nico-cdist--@--schottelius.org>
DESCRIPTION

5
cdist/conf/type/__staged_file/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__staged_file(7)
==========================
Manage staged files
NAME
----
cdist-type__staged_file - Manage staged files
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__start_on_boot/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__start_on_boot(7)
============================
Manage stuff to be started at boot
NAME
----
cdist-type__start_on_boot - Manage stuff to be started at boot
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__timezone/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__timezone(7)
=======================
Allows one to configure the desired localtime timezone.
NAME
----
cdist-type__timezone - Allows one to configure the desired localtime timezone.
Ramon Salvadó <rsalvado--@--gnuine--dot--com>

5
cdist/conf/type/__update_alternatives/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__update_alternatives(7)
==================================
Configure alternatives
NAME
----
cdist-type__update_alternatives - Configure alternatives
Nico Schottelius <nico-cdist--@--schottelius.org>

5
cdist/conf/type/__user/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__user(7)
===================
Manage users
NAME
----
cdist-type__user - Manage users
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__user_groups/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__user_groups(7)
==========================
Manage user groups
NAME
----
cdist-type__user_groups - Manage user groups
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__yum_repo/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__yum_repo(7)
=======================
Manage yum repositories
NAME
----
cdist-type__yum_repo - Manage yum repositories
Steven Armstrong <steven-cdist--@--armstrong.cc>

5
cdist/conf/type/__zypper_repo/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__zypper_repo(7)
==========================
Repository management with zypper
NAME
----
cdist-type__zypper_repo - Repository management with zypper
Daniel Heule <hda--@--sfs.biz>

5
cdist/conf/type/__zypper_service/man.rst vendored

@ -1,6 +1,9 @@
cdist-type__zypper_service(7)
=============================
Service management with zypper
NAME
----
cdist-type__zypper_service - Service management with zypper
Daniel Heule <hda--@--sfs.biz>

0
cdist/sphinxext/__init__.py vendored

80
cdist/sphinxext/manpage.py vendored

@ -0,0 +1,80 @@
import sphinx.builders.manpage
import sphinx.writers.manpage
from docutils.frontend import OptionParser
from sphinx.util.console import bold, darkgreen
from six import string_types
from docutils.io import FileOutput
from os import path
from sphinx.util.nodes import inline_all_toctrees
from sphinx import addnodes
"""
Extension based on sphinx builtin manpage.
It does not write its own .SH NAME based on config,
but leaves everything to actual reStructuredText file content.
"""
class ManualPageTranslator(sphinx.writers.manpage.ManualPageTranslator):
def header(self):
tmpl = (".TH \"%(title_upper)s\" \"%(manual_section)s\""
" \"%(date)s\" \"%(version)s\" \"%(manual_group)s\"\n")
return tmpl % self._docinfo
class ManualPageWriter(sphinx.writers.manpage.ManualPageWriter):
def __init__(self, builder):
super().__init__(builder)
self.translator_class = (