|
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 |
|
|
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 TSL2591 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 |
|
|
93 | 96 | # Add any paths that contain custom static files (such as style sheets) here,
|
94 | 97 | # relative to this directory. They are copied after the builtin static files,
|
95 | 98 | # so a file named "default.css" will overwrite the builtin "default.css".
|
96 |
| -#html_static_path = ['_static'] |
| 99 | +html_static_path = ['_static'] |
| 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' |
97 | 106 |
|
98 | 107 | # Output file base name for HTML help builder.
|
99 | 108 | htmlhelp_basename = 'AdafruitTsl2591Librarydoc'
|
|
0 commit comments