Skip to content

Commit 02c81da

Browse files
committed
doc: Fix sphinx setup
sphinx warns about cyclic refernce. Do not include the index into the index file. Also add the build dir and index.rst to the ignore list. This avoids another type of warnings. Signed-off-by: Daniel Wagner <[email protected]>
1 parent c83256d commit 02c81da

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# List of patterns, relative to source directory, that match files and
4141
# directories to ignore when looking for source files.
4242
# This pattern also affects html_static_path and html_extra_path.
43-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
43+
exclude_patterns = ['html', 'man', 'index.rst', 'Thumbs.db', '.DS_Store']
4444

4545

4646
# -- Options for HTML output -------------------------------------------------

doc/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Welcome to libnvme's documentation!
1010
:maxdepth: 2
1111
:caption: Contents:
1212

13-
index
1413
libnvme
1514

1615

0 commit comments

Comments
 (0)