Skip to content

Commit 42fa54b

Browse files
authored
feat: Add internal stats page for shortcode usage (#1328)
1 parent 2a3f149 commit 42fa54b

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

content/stats.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Shortcode report
3+
description: Shortcode report
4+
nd-content-type: reference
5+
toc: true
6+
---
7+
8+
This page contains usage information for shortcodes.
9+
10+
## Include
11+
{{< shortcode-usage name="include" >}}
12+
13+
## Call Out
14+
{{< shortcode-usage name="call-out" >}}
15+
16+
## Tab Group
17+
{{< shortcode-usage name="tabs" >}}

documentation/include-files.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,16 @@ To make sure includes are effective and easy to maintain, follow these guideline
3131

3232
## Include file index
3333

34-
To aid in discoverability of include files, this index is maintained to offer contributors a reference for existing entries.
34+
To aid in discoverability of include files, see the [include section](https://docs.nginx.com/stats#include) of our [shortcode report page](https://docs.nginx.com/stats).
35+
This page is updated as part of every documentation build.
3536

3637
When viewing an include file, you may also see the `files`: parameter in the frontmatter, which shows where the file is currently in use.
3738

39+
Examples of commonly used includes:
40+
3841
| **_File name_** | **_Description_** |
3942
| ----------------| ------------------ |
4043
| [_licensing-and-reporting/download-jwt-from-myf5.md_](/content/includes/licensing-and-reporting/download-jwt-from-myf5.md) | Instructions for downloading a JSON Web Token from MyF5 |
4144
| [_licensing-and-reporting/download-certificates-from-myf5.md_](/content/includes/licensing-and-reporting/download-certificates-from-myf5.md) | Instructions for downloading certificate files from MyF5 |
4245
| [_use-cases/credential-download-instructions.md_](/content/includes/use-cases/credential-download-instructions.md) | Parallel tabbed instructions for downloading credential files from MyF5 |
43-
| [_use-cases/docker-registry-instructions.md_](/content/includes/use-cases/docker-registry-instructions.md) | Parallel tabbed instructions for listing Docker images from the F5 Registry |
46+
| [_use-cases/docker-registry-instructions.md_](/content/includes/use-cases/docker-registry-instructions.md) | Parallel tabbed instructions for listing Docker images from the F5 Registry |

0 commit comments

Comments
 (0)