From 41b95be799f1ae462e38181e1c8f65f1e073373f Mon Sep 17 00:00:00 2001 From: Roberto Aloi Date: Wed, 24 Apr 2024 09:50:34 -0700 Subject: [PATCH] Introduce meta-only doc links Summary: Plumbing for Meta-only links. Reviewed By: alanz Differential Revision: D56519191 fbshipit-source-id: 4cd8ae9902f461aff2aa85cc88339790ef5dd800 --- crates/ide/src/doc_links.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ide/src/doc_links.rs b/crates/ide/src/doc_links.rs index a592137110..465fe5bee8 100644 --- a/crates/ide/src/doc_links.rs +++ b/crates/ide/src/doc_links.rs @@ -15,6 +15,7 @@ use elp_syntax::AstNode; use hir::InFile; use hir::Semantic; +// @fb-only: mod meta_only; mod otp_links; #[derive(Debug, Clone, PartialEq, Eq)] @@ -43,6 +44,7 @@ pub(crate) fn external_docs(db: &RootDatabase, position: &FilePosition) -> Optio fn links(res: &mut Vec, sema: &Semantic, def: &SymbolDefinition) { otp_links::links(res, sema, def); + // @fb-only: meta_only::links(res, sema, def); } #[cfg(test)]