From 08ca0a8b5f4ceffe11abdc65c1cd637adfcc64e4 Mon Sep 17 00:00:00 2001 From: Tarek Ismail Date: Wed, 2 Oct 2024 15:49:10 +0300 Subject: [PATCH] Revert "Build docs and run spellcheck on those instead of raw docs" This reverts commit 27e607fafef4aa05f543f4714710c622aec6d3c9. --- doc/sphinx/Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/doc/sphinx/Makefile b/doc/sphinx/Makefile index e2f68b600d4..30ae665589d 100644 --- a/doc/sphinx/Makefile +++ b/doc/sphinx/Makefile @@ -70,14 +70,6 @@ install: $(VENVDIR) run: install . $(VENV); sphinx-autobuild -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) -setup: - cd ../../; \ - cmake -B .docs_build; \ - cmake --build .docs_build --target doc -j12; - # cp -r .docs_build/doc/sphinx/_build doc/sphinx/_build - # cp -r .docs_build/doc/sphinx/xml doc/sphinx/xml - - # Doesn't depend on $(BUILDDIR) to rebuild properly at every run. html: install . $(VENV); $(SPHINXBUILD) -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)" -w $(SPHINXDIR)/warnings.txt $(SPHINXOPTS) @@ -98,8 +90,8 @@ clean-doc: git clean -fx "$(BUILDDIR)" rm -rf $(SPHINXDIR)/.doctrees -spelling: setup - . $(VENV); cd ../../.docs_build/doc/sphinx; python3 -m pyspelling -c $(SPHINXDIR)/spellingcheck.yaml -j $(shell nproc) +spelling: html + . $(VENV) ; python3 -m pyspelling -c $(SPHINXDIR)/spellingcheck.yaml -j $(shell nproc) linkcheck: install . $(VENV) ; $(SPHINXBUILD) -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)