mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Allow building docs using the develop infrastructure
This commit is contained in:
@@ -8,6 +8,7 @@ endif
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS = -n -q -j auto -T $(FAIL_WARN) $(OPTS)
|
||||
SPHINXBUILD = sphinx-build
|
||||
SPHINXAUTOBUILD = sphinx-autobuild
|
||||
SPHINXPROJ = kitty
|
||||
SOURCEDIR = .
|
||||
BUILDDIR = _build
|
||||
@@ -25,4 +26,4 @@ help:
|
||||
|
||||
|
||||
develop-docs:
|
||||
sphinx-autobuild --ignore "$(abspath $(SOURCEDIR))/generated/*" --watch ../kitty --watch ../kittens -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
||||
$(SPHINXAUTOBUILD) --ignore "$(abspath $(SOURCEDIR))/generated/*" --watch ../kitty --watch ../kittens -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
||||
|
||||
@@ -65,14 +65,13 @@ For more help on the various options supported by the build script::
|
||||
Building the documentation
|
||||
-------------------------------------
|
||||
|
||||
This will require
|
||||
To have the kitty documentation available locally, run::
|
||||
|
||||
python3 -m pip install -r docs/requirements.txt && make docs
|
||||
./dev.sh deps -for-docs && ./dev.sh docs
|
||||
|
||||
To develop the docs, with live reloading, use::
|
||||
|
||||
python3 -m pip install -r docs/requirements.txt && make develop-docs
|
||||
./dev.sh deps -for-docs && ./dev.sh docs -live-reload
|
||||
|
||||
Dependencies
|
||||
----------------
|
||||
|
||||
Reference in New Issue
Block a user