Skip to content

Commit 4121937

Browse files
authored
Merge pull request #54 from SummaCumWilly/docs-update
Documentation update
2 parents 4a626d0 + e7481a0 commit 4121937

21 files changed

+192
-46
lines changed

CONTRIBUTING.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,45 @@
11
# How to contribute to phpipam-ansible-modules
22

3-
## Did you found a bug
3+
## Did you found a bug?
44

5-
* Do not open Github issue it the bug concerns [{php}IPAM](https://github.com/phpipam/phpipam) and not the ansible modules.
5+
* Do not open a Github issue if the bug concerns [{php}IPAM](https://github.com/phpipam/phpipam) and not the ansible modules.
66

77
* Make sure the bug is not already opened by another user.
88

9-
* If you can't find an open issue which reflects your observed problem go ahead an [open a new bug](https://github.com/codeaffen/phpipam-ansible-modules/issues/new?assignees=&labels=bug&template=bug_report.md&title=).
9+
* If you can't find an open issue which reflects your observed problem, go ahead and [open a new bug](https://github.com/codeaffen/phpipam-ansible-modules/issues/new?assignees=&labels=bug&template=bug_report.md&title=).
1010

1111
* Provide as much information as mentioned in the bug report template.
1212

13-
## Did you wrote a patch for an open bug
13+
## Did you write a patch for an open bug?
1414

1515
* Open new pull request containing the patch.
1616

1717
* Provide a clear description which describes the problem and the solution. Link the existing bug to the PR.
1818

19-
## Do you want to add a new feature
19+
## Do you want to add a new feature?
2020

2121
* Make sure there isn't already a feature request.
2222

23-
* If you can't find an open feature request which describe your feature idea or parts of it feel free to [open a new feature request](https://github.com/codeaffen/phpipam-ansible-modules/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=).
23+
* If you can't find an open feature request which describes your feature idea or parts of it, feel free to [open a new feature request](https://github.com/codeaffen/phpipam-ansible-modules/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=).
2424

2525
* Suggest your feature idea within the created feature request.
2626

27-
* Provide as much discribtion as possible to enable others to have a good understanding of what you are doing.
27+
* Provide as much description as possible to enable others to have a good understanding of what you are doing.
2828

2929
* Point out that you want to start to work on the new feature
3030

31-
## Do you wnat to contribute to documentation
31+
## Do you wnat to contribute to documentation?
3232

33-
* Write you documentation change.
33+
* Fork me.
3434

35-
* Open a PR with your change.
35+
* Create a documentation branch.
36+
37+
* Write your documentation changes.
38+
39+
* Open a PR with your changes.
3640

3741
* Discuss with the team about your changes.
3842

3943
## Thank you for any contribution
4044

41-
We will thank you for heed the contribution guidelines and we encourage you to contribute and join the team.
45+
We will thank you for heeding the contribution guidelines and we encourage you to contribute and join the team.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/0372c2bb95e845ce96fa5d4cf13ca1ca)](https://www.codacy.com/gh/codeaffen/phpipam-ansible-modules/dashboard?utm_source=github.com&utm_medium=referral&utm_content=codeaffen/phpipam-ansible-modules&utm_campaign=Badge_Grade)
55
[![Documentation Status](https://readthedocs.org/projects/phpipam-ansible-modules/badge/?version=develop)](https://phpipam-ansible-modules.readthedocs.io/en/develop/?badge=develop)
66

7-
This collection provides modules to manage entities in a [phpIPAM](https://phpipam.net/). This is neighter a collection of roles nor playbooks. It provides modules to wrote your own roles and/or playbooks.
7+
This collection provides modules to manage entities in a [phpIPAM](https://phpipam.net/). This is neither a collection of roles nor playbooks. It provides modules to write your own roles and/or playbooks.
88

99
We get a lot of inspiration from [foreman-ansible-modules](https://galaxy.ansible.com/theforeman/foreman) for our modules.
1010

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
minor_changes:
2+
- Minor formatting and spelling fixes.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# -- Project information -----------------------------------------------------
2121

2222
project = u'phpIPAM Ansible Modules'
23-
copyright = u'2020, codeaffen'
23+
copyright = u'2021, codeaffen'
2424
author = u'codeaffen'
2525

2626
# The short X.Y version

docs/filters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Filters are used to manipulate data if needed.
66
is_subnet
77
---------
88

9-
This filter checks wether a given subnet belongs to the second one. It returns `true` if first subnet belongs to second and `false` if not or both subnets are the same.
9+
This filter checks whether a given subnet belongs to the second one. It returns `true` if first subnet belongs to the second and `false` if not, or if both subnets are the same.
1010

1111
**since version:** 1.2.0
1212

docs/plugins/address_module.rst

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
33
:orphan:
44

5+
.. |antsibull-internal-nbsp| unicode:: 0xA0
6+
:trim:
7+
8+
.. role:: ansible-attribute-support-label
9+
.. role:: ansible-attribute-support-property
10+
.. role:: ansible-attribute-support-full
11+
.. role:: ansible-attribute-support-partial
12+
.. role:: ansible-attribute-support-none
13+
.. role:: ansible-attribute-support-na
14+
515
.. Anchors
616
717
.. _ansible_collections.codeaffen.phpipam.address_module:
@@ -20,7 +30,7 @@ codeaffen.phpipam.address -- Manage addresses
2030
.. Collection note
2131
2232
.. note::
23-
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_.
33+
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_ (version 1.3.1).
2434

2535
To install it use: :code:`ansible-galaxy collection install codeaffen.phpipam`.
2636

@@ -416,6 +426,9 @@ Parameters
416426
</table>
417427
<br/>
418428

429+
.. Attributes
430+
431+
419432
.. Notes
420433
421434
@@ -430,12 +443,13 @@ Examples
430443
.. code-block:: yaml+jinja
431444

432445

433-
- name: "Reserve a IP address"
446+
- name: "Reserve an IP address"
434447
codeaffen.phpipam.section:
435448
username: "admin"
436449
password: "s3cr3t"
437450
server_url: "https://ipam.example.com"
438451
address: "192.0.2.1"
452+
section: "Customers"
439453
description: "Default router of sunet"
440454
subnet: "192.0.2.0/24"
441455
is_gateway: yes
@@ -448,6 +462,7 @@ Examples
448462
server_url: "https://ipam.example.com"
449463
address: "192.0.2.1"
450464
subnet: "192.0.2.0/24"
465+
section: "Customers"
451466
state: absent
452467

453468

docs/plugins/device_module.rst

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
33
:orphan:
44

5+
.. |antsibull-internal-nbsp| unicode:: 0xA0
6+
:trim:
7+
8+
.. role:: ansible-attribute-support-label
9+
.. role:: ansible-attribute-support-property
10+
.. role:: ansible-attribute-support-full
11+
.. role:: ansible-attribute-support-partial
12+
.. role:: ansible-attribute-support-none
13+
.. role:: ansible-attribute-support-na
14+
515
.. Anchors
616
717
.. _ansible_collections.codeaffen.phpipam.device_module:
@@ -20,7 +30,7 @@ codeaffen.phpipam.device -- Manage devices
2030
.. Collection note
2131
2232
.. note::
23-
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_.
33+
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_ (version 1.3.1).
2434

2535
To install it use: :code:`ansible-galaxy collection install codeaffen.phpipam`.
2636

@@ -438,9 +448,9 @@ Parameters
438448
</td>
439449
<td>
440450
<div>Device type of this device.</div>
441-
<div>The value have to reflect values from device types configured.</div>
451+
<div>The value has to reflect values from device types configured.</div>
442452
<div>Default device types are <em>Switch</em>, <em>Router</em>, <em>Firewall</em>, <em>Hub</em>, <em>Wireless</em>, <em>Database</em>, <em>Workstation</em>, <em>Laptop</em> and <em>Other</em>.</div>
443-
<div>User defined types can be created eigther via UI, API (e.g. <em>device_type</em> ansible module within this collection).</div>
453+
<div>User defined types can be created either via UI, API (e.g. <em>device_type</em> ansible module within this collection).</div>
444454
</td>
445455
</tr>
446456
<tr>
@@ -480,6 +490,9 @@ Parameters
480490
</table>
481491
<br/>
482492

493+
.. Attributes
494+
495+
483496
.. Notes
484497
485498

docs/plugins/device_type_module.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
33
:orphan:
44

5+
.. |antsibull-internal-nbsp| unicode:: 0xA0
6+
:trim:
7+
8+
.. role:: ansible-attribute-support-label
9+
.. role:: ansible-attribute-support-property
10+
.. role:: ansible-attribute-support-full
11+
.. role:: ansible-attribute-support-partial
12+
.. role:: ansible-attribute-support-none
13+
.. role:: ansible-attribute-support-na
14+
515
.. Anchors
616
717
.. _ansible_collections.codeaffen.phpipam.device_type_module:
@@ -20,7 +30,7 @@ codeaffen.phpipam.device_type -- Manage device types
2030
.. Collection note
2131
2232
.. note::
23-
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_.
33+
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_ (version 1.3.1).
2434

2535
To install it use: :code:`ansible-galaxy collection install codeaffen.phpipam`.
2636

@@ -204,6 +214,9 @@ Parameters
204214
</table>
205215
<br/>
206216

217+
.. Attributes
218+
219+
207220
.. Notes
208221
209222

docs/plugins/domain_module.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
33
:orphan:
44

5+
.. |antsibull-internal-nbsp| unicode:: 0xA0
6+
:trim:
7+
8+
.. role:: ansible-attribute-support-label
9+
.. role:: ansible-attribute-support-property
10+
.. role:: ansible-attribute-support-full
11+
.. role:: ansible-attribute-support-partial
12+
.. role:: ansible-attribute-support-none
13+
.. role:: ansible-attribute-support-na
14+
515
.. Anchors
616
717
.. _ansible_collections.codeaffen.phpipam.domain_module:
@@ -20,7 +30,7 @@ codeaffen.phpipam.domain -- Manage L2 routing domains
2030
.. Collection note
2131
2232
.. note::
23-
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_.
33+
This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_ (version 1.3.1).
2434

2535
To install it use: :code:`ansible-galaxy collection install codeaffen.phpipam`.
2636

@@ -219,6 +229,9 @@ Parameters
219229
</table>
220230
<br/>
221231

232+
.. Attributes
233+
234+
222235
.. Notes
223236
224237

docs/plugins/index.rst

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
:orphan:
21

32
.. _plugins_in_codeaffen.phpipam:
43

5-
Plugin Index
6-
============
4+
Codeaffen.Phpipam
5+
=================
76

8-
These are the plugins in the codeaffen.phpipam collection
7+
Collection version 1.3.1
98

109
.. toctree::
1110
:maxdepth: 1
1211

1312

13+
Plugin Index
14+
------------
15+
16+
These are the plugins in the codeaffen.phpipam collection
17+
18+
1419
Modules
15-
-------
20+
~~~~~~~
1621

1722
* :ref:`address <ansible_collections.codeaffen.phpipam.address_module>` -- Manage addresses
1823
* :ref:`device <ansible_collections.codeaffen.phpipam.device_module>` -- Manage devices
@@ -25,6 +30,21 @@ Modules
2530
* :ref:`vrf <ansible_collections.codeaffen.phpipam.vrf_module>` -- Manage virtual routers and forwarders
2631

2732

33+
2834
.. seealso::
2935

30-
List of :ref:`collections <list_of_collections>` with docs hosted here.
36+
List of :ref:`collections <list_of_collections>` with docs hosted here.
37+
38+
.. toctree::
39+
:maxdepth: 1
40+
:hidden:
41+
42+
address_module
43+
device_module
44+
device_type_module
45+
domain_module
46+
nameserver_module
47+
section_module
48+
subnet_module
49+
vlan_module
50+
vrf_module

0 commit comments

Comments
 (0)