mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Make feedvalidator run offline
This is possible thanks to a feedvalidator bug being fixed:
<d4ee1132eb
>
This commit is contained in:
parent
02635dab8e
commit
66c4c62888
2 changed files with 10 additions and 10 deletions
11
Makefile
11
Makefile
|
@ -87,8 +87,17 @@ hint: hugo .hintrc-local
|
||||||
html-validate:
|
html-validate:
|
||||||
pnpm -s dlx html-validate --ext=html -c linter-configs/htmlvalidate.json $(OUTPUT_DIR)
|
pnpm -s dlx html-validate --ext=html -c linter-configs/htmlvalidate.json $(OUTPUT_DIR)
|
||||||
|
|
||||||
|
.validate-feed-main:
|
||||||
|
scripts/bin/validate-feed file://$(PWD)/$(OUTPUT_DIR)/atom.xml
|
||||||
|
.validate-feed-posts:
|
||||||
|
scripts/bin/validate-feed file://$(PWD)/$(OUTPUT_DIR)/posts/atom.xml
|
||||||
|
.validate-feed-notes:
|
||||||
|
scripts/bin/validate-feed file://$(PWD)/$(OUTPUT_DIR)/notes/atom.xml
|
||||||
|
validate-feeds: .validate-feed-main .validate-feed-posts .validate-feed-notes
|
||||||
|
.PHONY: validate-feeds .validate-feed-main .validate-feed-posts .validate-feed-notes
|
||||||
|
|
||||||
.PHONY: lint-local
|
.PHONY: lint-local
|
||||||
lint-local: html-validate validate-html validate-json lint-css htmlproofer
|
lint-local: html-validate validate-html validate-json lint-css htmlproofer validate-feeds
|
||||||
|
|
||||||
# dev server, includes future and draft posts
|
# dev server, includes future and draft posts
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
|
|
|
@ -42,15 +42,6 @@ axe-ff:
|
||||||
|
|
||||||
.PHONY: axe axe-ff
|
.PHONY: axe axe-ff
|
||||||
|
|
||||||
.validate-feed-main:
|
|
||||||
scripts/bin/validate-feed $(HUGO_BASEURL)atom.xml
|
|
||||||
.validate-feed-posts:
|
|
||||||
scripts/bin/validate-feed $(HUGO_BASEURL)posts/atom.xml
|
|
||||||
.validate-feed-notes:
|
|
||||||
scripts/bin/validate-feed $(HUGO_BASEURL)notes/atom.xml
|
|
||||||
validate-feeds: .validate-feed-main .validate-feed-posts .validate-feed-notes
|
|
||||||
.PHONY: validate-feeds .validate-feed-main .validate-feed-posts .validate-feed-notes
|
|
||||||
|
|
||||||
.PHONY: all-extra
|
.PHONY: all-extra
|
||||||
all-extra: axe-ff validate-json equal-access htmlproofer lint-css validate-feeds
|
all-extra: axe-ff validate-json equal-access htmlproofer lint-css validate-feeds
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue