Skip to content

update docs for static counts #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/en/cloud/academy/creating-your-learning-path/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ Once configured correctly, your secrets page should look like this:
While you can hardcode your `ACADEMY_ORG_ID` directly in the workflow file, we strongly recommend using secrets for better security and flexibility.
{{< /alert >}}

{{< alert type="warning" title="Avoid Static Counts in Front Matter" >}}
Do **not** add static counters such as `courses:`, `learning-paths:`, or `challenges:` to your front matter. These values are automatically calculated during the Academy build process and including them can cause incorrect or conflicting information. If you have existing content that still contains these keys, simply delete the lines.
{{< /alert >}}

### Stage 2: Publish by Creating a GitHub Release

With the setup complete, you can publish your content anytime by creating a new release.
Expand Down