mirror of
https://github.com/edgewall/genshi.git
synced 2026-02-05 15:46:37 +01:00
* Add basic Sphinx configuration. * Translate documentation to Sphinx .rst * Add doc/_build to gitignore. * Rename requirements.rst back to .txt. * Fix HTMLFormFiller reference. * Caption the toctree sections. * Switch to the RTD Sphinx theme. * Add API documentation. * Dowgrade Sphinx to 7.4 for sphinx-rtd-theme. * Update Read the Docs badge to point to genshi-edgewall.readthedocs.org.
21 lines
634 B
Makefile
21 lines
634 B
Makefile
# Minimal makefile for Sphinx documentation
|
|
#
|
|
|
|
# You can set these variables from the command line, and also
|
|
# from the environment for the first two.
|
|
SPHINXOPTS ?=
|
|
SPHINXBUILD ?= sphinx-build
|
|
SOURCEDIR = .
|
|
BUILDDIR = _build
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
help:
|
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
|
|
.PHONY: help Makefile
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
%: Makefile
|
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|