mirror of
https://github.com/minetest/dev.luanti.org.git
synced 2025-01-21 20:59:37 +00:00
8b5abbb581
* 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 commitf368bcbb9c
. * Revert "Use hugo-bin instead of hugo-extended" This reverts commit618d49d3ca
.
1.6 KiB
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 validbuild:ci
: Builds the site but fails if any warnings are detected. Used in our CI pipeline.format:fix
: Fixes formatting of thepackage.json
filestart
: 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 accessibilitytest:a11y:tests
: Not meant for independent use, only as part oftest: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
@axe-core/playwright
: A11y tester bindings for Playwright@playwright/test
: Browser automation and test librarycspell
: Spellcheckersort-package-json
: Sorts package.json files for consistencystart-server-and-test
: Allows easy setup and teardown of complex tests, like our a11y tests