Skip to content

Functions with show: false are still visible in dbt docs (v1 and v2) #585

Description

@RommertUMC

Describe the bug

Functions configured with show: false are still visible in the generated dbt documentation. After running dbt docs generate (and serving the docs with dbt docs serve), functions marked as hidden continue to appear in the Functions section. According to the documentation, the show setting is available for the functions:
https://docs.getdbt.com/reference/function-properties?version=2.0&name=Fusion

Steps To Reproduce

  1. Define a function with the properties show: false:
functions:
  - name: my_hidden_function
    description: "Internal function"
    config:
      docs:
        show: false
  1. Run: dbt docs generate (on v2: dbt compile --write-catalog & dbt compile --write-index) & dbt docs serve
  2. Open the generated documentation and navigate to the Functions section.
  3. Observe that my_hidden_function is still visible.

Expected behavior

Functions configured with show: false should not appear in the generated documentation.

Screenshots and log output

dbt versions used:

  • v1: dbt-core=1.11.12 & dbt-snowflake=1.11.6
  • v2: dbt-core=v2.0.0-alpha.4 & dbt-snowflake=v1.12.0b1
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions