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 6a16749 commit cc7f24a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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
1 change: 0 additions & 1 deletion docs/repositories/pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ The **Duplication** tab displays the lists of duplicated blocks that the {{ page
end="<!--tab-diff-end-->"
%}

<!-- TODO ALA-643 Confirm the option to show files with no coverage changes is kept -->
{%
include-markdown "./commits.md"
start="<!--tab-files-start-->"
Expand Down

0 comments on commit cc7f24a

Please sign in to comment.