Skip to content

Commit bc71bef

Browse files
Change Sphinx build to merged layout
1 parent d1bce9f commit bc71bef

12 files changed

Lines changed: 9 additions & 5 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ share/python-wheels/
2323
*.egg
2424
MANIFEST
2525

26+
# Sphinx documentation
27+
docs/_build/
28+
2629
# Environments
2730
.env
2831
.envrc

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build:
1212

1313
# Build documentation in the "docs/" directory with Sphinx
1414
sphinx:
15-
configuration: docs/source/conf.py
15+
configuration: docs/conf.py
1616
fail_on_warning: true
1717

1818
# Optionally, but recommended,

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# from the environment for the first two.
66
SPHINXOPTS ?=
77
SPHINXBUILD ?= sphinx-build
8-
SOURCEDIR = source
9-
BUILDDIR = build
8+
SOURCEDIR = .
9+
BUILDDIR = _build
1010

1111
# Put it first so that "make" without argument is like "make help".
1212
help:
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
]
2121

2222
templates_path = ["_templates"]
23+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
2324

2425
# -- Options for HTML output -------------------------------------------------
2526
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

0 commit comments

Comments
 (0)