Skip to content

Commit 48f1772

Browse files
committed
setup docs folder
1 parent 804a973 commit 48f1772

File tree

5 files changed

+71
-3
lines changed

5 files changed

+71
-3
lines changed

docs/_static/favicon.ico

4.31 KB
Binary file not shown.

api.rst renamed to docs/api.rst

File renamed without changes.

conf.py renamed to docs/conf.py

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

33
import os
44
import sys
5-
sys.path.insert(0, os.path.abspath('.'))
5+
sys.path.insert(0, os.path.abspath('..'))
66

77
# -- General configuration ------------------------------------------------
88

@@ -29,7 +29,7 @@
2929
source_suffix = '.rst'
3030

3131
# The master toctree document.
32-
master_doc = 'README'
32+
master_doc = 'index'
3333

3434
# General information about the project.
3535
project = u'Adafruit MAX31865 Library'
@@ -55,7 +55,7 @@
5555
# List of patterns, relative to source directory, that match files and
5656
# directories to ignore when looking for source files.
5757
# This patterns also effect to html_static_path and html_extra_path
58-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
58+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.env', 'CODE_OF_CONDUCT.md']
5959

6060
# The reST default role (used for this markup: `text`) to use for all
6161
# documents.
@@ -72,6 +72,9 @@
7272
# If true, `todo` and `todoList` produce output, else they produce nothing.
7373
todo_include_todos = False
7474

75+
# If this is True, todo emits a warning for each TODO entries. The default is False.
76+
todo_emit_warnings = True
77+
7578

7679
# -- Options for HTML output ----------------------------------------------
7780

@@ -96,6 +99,12 @@
9699
# so a file named "default.css" will overwrite the builtin "default.css".
97100
html_static_path = ['_static']
98101

102+
# The name of an image file (relative to this directory) to use as a favicon of
103+
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
104+
# pixels large.
105+
#
106+
html_favicon = '_static/favicon.ico'
107+
99108
# Output file base name for HTML help builder.
100109
htmlhelp_basename = 'AdafruitMAX31865Librarydoc'
101110

docs/examples.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Simple test
2+
------------
3+
4+
Ensure your device works with this simple test.
5+
6+
.. literalinclude:: ../examples/max31865_simpletest.py
7+
:caption: examples/max31865_simpletest.py
8+
:linenos:

docs/index.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
.. include:: ../README.rst
2+
3+
Table of Contents
4+
=================
5+
6+
.. toctree::
7+
:maxdepth: 4
8+
:hidden:
9+
10+
self
11+
12+
.. toctree::
13+
:caption: Examples
14+
15+
examples
16+
17+
.. toctree::
18+
:caption: API Reference
19+
:maxdepth: 3
20+
21+
api
22+
23+
.. toctree::
24+
:caption: Tutorials
25+
26+
.. toctree::
27+
:caption: Related Products
28+
29+
Adafruit Universal Thermocouple Amplifier MAX31856 Breakout <https://www.adafruit.com/product/3263>
30+
31+
Adafruit PT100 RTD Temperature Sensor Amplifier - MAX31865 <https://www.adafruit.com/product/3328>
32+
33+
Adafruit PT1000 RTD Temperature Sensor Amplifier - MAX31865 <https://www.adafruit.com/product/3648>
34+
35+
.. toctree::
36+
:caption: Other Links
37+
38+
Download <https://github.com/adafruit/Adafruit_CircuitPython_MAX31865/releases/latest>
39+
CircuitPython Reference Documentation <https://circuitpython.readthedocs.io>
40+
CircuitPython Support Forum <https://forums.adafruit.com/viewforum.php?f=60>
41+
Discord Chat <https://adafru.it/discord>
42+
Adafruit Learning System <https://learn.adafruit.com>
43+
Adafruit Blog <https://blog.adafruit.com>
44+
Adafruit Store <https://www.adafruit.com>
45+
46+
Indices and tables
47+
==================
48+
49+
* :ref:`genindex`
50+
* :ref:`modindex`
51+
* :ref:`search`

0 commit comments

Comments
 (0)