aboutsummaryrefslogtreecommitdiff
path: root/static/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-07 02:58:41 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-07 02:58:41 +0200
commite753d721519f72014241b3d2fc804a919f655769 (patch)
tree5f1e93ca4d3daefcffd746eb0784183664fd241e /static/Makefile
parentNormalize tsconfig formatting. (diff)
downloadcalp-e753d721519f72014241b3d2fc804a919f655769.tar.gz
calp-e753d721519f72014241b3d2fc804a919f655769.tar.xz
Document remaining javascript items.
Diffstat (limited to 'static/Makefile')
-rw-r--r--static/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/static/Makefile b/static/Makefile
index 17432585..00401503 100644
--- a/static/Makefile
+++ b/static/Makefile
@@ -15,7 +15,7 @@ __ESBUILD_FLAGS = --log-level=$(ESBUILD_LOGLEVEL) \
--sourcemap --bundle --outdir=$(CURDIR)/out \
$(ESBUILD_FLAGS)
-export PATH := $(shell npm bin):$(PATH)
+export PATH := $(CURDIR)/node_modules/.bin/:$(PATH)
all: $(TARGETS)
@@ -42,5 +42,13 @@ clean:
out/%.css: scss/%.scss
scss -E UTF-8 $(WATCH) -I. $< $@
+# The grep expression is to supress irrelevant warning messages.
+# - __type since the extensions to base classes propagate to many
+# events, but typedoc only documents them if in the entry point
+# - [.]# since it's sometimes sensible to not document
+# implementation details.
+# - connectedCallback, attributeChangedCallabck: These are part
+# of the standard API for Web Components, and usually have nothing
+# interesting to note.
doc:
- typedoc --logLevel Verbose --excludeExternals
+ typedoc --excludeExternals |& grep -vE '(__type|[.]#|connectedCallback|attributeChangedCallback)'