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:
Lucy C
2022-10-31 19:53:54 -06:00
committed by GitHub
parent ebb893906a
commit 41de77f78e
35 changed files with 103 additions and 954 deletions

View File

@@ -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