Skip to main content

Module lint

Module lint 

Source
Expand description

The links’ lint: every link the application declares checked against the application and the policy, so a renamed command, a removed file or a blocked scheme cannot leave a dead link behind.

Functions§

check
One declared link’s problem, if any; docs lists the docs: pages there are (None: not checked).
problems
What is wrong with the links the application declares, one line each: a target that does not parse, a blocked scheme, a command: link naming a command that is not declared, a local file that is not there, a docs: page the viewer does not have (when a viewer is installed and knows its pages). Walked: links declared by plugins (crate::Ctx::link, super::declare) and drawn as declared so far (super::link), menu items running links.open or files.reveal, the links in the tips’ texts, and the actions of the toasts shown so far.