dev.luanti.org/README.md
Mark Wiemer 8b5abbb581
Some checks are pending
Build with Hugo / build (push) Waiting to run
Deploy Hugo site to Pages / build (push) Waiting to run
Deploy Hugo site to Pages / deploy (push) Blocked by required conditions
Improve DX, add failing a11y tests (#142)
* Add a11y test (failing)

* Test on local build, document scripts, sort package.json

* Update dev guide

* Use local hugo to build site

* Fixup CI pipeline

* Document local vs global Hugo, role of Node

* Use hugo-bin instead of hugo-extended

* Update readme

* Revert "Update readme"

This reverts commit f368bcbb9c.

* Revert "Use hugo-bin instead of hugo-extended"

This reverts commit 618d49d3ca.
2025-01-20 12:40:05 -05:00

1.6 KiB

Luanti Developer Wiki

Hosted by GitHub Pages, generated with Hugo.

Theme: hugo-book

See /content for content.

See About This Site for more information

package.json

package.json dependencies and scripts are described here for readability:

  • scripts
    • build: Builds the site to ensure changes are valid
    • build:ci: Builds the site but fails if any warnings are detected. Used in our CI pipeline.
    • format:fix: Fixes formatting of the package.json file
    • start: Builds and serves the site at http://localhost:1313 with Hugo.
    • test:a11y: Builds and serves the site, then uses Playwright and axe to test accessibility
    • test:a11y:tests: Not meant for independent use, only as part of test:a11y
    • test:spelling: Reports all apparent spelling errors. WIP, ref #83 for details.
  • depdendencies
    • hugo-extended: Static site generator that turns Markdown and shortcodes into HTML
  • devDependencies