|
2 | 2 |
|
3 | 3 | import os |
4 | 4 | import sys |
5 | | -sys.path.insert(0, os.path.abspath('.')) |
| 5 | +sys.path.insert(0, os.path.abspath('..')) |
6 | 6 |
|
7 | 7 | # -- General configuration ------------------------------------------------ |
8 | 8 |
|
|
18 | 18 | # Uncomment the below if you use native CircuitPython modules such as |
19 | 19 | # digitalio, micropython and busio. List the modules you use. Without it, the |
20 | 20 | # autodoc module docs will fail to generate with a warning. |
21 | | -autodoc_mock_imports = ["digitalio", "busio", "micropython"] |
| 21 | +autodoc_mock_imports = ["busio", "micropython"] |
22 | 22 |
|
23 | 23 | intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'BusDevice': ('https://circuitpython.readthedocs.io/projects/bus_device/en/latest/', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)} |
24 | 24 |
|
|
28 | 28 | source_suffix = '.rst' |
29 | 29 |
|
30 | 30 | # The master toctree document. |
31 | | -master_doc = 'README' |
| 31 | +master_doc = 'index' |
32 | 32 |
|
33 | 33 | # General information about the project. |
34 | 34 | project = u'Adafruit OneWire Library' |
|
54 | 54 | # List of patterns, relative to source directory, that match files and |
55 | 55 | # directories to ignore when looking for source files. |
56 | 56 | # This patterns also effect to html_static_path and html_extra_path |
57 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 57 | +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.env', 'CODE_OF_CONDUCT.md'] |
58 | 58 |
|
59 | 59 | # The reST default role (used for this markup: `text`) to use for all |
60 | 60 | # documents. |
|
71 | 71 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
72 | 72 | todo_include_todos = False |
73 | 73 |
|
| 74 | +# If this is True, todo emits a warning for each TODO entries. The default is False. |
| 75 | +todo_emit_warnings = True |
| 76 | + |
74 | 77 |
|
75 | 78 | # -- Options for HTML output ---------------------------------------------- |
76 | 79 |
|
|
95 | 98 | # so a file named "default.css" will overwrite the builtin "default.css". |
96 | 99 | html_static_path = ['_static'] |
97 | 100 |
|
| 101 | +# The name of an image file (relative to this directory) to use as a favicon of |
| 102 | +# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
| 103 | +# pixels large. |
| 104 | +# |
| 105 | +html_favicon = '_static/favicon.ico' |
| 106 | + |
98 | 107 | # Output file base name for HTML help builder. |
99 | 108 | htmlhelp_basename = 'AdafruitOnewireLibrarydoc' |
100 | 109 |
|
|
0 commit comments