mithril-vndb/scripts
Claudia Meadows 0d095d1373
Rewrite docs linter
1. I want to set the stage to deal with #2898 properly.
2. `request` was deprecated years ago. Decided that it's better to just
   move to native Node.js APIs in its place.
3. `glob` was outdated, and it's easier to just toss it than to upgrade
   across a major version.
4. I switched to using Marked's "lexer" directly so I'm not fussing
   with the complexity of renderers. This of course necessitated a more
   complex file processor as its "lexer" is really an AST parser.

I also decided to go a few steps further:
- Drop the cache to simplify everything. I might reverse this later,
  but just caching URLs per-page should be enough to prevent the world
  from crashing down.
- Drop some more dependencies, so I don't have to come back to this
  later nearly as quickly.
- Upgrade to a more modern language version in the scripts.
- Update Marked. It was super outdated.
- Add line and column numbers to the warnings. That took quite a bit of
  work, thanks to a missing Marked feature plus a bug in Marked.
2024-09-23 04:54:17 -07:00
..
_lint-docs Rewrite docs linter 2024-09-23 04:54:17 -07:00
tests Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
.eslintrc.js Rewrite docs linter 2024-09-23 04:54:17 -07:00
_bundler-impl.js Add streams to releases again, include minified bundle, drop in… (#2539) 2019-10-03 04:58:14 -04:00
_command.js Pimp the docs linter (and assorted changes) (#2553) 2019-12-19 23:40:52 +01:00
_improve-rejection-crashing.js Rewrite docs linter 2024-09-23 04:54:17 -07:00
_upstream.js Refactor the scripts to work as advertised 2019-08-17 21:58:57 -04:00
_utils.js Rewrite docs linter 2024-09-23 04:54:17 -07:00
bundler-readme.md Fix inconsistent capitalizations of "JavaScript" (#2639) 2020-11-08 15:05:17 -08:00
bundler.js Add streams to releases again, include minified bundle, drop in… (#2539) 2019-10-03 04:58:14 -04:00
generate-docs.js docs: make url absolute in version selector 2024-09-23 04:51:12 -07:00
lint-docs.js Rewrite docs linter 2024-09-23 04:54:17 -07:00
minify-stream.js Add streams to releases again, include minified bundle, drop in… (#2539) 2019-10-03 04:58:14 -04:00
update-docs.js Add streams to releases again, include minified bundle, drop in… (#2539) 2019-10-03 04:58:14 -04:00