Skip to content

Commit 9f0e968

Browse files
committed
Reorganize documentation into namespace packages.
1 parent 2be4b58 commit 9f0e968

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+61
-212
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
pip install wheel
3737
pip install -r requirements/${{ matrix.python-version }}.txt
3838
- name: Build documentation
39-
run: sphinx-build -nW docs docs/_build/html
39+
run: sphinx-build -nW . docs/_build
4040
- name: Run doctests
41-
run: sphinx-build -b doctest docs docs/_build/html
41+
run: sphinx-build -b doctest . docs/_build
4242

4343
build:
4444
strategy:

.readthedocs.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
1-
# .readthedocs.yml
2-
# Read the Docs configuration file
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
1+
# Read the Docs configuration file (see https://docs.readthedocs.io/en/stable/config-file/v2.html
2+
# for details).
43

54
# Required
65
version: 2
76

8-
# Build documentation in the docs/ directory with Sphinx
97
sphinx:
10-
configuration: docs/conf.py
11-
12-
# Optionally build your docs in additional formats such as PDF and ePub
8+
configuration: conf.py
139
formats: all
14-
15-
# Optionally set the version of Python and requirements required to build your docs
1610
python:
17-
version: 3.7
11+
version: "3.7"
1812
install:
1913
- requirements: requirements/3.7.txt

README.rst

Lines changed: 25 additions & 0 deletions

arangodb/README.rst

Lines changed: 1 addition & 0 deletions

azurite/README.rst

Lines changed: 1 addition & 0 deletions

clickhouse/README.rst

Lines changed: 1 addition & 0 deletions

compose/README.rst

Lines changed: 1 addition & 0 deletions

docs/conf.py renamed to conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
'sphinx.ext.napoleon',
3737
]
3838

39+
# Configure autodoc to avoid excessively long fully-qualified names.
40+
add_module_names = False
41+
autodoc_typehints_format = "short"
42+
3943
# Add any paths that contain templates here, relative to this directory.
4044
templates_path = ['_templates']
4145

@@ -46,7 +50,7 @@
4650
source_suffix = '.rst'
4751

4852
# The master toctree document.
49-
master_doc = 'index'
53+
master_doc = 'README'
5054

5155
# General information about the project.
5256
project = u'testcontainers'

core/README.rst

Lines changed: 4 additions & 0 deletions

docs/Makefile

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)