Skip to content

docs: add org-id shortcode demo page#148

Merged
saurabhraghuvanshii merged 3 commits into
masterfrom
claude/clever-keller-k6q29l
Jun 24, 2026
Merged

docs: add org-id shortcode demo page#148
saurabhraghuvanshii merged 3 commits into
masterfrom
claude/clever-keller-k6q29l

Conversation

@leecalcote

@leecalcote leecalcote commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds content/content-formatting-examples/academy-theme/org-id.md to demonstrate the new org-id shortcode from layer5io/academy-theme
  • The shortcode renders the organization UUID extracted from the page's content path (segment index 1)
  • Demo page shows shortcode syntax, expected output, and explains fallback behavior when a page is outside a UUID-named directory

Test plan

  • Verify the new org-id.md page appears in the academy-theme formatting examples section
  • Confirm the shortcode renders the fallback (org ID not found) since this demo page is not under a UUID directory

Demonstrates the org-id shortcode, which renders the organization UUID
from the current page's content path (segment index 1).

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new documentation page for the org-id shortcode in the Academy theme. The reviewer pointed out a potential point of confusion regarding the path segment indexing description and provided a code suggestion to clarify that the path is relative to the content directory.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread content/content-formatting-examples/academy-theme/org-id.md Outdated
Per review feedback, omit the `content/` prefix from the path
description to match Hugo's .File.Path which is relative to the
content directory (making <orgID> at index 1, not index 2).

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
@leecalcote

Copy link
Copy Markdown
Member Author

@saurabh100ni feel free to jump in here.

@saurabhraghuvanshii saurabhraghuvanshii merged commit 662b95b into master Jun 24, 2026
1 of 3 checks passed
@saurabhraghuvanshii saurabhraghuvanshii deleted the claude/clever-keller-k6q29l branch June 24, 2026 12:15
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2026-06-24 12:16 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants