Skip to content

Commit 2ece10c

Browse files
committed
Add more docs
1 parent eefb55d commit 2ece10c

File tree

15 files changed

+186
-10
lines changed

15 files changed

+186
-10
lines changed

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"njpwerner.autodocstring",
4+
"ms-python.python"
5+
]
6+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"autoDocstring.docstringFormat": "sphinx"
3+
}

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ Particularly, some `appliances (Proxmox, XCP-ng and KVM) are prepared <https://d
3333
python/shares.rst
3434
python/computer.rst
3535
python/config.rst
36+
python/environment.rst
37+
python/fileHelper.rst
38+
python/gpo.rst
39+
python/hooks.rst
40+
python/imageHelper.rst

docs/python/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Module: config
33

44
This module is used to deal with all config files:
55

6-
* `/etc/linuxmusterLinuxclient7/network.conf`
6+
* `/etc/linuxmuster-linuxclient7/network.conf`
77

88
Members
99
=======

docs/python/environment.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Module: environment
2+
*******************
3+
4+
This module is used to export and unset environment variables during the onLogin/logon hook.
5+
6+
Members
7+
=======
8+
.. automodule:: linuxmusterLinuxclient7.environment
9+
:members:

docs/python/fileHelper.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Module: fileHelper
2+
******************
3+
4+
This module is used to deal files.
5+
6+
Members
7+
=======
8+
.. automodule:: linuxmusterLinuxclient7.fileHelper
9+
:members:

docs/python/gpo.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Module: gpo
2+
***********
3+
4+
This module is used to deal with Microsoft GPOs.
5+
6+
Members
7+
=======
8+
.. automodule:: linuxmusterLinuxclient7.gpo
9+
:members:

docs/python/hooks.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Module: hooks
2+
*************
3+
4+
This module is used to deal with local hookdirs in `/etc/linuxmuster-linuxclient7` and the sysvol.
5+
6+
Members
7+
=======
8+
.. automodule:: linuxmusterLinuxclient7.hooks
9+
:members:

docs/python/imageHelper.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Module: imageHelper
2+
*******************
3+
4+
This module is used to prepare a client for imaging.
5+
6+
Members
7+
=======
8+
.. automodule:: linuxmusterLinuxclient7.imageHelper
9+
:members:

usr/lib/python3/dist-packages/linuxmusterLinuxclient7/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
def network():
55
"""
6-
Get the network configuration in `/etc/linuxmusterLinuxclient7/network.conf`
6+
Get the network configuration in `/etc/linuxmuster-linuxclient7/network.conf`
77
88
:return: Tuple (success, dict of keys)
99
:rtype: tuple
@@ -30,7 +30,7 @@ def network():
3030

3131
def writeNetworkConfig(newNetworkConfig):
3232
"""
33-
Write the network configuration in `/etc/linuxmusterLinuxclient7/network.conf`
33+
Write the network configuration in `/etc/linuxmuster-linuxclient7/network.conf`
3434
3535
:param newNetworkConfig: The new config
3636
:type newNetworkConfig: dict
@@ -64,7 +64,7 @@ def writeNetworkConfig(newNetworkConfig):
6464

6565
def upgrade():
6666
"""
67-
Upgrade the format of the network configuration in `/etc/linuxmusterLinuxclient7/network.conf`
67+
Upgrade the format of the network configuration in `/etc/linuxmuster-linuxclient7/network.conf`
6868
This is done automatically on package upgrades.
6969
7070
:return: True or False

0 commit comments

Comments
 (0)