Repository: pytest-dev/pytest-testinfra (language: python)

Issue:
Environment class not clickable in module documenation
Hi,

all modules are linked in the [host section](https://testinfra.readthedocs.io/en/latest/modules.html#host) of the module documentation. Unlike all other modules, there is no link for the environmental module.

Please add this missing link.

Thank you,
Carsten


Discussion / hints:

Fix patch:
diff --git a/doc/source/modules.rst b/doc/source/modules.rst
index ebbb3dc2..b7d9bf13 100644
--- a/doc/source/modules.rst
+++ b/doc/source/modules.rst
@@ -145,6 +145,12 @@ Docker
    :members:
 
 
+Environment
+~~~~~~~~~~~
+
+.. autoclass:: testinfra.modules.environment.Environment(name)
+   :members:
+
 File
 ~~~~
 


Test patch:
diff --git a/testinfra/modules/environment.py b/testinfra/modules/environment.py
index a762d74e..847127a5 100644
--- a/testinfra/modules/environment.py
+++ b/testinfra/modules/environment.py
@@ -18,7 +18,7 @@ class Environment(InstanceModule):
 
     Example:
 
-     >>> host.environment()
+    >>> host.environment()
     {
         "EDITOR": "vim",
         "SHELL": "/bin/bash",