Skip to content

Substitution key hint shows even when a sub is used #779

Closed
@colleenmcginnis

Description

@colleenmcginnis

Describe the bug

I'm seeing hints suggesting that a substitution key is not used when it is used in one or more Markdown files.

Note: In the example I provided below, the Markdown file where the variables are used also use page-level subs in the frontmatter. I'm not sure if that could be the cause.

Expected behavior

I should only get hints when a substitution key is actually not used.

Steps to reproduce

Here's an example:

  1. The build for apm-agent-nodejs shows two hints:
    Hint: Substitution key 'ecloud' is not used in any file
    NOTE: /github/workspace/docs/docset.yml
     
    Hint: Substitution key 'apm-lambda-ext' is not used in any file
    NOTE: /github/workspace/docs/docset.yml
    
  2. But when I check for usage of those subs, I find uses:

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions