mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-04-01 21:13:10 +00:00
changes for converting from website to docs site (#188)
* changes for converting from website to docs site * update staging deploy script and lock file * update docsearch
This commit is contained in:
@@ -28,6 +28,7 @@ clean:
|
||||
|
||||
.PHONY: preview
|
||||
preview: setup
|
||||
npm --prefix ../sphinx-scylladb-theme run build
|
||||
$(POETRY) run sphinx-autobuild -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml --port 5500
|
||||
|
||||
.PHONY: dirhtml
|
||||
@@ -54,6 +55,7 @@ linkcheck: setup
|
||||
|
||||
.PHONY: multiversion
|
||||
multiversion: setup
|
||||
npm --prefix ../sphinx-scylladb-theme run build
|
||||
git diff --quiet || >&2 echo "\033[31;1;4mWARNING: Uncommitted changes will not be included in ./_build\033[0m"
|
||||
@mkdir -p $(HOME)/.cache/pypoetry/virtualenvs
|
||||
$(POETRY) run sphinx-multiversion source $(BUILDDIR)/dirhtml
|
||||
@@ -62,4 +64,5 @@ multiversion: setup
|
||||
|
||||
.PHONY: multiversionpreview
|
||||
multiversionpreview: multiversion
|
||||
npm --prefix ../sphinx-scylladb-theme run build
|
||||
$(POETRY) run python3 -m http.server 5500 --directory $(BUILDDIR)/dirhtml
|
||||
|
||||
Reference in New Issue
Block a user