From 7059e2a6a2ffcdabc4c87acc3beedad8c53bbd0f Mon Sep 17 00:00:00 2001 From: Limao Chang <80520563+LimaoC@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:10:31 +1000 Subject: [PATCH] fix: don't show autogenerated class attrs in docs --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 390faa0..ef644ff 100644 --- a/Makefile +++ b/Makefile @@ -16,5 +16,7 @@ docs-clean: # Spin up a local server to serve documentation pages # Auto-reloads when code changes in PACKAGEDIR are made +# Set custom environment variables for sphinx-apidoc, REF: https://github.com/sphinx-doc/sphinx/issues/8664 +docs-live: export SPHINX_APIDOC_OPTIONS=members,show-inheritance docs-live: $(POETRY) sphinx-autobuild --open-browser --watch "$(PACKAGEDIR)" -a "$(SOURCEDIR)" "$(BUILDDIR)/html"