pub fn derive_prefix_links(
query: Query<'_, '_, (Entity, Ref<'_, Prefixes>, Option<&mut DocumentLinks>)>,
locals: Query<'_, '_, (&LocalPrefix, Option<&ConfiguredOntology>)>,
preferred: Res<'_, PreferredPrefixes>,
revisions: Res<'_, Revisions>,
seen: Local<'_, Seen>,
commands: Commands<'_, '_>,
fs: Res<'_, Fs>,
)Expand description
Link every document to the ontology documents of the prefixes it declares.
The targets come from namespace_sources, the same function the fetch
system uses, so a link always names a document the server actually loads,
including one link per configured ontology when several share a namespace.