Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-10-15 20:00:30 +0300
committerisaacs <i@izs.me>2020-10-23 20:29:54 +0300
commitaec77acf886d73f85e747cafdf7a2b360befba16 (patch)
tree22b6c719c7c2141567750dde1a8d54f92ccdb410 /Makefile
parent09d40b3c42045daf42573f20d26262316cf88b72 (diff)
docs: use "dockhand" for static generation
Drop Gatsby, use a simplified custom static site generator that uses GFM and a template for extremely lightweight docs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 01d0b0361..b8ebbe4a3 100644
--- a/Makefile
+++ b/Makefile
@@ -49,8 +49,7 @@ mandocs: $(mandocs)
htmldocs:
cd docs && node ../bin/npm-cli.js install --legacy-peer-deps --no-audit && \
- node ../bin/npm-cli.js run build:static >&2 && \
- rm -rf node_modules .cache public/*js public/*json public/404* public/page-data public/manifest*
+ node ../bin/npm-cli.js run build >&2
docs: mandocs htmldocs
@@ -67,7 +66,7 @@ docs-clean:
.building_marked-man \
man \
docs/node_modules \
- docs/public \
+ docs/output \
docs/.cache
## build-time tools for the documentation