mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
7c9c0d46aa
* fix toastedmarshmallow benchmarks and add marshmallow benchmarks * format benchmarks better * add runtime for netlify * remove sphinxcontrib-spelling==4.0.1 * remove docs linting * adding benchmarks section to docs
29 lines
717 B
Makefile
29 lines
717 B
Makefile
# You can set these variables from the command line.
|
|
SPHINXOPTS = -W
|
|
SPHINXBUILD = sphinx-build
|
|
PAPER =
|
|
BUILDDIR = _build
|
|
STATICDIR = _static
|
|
|
|
# Internal variables.
|
|
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) .
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf $(BUILDDIR)
|
|
|
|
.PHONY: html
|
|
html: clean
|
|
mkdir -p $(STATICDIR)
|
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
@echo
|
|
@echo "Build finished. open file://`pwd`/_build/html/index.html"
|
|
|
|
.PHONY: linkcheck
|
|
linkcheck:
|
|
mkdir -p $(STATICDIR)
|
|
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
|
@echo
|
|
@echo "Link check complete; look for any errors in the above output " \
|
|
"or in $(BUILDDIR)/linkcheck/output.txt."
|