File tree Expand file tree Collapse file tree 4 files changed +50
-0
lines changed
Expand file tree Collapse file tree 4 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # Minimal makefile for Sphinx documentation
2+ #
3+
4+ # You can set these variables from the command line, and also
5+ # from the environment for the first two.
6+ SPHINXOPTS ?=
7+ SPHINXBUILD ?= uv run sphinx-build
8+ SOURCEDIR = .
9+ BUILDDIR = _build
10+
11+ # Put it first so that "make" without argument is like "make help".
12+ help :
13+ @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
14+
15+ .PHONY : help Makefile
16+
17+ # Catch-all target: route all unknown targets to Sphinx using the new
18+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+ % : Makefile
20+ @$(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
Original file line number Diff line number Diff line change 1+ from importlib import metadata
2+
3+ extensions = [
4+ 'sphinx.ext.autodoc' ,
5+ 'sphinx.ext.intersphinx' ,
6+ ]
7+
8+ intersphinx_mapping = {
9+ 'python' : ('http://docs.python.org' , None ),
10+ }
11+
12+ project = 'pytest-sqlalchemy'
13+ author = 'Torsten Irländer'
14+ release = metadata .version (project )
15+ copyright = f'2015 onwards { author } '
16+
17+ templates_path = ['_templates' ]
18+ exclude_patterns = ['_build' , 'Thumbs.db' , '.DS_Store' ]
19+
20+ autodoc_member_order = 'bysource'
21+
22+ html_theme = 'furo'
23+
24+ nitpicky = True
25+ nitpick_ignore : list [tuple [str , str ]] = []
Original file line number Diff line number Diff line change 1+ .. include :: ../README.rst
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ dev = [
3232 " mypy>=1.15.0" ,
3333 " pytest-xdist>=3.6.1" ,
3434]
35+ docs = [
36+ " furo>=2024.8.6" ,
37+ " sphinx>=8.1.3" ,
38+ ]
3539
3640[build-system ]
3741requires = [" setuptools>=61.0" ]
You can’t perform that action at this time.
0 commit comments