|
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 |
|
|
20 | 20 | # autodoc module docs will fail to generate with a warning.
|
21 | 21 | autodoc_mock_imports = ["adafruit_bus_device", "micropython"]
|
22 | 22 |
|
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)} |
| 23 | +intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'BusDevice': ('https://circuitpython.readthedocs.io/projects/busdevice/en/latest/', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)} |
24 | 24 |
|
25 | 25 | # Add any paths that contain templates here, relative to this directory.
|
26 | 26 | templates_path = ['_templates']
|
27 | 27 |
|
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 FocalTouch 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 = 'AdafruitFocalTouchLibrarydoc'
|
100 | 109 |
|
|
0 commit comments