Commit Graph
8 Commits
Author SHA1 Message Date
Alex Osborne 3718480cd5 docs: Add Groovy versions of config examples
Uses sphinx-inline-tabs to render tabs offering the choice between XML and Groovy syntax for each example.
2026-05-03 12:07:01 +09:00
Alex Osborne 89e5ecc7d6 docs: replace javalang with an annotation processor
This means we can rely on the Java compiler to parse the source code instead of the old python library which no longer works as it only supported Java 8 source code. The new processor generates a META-INF/heritrix-beans.json file for each module at compile time which the sphinx beandoc plugin then reads.

My intent is to eventually use the heritrix-beans.json files to also implement autocomplete and context-sensitive help in the Heritrix config editor.
2025-10-28 16:26:19 +09:00
Alex Osborne 51347f7698 docs: Use javalang17 fork
Fixes some parse errors but not all of them
2025-05-13 14:23:08 +09:00
Alex Osborne 3f323bb0da Remove pillow from docs requirements.txt
It's triggering dependabot alerts and it appears as if we don't
actually use it.
2025-03-21 13:23:03 +09:00
Alex Osborne 71c2fdb618 Add missing readthedocs dependencies
https://blog.readthedocs.com/defaulting-latest-build-tools/
2025-02-14 11:15:35 +09:00
Alex Osborne b3be9d01fe docs: Start a 'Bean Reference' document generated from the source code
This is meant to complement the javadoc by providing a reference
more suitable for users trying to configure crawls rather than
developers writing new modules.

The doc generation could still do with some improving and some of the
source javadoc comments need fixing up but this is already useful so I'm
committing what I have so far.
2021-07-11 15:56:37 +09:00
Alex Osborne c2c2b244de docs: Add a plugin for basic auto-generation of bean examples 2021-07-10 21:09:17 +09:00
Alex Osborne ab8a5efea2 Format HTTP request lines in API guide 2018-07-04 18:24:08 +09:00