Skip to content

Commit

Permalink
feat: Conditionally hide the toggle documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklem committed Dec 20, 2023
1 parent 92ab45c commit 0efa675
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/repositories/commits.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,10 @@ The **Files** tab displays the variation of the following [code quality metrics]

Depending on the languages being analyzed or if you haven't [set up coverage for your repository](../coverage-reporter/index.md), some metrics **may not be calculated** (represented by `-`).

{% if page.meta.page_name == "commit" %}
The option **Show files without code quality changes** allows you to list all files that the {{ page.meta.page_name }} updates, even if their code quality metrics don't change.

{% endif %}
<!-- vale off -->
![Files tab](images/{{ page.meta.file_name }}-tab-files.png)
<!-- vale on -->
Expand Down

0 comments on commit 0efa675

Please sign in to comment.