Skip to content

Commit

Permalink
Introduce meta-only doc links
Browse files Browse the repository at this point in the history
Summary: Plumbing for Meta-only links.

Reviewed By: alanz

Differential Revision: D56519191

fbshipit-source-id: 4cd8ae9902f461aff2aa85cc88339790ef5dd800
  • Loading branch information
robertoaloi authored and facebook-github-bot committed Apr 24, 2024
1 parent a387109 commit 41b95be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/ide/src/doc_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -43,6 +44,7 @@ pub(crate) fn external_docs(db: &RootDatabase, position: &FilePosition) -> Optio

fn links(res: &mut Vec<DocLink>, sema: &Semantic, def: &SymbolDefinition) {
otp_links::links(res, sema, def);
// @fb-only: meta_only::links(res, sema, def);
}

#[cfg(test)]
Expand Down

0 comments on commit 41b95be

Please sign in to comment.