mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
5190b5eba5
* Add heuristic checking for HTML anchors Previously only anchors specified or generated in markdown could be linked to, without complaint from the link checker. We now use a simple heuristic check for `name` or `id` attributes. Duplicate code has been refactored and all XML anchor checks updated to use regex rather than substring match. * Fix regexp and refactor
24 lines
468 B
TOML
24 lines
468 B
TOML
[package]
|
|
name = "link_checker"
|
|
version = "0.1.0"
|
|
authors = ["Vincent Prouillet <prouillet.vincent@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
lazy_static = "1"
|
|
|
|
config = { path = "../config" }
|
|
errors = { path = "../errors" }
|
|
utils = { path = "../utils" }
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.11"
|
|
default-features = false
|
|
features = ["blocking"]
|
|
|
|
[dev-dependencies]
|
|
mockito = "0.30"
|
|
|
|
[features]
|
|
rust-tls = ["reqwest/rustls-tls"]
|
|
native-tls = ["reqwest/default-tls"]
|