Skip to content

Commit 7ab7fbd

Browse files
committed
Started on docs
1 parent 475b406 commit 7ab7fbd

File tree

5 files changed

+76
-0
lines changed

5 files changed

+76
-0
lines changed

docs/conf.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
3+
# Copyright (C) 2020, 2021 igo95862
4+
5+
# This file is part of python-sdbus
6+
7+
# This library is free software; you can redistribute it and/or
8+
# modify it under the terms of the GNU Lesser General Public
9+
# License as published by the Free Software Foundation; either
10+
# version 2.1 of the License, or (at your option) any later version.
11+
12+
# This library is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# Lesser General Public License for more details.
16+
17+
# You should have received a copy of the GNU Lesser General Public
18+
# License along with this library; if not, write to the Free Software
19+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20+
from os.path import abspath
21+
from sys import path
22+
23+
project = 'python-sdbus-networkmanager'
24+
author = 'igo95862'
25+
source_suffix = '.rst'
26+
extensions = ['sdbus.autodoc']
27+
28+
autoclass_content = 'both'
29+
autodoc_typehints = 'description'
30+
autodoc_member_order = 'bysource'
31+
32+
path.insert(0, abspath('..'))

docs/device_interfaces.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Devices interfaces
2+
==================
3+
4+
Contains interfaces for most types of devices.
5+
6+
.. autoclass:: sdbus_async.networkmanager.NetworkManagerDeviceWiredInterfaceAsync
7+
:members:

docs/index.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Network Manager binds for python-sdbus
2+
======================================
3+
4+
This package contains python-sdbus for D-Bus interface
5+
of `NetworkManager <https://wiki.gnome.org/Projects/NetworkManager>`_.
6+
7+
.. toctree::
8+
:maxdepth: 3
9+
:caption: Contents:
10+
11+
objects
12+
device_interfaces
13+
other_interfaces
14+
15+
See `python-sdbus <https://github.com/igo95862/python-sdbus>`_ homepage if you are
16+
unfamiliar with python-sdbus.

docs/objects.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Network Manager objects
2+
=======================
3+
4+
All objects avaiable in NetworkManager.
5+
6+
Only the implemented interfaces for each object
7+
are documented. Click on interface link to see
8+
which properties and methods does the interface implements.
9+
10+
Network Manager main object
11+
---------------------------
12+
13+
.. autoclass:: sdbus_async.networkmanager.NetworkManager
14+
:members:

docs/other_interfaces.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Other interfaces
2+
============================
3+
4+
Not device interfaces implemented by NetworkManager.
5+
6+
.. autoclass:: sdbus_async.networkmanager.NetworkManagerInterfaceAsync
7+
:members:

0 commit comments

Comments
 (0)