File tree Expand file tree Collapse file tree 4 files changed +234
-22
lines changed Expand file tree Collapse file tree 4 files changed +234
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -105,9 +105,16 @@ clean: clean-docs clean-git-ignored clean-env
105
105
build-docs-html : install-docs
106
106
@ just run sphinx-build --fresh-env --builder html --doctree-dir ./ doc/ build/ doctrees ./ doc/ source ./ doc/ build/ html
107
107
108
+ [script ]
109
+ _ open-pdf-docs :
110
+ import webbrowser
111
+ webbrowser.open(f" file://{Path('./doc/build/pdf/django-typer.pdf').absolute()}" )
112
+
108
113
# build pdf documentation
109
114
build-docs-pdf : install-docs
110
- @ just run sphinx-build --fresh-env --builder latexpdf --doctree-dir ./ doc/ build/ doctrees ./ doc/ source ./ doc/ build/ pdf
115
+ @ just run sphinx-build --fresh-env --builder latex --doctree-dir ./ doc/ build/ doctrees ./ doc/ source ./ doc/ build/ pdf
116
+ make -C ./ doc/ build/ pdf
117
+ @ just _open_pdf-docs
111
118
112
119
# build the docs
113
120
build-docs : build-docs-html
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ docs = [
196
196
" sphinx>=7.4.7" ,
197
197
" sphinx-autobuild>=2024.10.3" ,
198
198
" sphinx-tabs>=3.4.7" ,
199
- " sphinxcontrib-typer>=0.5.1" ,
199
+ " sphinxcontrib-typer[png] >=0.5.1" ,
200
200
]
201
201
psycopg3 = [
202
202
" psycopg>=3.1.8" ,
You can’t perform that action at this time.
0 commit comments