Skip to content

Commit 4af5e2c

Browse files
committed
Try not separating sphinx configuration
Hopefully this solves issues with readthedocs
1 parent d059db5 commit 4af5e2c

9 files changed

+9
-9
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
**/__pycache__/**
33
*.ipynb
44
*.ipynb_checkpoints/**
5-
docs/build/**
5+
docs/_build/**

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
rev: 'v0.910' # Use the sha / tag you want to point at
2828
hooks:
2929
- id: mypy
30-
exclude: docs/source/conf.py
30+
exclude: docs/conf.py
3131
additional_dependencies:
3232
- types-PyYAML
3333
- repo: https://github.com/codespell-project/codespell

.readthedocs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ build:
44
image: latest
55

66
sphinx:
7-
configuration: docs/source/conf.py
7+
configuration: docs/conf.py
88

99
python:
1010
version: 3.7
1111
install:
12-
- requirements: docs/source/requirements.txt
12+
- requirements: docs/requirements.txt

docs/Makefile

+2-2
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:

docs/source/conf.py docs/conf.py

File renamed without changes.
File renamed without changes.

docs/make.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ REM Command file for Sphinx documentation
77
if "%SPHINXBUILD%" == "" (
88
set SPHINXBUILD=sphinx-build
99
)
10-
set SOURCEDIR=source
11-
set BUILDDIR=build
10+
set SOURCEDIR=.
11+
set BUILDDIR=_build
1212

1313
if "%1" == "" goto help
1414

File renamed without changes.

mypy.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[mypy]
22
ignore_missing_imports = True
33
follow_imports = silent
4-
exclude = docs/source/conf.py
4+
exclude = docs/conf.py

0 commit comments

Comments
 (0)