Skip to content

Commit

Permalink
Improve index, installation and usage pages of documentation (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvervloesem committed Dec 28, 2022
1 parent 5da925f commit ca759b4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ The following sources are used:
* `Bluetooth Assigned Numbers <https://www.bluetooth.com/specifications/assigned-numbers/>`_ for SDO Service UUIDs and Member Service UUIDs
* The `IEEE database of OUIs <https://standards-oui.ieee.org/oui/oui.txt>`_ for prefixes of Bluetooth addresses

.. inclusion-marker-after-intro
Installation
============

Expand Down Expand Up @@ -91,6 +93,10 @@ Get the description of an OUI:
>>> oui["58:2D:34"]
'Qingping Electronics (Suzhou) Co., Ltd'
See the `module reference <https://bluetooth-numbers.readthedocs.io/en/latest/api/modules.html>`_ for complete documentation.

.. inclusion-marker-before-license
License
=======

Expand Down
9 changes: 3 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
=================
bluetooth-numbers
=================

This is the documentation of **bluetooth-numbers**.
.. include:: ../README.rst
:end-before: inclusion-marker-after-intro

Contents
========

.. toctree::
:maxdepth: 2

Overview <readme>
Installation and usage <usage>
Contributions & Help <contributing>
License <license>
Authors <authors>
Expand Down
2 changes: 0 additions & 2 deletions docs/readme.rst

This file was deleted.

7 changes: 7 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
======================
Installation and usage
======================

.. include:: ../README.rst
:start-after: inclusion-marker-after-intro
:end-before: inclusion-marker-before-license

0 comments on commit ca759b4

Please sign in to comment.