Skip to content

Commit

Permalink
Add contributing and documentation things
Browse files Browse the repository at this point in the history
* add github issue templates
* add contribution inforamation
* link all together in documentations
* fine tune documentation index file
* fine tune documentation generation via makefile
  • Loading branch information
cmeissner committed Oct 30, 2020
1 parent 30ad46c commit 263b202
Show file tree
Hide file tree
Showing 8 changed files with 106 additions and 19 deletions.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
<!-- list of steps to reproduce the feature -->

**Expected behavior**
A clear and concise description of what you expected to happen.

**Versions:**

- python
- phpypam

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
41 changes: 41 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# How to contribute to phpipam-ansible-modules

## Did you found a bug

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

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

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

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

## Did you wrote a patch for an open bug

* Open new pull request containing the patch.

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

## Do you want to add a new feature

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

* 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/phpypam/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=).

* Suggest your feature idea within the created feature request.

* Provide as much discribtion as possible to enable others to have a good understanding of what you are doing.

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

## Do you wnat to contribute to documentation

* Write you documentation change.

* Open a PR with your change.

* Discuss with the team about your changes.

## Thank you for any contribution

We will thank you for heed the contribution guidelines and we encourage you to contribute and join the team.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ doc-setup:

doc:
install -d -m 750 ./docs/plugins
sphinx-apidoc -o docs/plugins/ phpypam
sphinx-apidoc -M -f -o docs/plugins/ phpypam
make -C docs html

FORCE:
Expand Down
1 change: 1 addition & 0 deletions docs/CONTRIBUTING.md
9 changes: 7 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ Welcome to phpypam's documentation!

.. toctree::
:maxdepth: 2
:caption: Contents:
:caption: User documentation

README
plugins/phpypam
Changelog <CHANGELOG>
plugins/modules

.. toctree::
:maxdepth: 2
:caption: Developer documentation

Contributing <CONTRIBUTING>


Indices and tables
Expand Down
13 changes: 5 additions & 8 deletions docs/plugins/phpypam.core.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
phpypam.core package
====================

.. automodule:: phpypam.core
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

Expand All @@ -19,11 +24,3 @@ phpypam.core.exceptions module
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: phpypam.core
:members:
:undoc-members:
:show-inheritance:
13 changes: 5 additions & 8 deletions docs/plugins/phpypam.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
phpypam package
===============

.. automodule:: phpypam
:members:
:undoc-members:
:show-inheritance:

Subpackages
-----------

.. toctree::
:maxdepth: 4

phpypam.core

Module contents
---------------

.. automodule:: phpypam
:members:
:undoc-members:
:show-inheritance:

0 comments on commit 263b202

Please sign in to comment.