Skip to content

Commit 7fecc48

Browse files
committed
doc: add quickstart and installation
Signed-off-by: Boris Glimcher <[email protected]>
1 parent c26d71f commit 7fecc48

8 files changed

Lines changed: 103 additions & 9 deletions

File tree

doc/api.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
===
2+
API
3+
===
4+
5+
.. module:: libnvme
6+
7+
This part of the documentation lists the full API reference of all public classes and
8+
functions.
9+
10+
.. include:: rst/types.rst
11+
.. include:: rst/ioctl.rst
12+
.. include:: rst/fabrics.rst
13+
.. include:: rst/linux.rst
14+
.. include:: rst/tree.rst
15+
.. include:: rst/filters.rst
16+
.. include:: rst/util.rst
17+
.. include:: rst/log.rst

doc/api.rst.in

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
===
2+
API
3+
===
4+
5+
.. module:: libnvme
6+
7+
This part of the documentation lists the full API reference of all public classes and
8+
functions.
9+
10+
.. include:: rst/types.rst
11+
.. include:: rst/ioctl.rst
12+
.. include:: rst/fabrics.rst
13+
.. include:: rst/linux.rst
14+
.. include:: rst/tree.rst
15+
.. include:: rst/filters.rst
16+
.. include:: rst/util.rst
17+
.. include:: rst/log.rst

doc/index.rst

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
Welcome to libnvme's documentation!
22
===================================
33

4+
This is the libnvme development C library. libnvme provides type definitions for
5+
NVMe specification structures, enumerations, and bit fields,
6+
helper functions to construct, dispatch, and decode commands and payloads,
7+
and utilities to connect, scan, and manage nvme devices on a Linux system.
8+
49
.. toctree::
510
:maxdepth: 2
611
:caption: Contents:
712

8-
.. include:: rst/types.rst
9-
.. include:: rst/ioctl.rst
10-
.. include:: rst/fabrics.rst
11-
.. include:: rst/linux.rst
12-
.. include:: rst/tree.rst
13-
.. include:: rst/filters.rst
14-
.. include:: rst/util.rst
15-
.. include:: rst/log.rst
16-
13+
installation.rst
14+
quickstart.rst
15+
api.rst
1716

1817
Indices and tables
1918
==================

doc/installation.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Installation
2+
============
3+
4+
Python Version
5+
--------------
6+
7+
tbd
8+
9+
Dependencies
10+
------------
11+
12+
tbd
13+
14+
Install libnvme
15+
-------------
16+
17+
libnvme is available on `PyPI`_, and can be installed using pip. The version on PyPI is
18+
always the latest stable release.
19+
20+
.. _PyPi: https://pypi.org/project/libnvme/
21+
22+
.. code-block:: sh
23+
24+
$ pip install libnvme

doc/installation.rst.in

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Installation
2+
============
3+
4+
Python Version
5+
--------------
6+
7+
tbd
8+
9+
Dependencies
10+
------------
11+
12+
tbd
13+
14+
Install libnvme
15+
-------------
16+
17+
libnvme is available on `PyPI`_, and can be installed using pip. The version on PyPI is
18+
always the latest stable release.
19+
20+
.. _PyPi: https://pypi.org/project/libnvme/
21+
22+
.. code-block:: sh
23+
24+
$ pip install libnvme

doc/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ api_files = [
2121

2222
sphinx_sources = [
2323
'conf.py',
24+
'api.rst',
2425
'index.rst',
26+
'quickstart.rst',
27+
'installation.rst',
2528
'config-schema.json'
2629
]
2730

doc/quickstart.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
==========
2+
Quickstart
3+
==========
4+
5+
tbd

doc/quickstart.rst.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
==========
2+
Quickstart
3+
==========
4+
5+
tbd

0 commit comments

Comments
 (0)