1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-02-06 02:53:28 +02:00

Remove renderers from links and index preprocessors (#464)

* Remove `renderers` from `links` and `index` preprocessors

These two preprocessors are default preprocessors and controlled by
`build.use_default_preprocessors` not by `renders`.

* Fix the order of preprocessors

I was wrong about the order in #461.

* Remove `links` and `index` preprocessor lines

These default preprocessors are run by default.

---------

Co-authored-by: Jooyung Han <jooyung@google.com>
This commit is contained in:
Jooyung Han 2023-03-02 18:01:24 +09:00 committed by GitHub
parent 2de8d7cdbb
commit e4205b3ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,16 +11,12 @@ edition = "2021"
[build]
extra-watch-dirs = ["po"]
[preprocessor.links]
renderers = ["html"]
[preprocessor.gettext]
[preprocessor.index]
renderers = ["html"]
after = ["links"]
[preprocessor.svgbob]
renderers = ["html"]
after = ["gettext"]
class = "bob"
# Enable this preprocessor to overlay a large red rectangle on the