Fix module formatter indexing

This commit is contained in:
Michael DeHaan 2012-10-03 23:31:50 -04:00
parent e170d7304b
commit 761330b125
43 changed files with 45 additions and 43 deletions

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.APT 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.APT 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/apt
.SH NAME
apt \- Manages apt-packages

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.APT_REPOSITORY 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.APT_REPOSITORY 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/apt_repository
.SH NAME
apt_repository \- Manages apt repositores

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.ASSEMBLE 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.ASSEMBLE 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/assemble
.SH NAME
assemble \- Assembles a configuration file from fragments

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.ASYNC_STATUS 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.ASYNC_STATUS 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/async_status
.SH NAME
async_status \- Obtain status of asynchronous task

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.AUTHORIZED_KEY 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.AUTHORIZED_KEY 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/authorized_key
.SH NAME
authorized_key \- Adds or removes an SSH authorized key

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.COMMAND 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.COMMAND 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/command
.SH NAME
command \- Executes a command on a remote node

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.COPY 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.COPY 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/copy
.SH NAME
copy \- Copies files to remote locations.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.EASY_INSTALL 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.EASY_INSTALL 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/easy_install
.SH NAME
easy_install \- Installs Python libraries

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.FACTER 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.FACTER 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/facter
.SH NAME
facter \- Runs the discovery program I(facter) on the remote system

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.FAIL 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.FAIL 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/fail
.SH NAME
fail \- Fail with custom message

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.FETCH 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.FETCH 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/fetch
.SH NAME
fetch \- Fetches a file from remote nodes

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.FILE 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.FILE 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/file
.SH NAME
file \- Sets attributes of files
@ -35,6 +35,8 @@ accepts only \fCdefault\fR as value. This will restore a file's SELinux context
default.
.IP owner
name of the user that should own the file/directory, as would be fed to \fIchown\fR
.IP force
force is required when changing an existing file to a directory, or a link to a directory, and so on. Use this with caution.
.IP setype
type part of SELinux file context, \fC_default\fR feature works as for \fIseuser\fR.."
."

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.FIREBALL 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.FIREBALL 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/fireball
.SH NAME
fireball \- Enable fireball mode on remote node

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.GET_URL 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.GET_URL 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/get_url
.SH NAME
get_url \- Downloads files from HTTP, HTTPS, or FTP to node

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.GIT 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.GIT 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/git
.SH NAME
git \- Deploy software (or files) from git checkouts

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.GROUP 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.GROUP 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/group
.SH NAME
group \- Add or remove groups

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.INI_FILE 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.INI_FILE 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/ini_file
.SH NAME
ini_file \- Tweak settings in INI files

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.LINEINFILE 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.LINEINFILE 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/lineinfile
.SH NAME
lineinfile \- Ensure a particular line is in a file

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.MOUNT 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.MOUNT 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/mount
.SH NAME
mount \- Control active and configured mount points

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.MYSQL_DB 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.MYSQL_DB 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/mysql_db
.SH NAME
mysql_db \- Add or remove MySQL databases from a remote host.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.MYSQL_USER 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.MYSQL_USER 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/mysql_user
.SH NAME
mysql_user \- Adds or removes a user from a MySQL database.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.NAGIOS 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.NAGIOS 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/nagios
.SH NAME
nagios \- Perform common tasks in Nagios related to downtime and notifications.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.OHAI 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.OHAI 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/ohai
.SH NAME
ohai \- Returns inventory data from I(ohai)

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.PAUSE 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.PAUSE 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/pause
.SH NAME
pause \- Pause playbook execution

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.PING 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.PING 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/ping
.SH NAME
ping \- Try to connect to host and return pong on success.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.PIP 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.PIP 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/pip
.SH NAME
pip \- Manages Python library dependencies.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.POSTGRESQL_DB 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.POSTGRESQL_DB 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/postgresql_db
.SH NAME
postgresql_db \- Add or remove PostgreSQL databases from a remote host.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.POSTGRESQL_USER 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.POSTGRESQL_USER 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/postgresql_user
.SH NAME
postgresql_user \- Adds or removes a users (roles) from a PostgreSQL database.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.RAW 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.RAW 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/raw
.SH NAME
raw \- Executes a low-down and dirty SSH command

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SEBOOLEAN 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SEBOOLEAN 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/seboolean
.SH NAME
seboolean \- Toggles SELinux booleans.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SELINUX 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SELINUX 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/selinux
.SH NAME
selinux \- Change policy and state of SELinux

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SERVICE 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SERVICE 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/service
.SH NAME
service \- Manage services.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SETUP 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SETUP 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/setup
.SH NAME
setup \- Gathers facts about remote hosts

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SHELL 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SHELL 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/shell
.SH NAME
shell \- Execute commands in nodes.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SLURP 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SLURP 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/slurp
.SH NAME
slurp \- Slurps a file from remote nodes

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SUBVERSION 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SUBVERSION 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/subversion
.SH NAME
subversion \- Deploys a subversion repository.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.SUPERVISORCTL 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.SUPERVISORCTL 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/supervisorctl
.SH NAME
supervisorctl \- Manage the state of a program or group of programs running via Supervisord

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.TEMPLATE 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.TEMPLATE 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/template
.SH NAME
template \- Templates a file out to a remote server.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.USER 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.USER 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/user
.SH NAME
user \- Manage user accounts

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.VIRT 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.VIRT 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/virt
.SH NAME
virt \- Manages virtual machines supported by libvirt

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.WAIT_FOR 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.WAIT_FOR 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/wait_for
.SH NAME
wait_for \- Waits for a given port to become accessible on a server.

View file

@ -1,4 +1,4 @@
.TH ANSIBLE.YUM 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
.TH ANSIBLE.YUM 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/yum
.SH NAME
yum \- Manages packages with the I(yum) package manager

View file

@ -262,7 +262,7 @@ def main():
template = env.get_template('rst.j2')
outputname = "%s.rst"
includecmt = ".. Generated by module_formatter\n"
includefmt = ".. include:: %s.rst\n"
includefmt = ".. include:: modules/%s.rst\n"
if args.type == 'json':
env.filters['jpfunc'] = json_ify
outputname = "%s.json"