Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

"Runtime Targeting" in the Feature Flags documentation was bold text instead of a heading, preventing anchor link generation and breaking the document outline.

Changes

  • Changed **Runtime Targeting** to #### Runtime Targeting in /pages/docs/featureflags.mdx
  • Establishes correct heading hierarchy: h3 "Rollout Groups" → h4 "Runtime Targeting"
  • Generates anchor link #runtime-targeting for navigation
-**Runtime Targeting**
+#### Runtime Targeting
Original prompt

Fix Mixpanel docs page for Feature Flags to make “Runtime Targeting” a proper header with an anchor link.

Context:

  • In the Mixpanel docs page at https://docs.mixpanel.com/docs/featureflags
  • Right below the section “3. Rollout Groups”, there is currently a bold line reading “Runtime Targeting”.
  • This should instead be a header with an anchor link.
  • The header should be one size smaller than its parent section header (“3. Rollout Groups”).

Requirements:

  1. Locate the source MDX file in the mixpanel/docs repository that generates https://docs.mixpanel.com/docs/featureflags.
  2. In the “Rollout Groups” section, replace the bold “Runtime Targeting” line with an actual heading element appropriate for the doc’s heading hierarchy (one level smaller than the parent heading).
  3. Ensure the heading renders with an anchor link (i.e., it is a markdown heading that the docs site turns into an id/anchor).
  4. Ensure the resulting anchor is sensible (e.g., #runtime-targeting).
  5. Update any surrounding formatting if needed so spacing looks correct.
  6. Add/adjust any local links or table-of-contents entries if the docs system requires it.

Acceptance criteria:

  • “Runtime Targeting” appears as a heading (not bold text) under “Rollout Groups”.
  • The heading has an anchor link on the rendered docs site.
  • The heading level is correct relative to “Rollout Groups”.
  • A pull request is opened with the change and a clear description referencing issue Runtime targeting should be a header with an anchor link #2367.

Issue reference:

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Feb 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 10, 2026 0:10am

Request Review

Copilot AI and others added 2 commits February 9, 2026 23:48
- Changed bold "Runtime Targeting" to #### heading
- Ensures proper heading hierarchy under ### Rollout Groups
- Will generate anchor link #runtime-targeting on docs site

Fixes #2367

Co-authored-by: joshua-koehler <58379979+joshua-koehler@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Mixpanel docs page for Feature Flags header Convert Runtime Targeting to h4 heading in Feature Flags docs Feb 9, 2026
Copilot AI requested a review from joshua-koehler February 9, 2026 23:52
Copy link
Contributor

@joshua-koehler joshua-koehler left a comment

Choose a reason for hiding this comment

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

Run
git restore public/robots.txt .gitignore package-lock.json

All I want is the change to the page

Only keep the featureflags.mdx change as requested

Co-authored-by: joshua-koehler <58379979+joshua-koehler@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 10, 2026

Run
git restore public/robots.txt .gitignore package-lock.json
...

Done. Reverted those files in commit 0b1c366. The PR now contains only the featureflags.mdx change.

Copilot AI requested a review from joshua-koehler February 10, 2026 00:07
@joshua-koehler joshua-koehler marked this pull request as ready for review February 10, 2026 00:18
@joshua-koehler joshua-koehler requested a review from a team as a code owner February 10, 2026 00:18
@joshua-koehler joshua-koehler requested review from myronkaifung and removed request for a team February 10, 2026 00:18
Copy link
Contributor

@joshua-koehler joshua-koehler left a comment

Choose a reason for hiding this comment

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

LGTM, wish an h4 (Rollout Groups is an h3) wasn't assigned a number, but so it is. We need to anchor link to this frequently, so pros outweigh minor con, also in hindsight it's not that unnatural of a separation.

Image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants