Skip to content

📝 Deduplicate page name and reference - #2450

Open
JFWooten4 wants to merge 13 commits into
stellar:mainfrom
john-stellar:analytics-providers-readme
Open

JFWooten4 wants to merge 13 commits into
stellar:mainfrom
john-stellar:analytics-providers-readme

Conversation

@JFWooten4

@JFWooten4 JFWooten4 commented May 13, 2026 •

Copy link
Copy Markdown
Contributor

The analytics providers page currently lives at docs/data/analytics/analytics-providers/analytics-providers.mdx, duplicating the page name in both the directory and filename.

Following the review suggestion in this PR, this now flattens the page to docs/data/analytics/providers.mdx rather than retaining a one-page directory.

It also updates the parent Analytics page, navbar, curated LLM index, and generated route inventory to use /docs/data/analytics/providers, and adds an nginx permanent redirect from the former /docs/data/analytics/analytics-providers route.

Copilot AI review requested due to automatic review settings May 13, 2026 03:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR renames the “Data Analytics Providers” doc to use a folder README.mdx (removing the redundant analytics-providers/analytics-providers.mdx filename pattern) while keeping the same deployed docs route and updating the parent Analytics overview to link to the new location.

Changes:

  • Update docs/data/analytics/README.mdx to link to ./analytics-providers/README.mdx.
  • Add docs/data/analytics/analytics-providers/README.mdx containing the providers listing (as the folder index page).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
docs/data/analytics/README.mdx Updates the Analytics overview page link to point at the new analytics-providers index doc.
docs/data/analytics/analytics-providers/README.mdx Introduces the new index page content for the “Data Analytics Providers” route.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ElliotFriend

Copy link
Copy Markdown
Contributor

two things:

  1. you've got a merge conflict now. can you resolve it please?
  2. let's take this a step further. there's no need for analytics-providers to be a directory at all. let's move the file so it's located at docs/data/analytics/providers.mdx. then, we could also use a redirect in the nginx config. let me know if you want some help with that.

Copy link
Copy Markdown
Contributor Author

Tracking the broader single-page-directory/README organization question in #2731. This PR is the concrete analytics-providers case, so the actual rename/redirect decision can stay scoped here rather than blocking on a repo-wide folder cleanup.

@JFWooten4 JFWooten4 closed this Aug 18, 2026
@JFWooten4
JFWooten4 force-pushed the analytics-providers-readme branch from cb557ab to b27bf6a Compare August 18, 2026 07:04
@JFWooten4 JFWooten4 reopened this Aug 18, 2026
@JFWooten4
JFWooten4 marked this pull request as ready for review August 18, 2026 07:15
@JFWooten4

Copy link
Copy Markdown
Contributor Author

Hey @ElliotFriend, same as #2145 (comment) where route-removal workflow detected exactly the intended route rename; its comparison step succeeded, but its attempt to post the warning comment failed because GitHub gives that fork-triggered workflow a read-only token.

@stellar-doxie

stellar-doxie Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Reviewing because this PR is stale (no update in 4+ weeks). No live preview was available.

The rename is correct, but main moved on and I cannot push to your fork. Can you merge main and fix these?

  • Conflicts in navbar.ts, analytics/README.mdx and routes.txt: keep both sides (main added Public Dashboards, docs: add Public Dashboards page to Analytics #2839). In routes.txt, /docs/data/analytics/providers goes before public-dashboards.
  • docs/data/analytics/public-dashboards.mdx:9 links to ./analytics-providers/analytics-providers.mdx. Change it to ./providers.mdx, or the build fails.
  • Suggested: make the redirect ^/docs/data/analytics/analytics-providers(.*)$ to "/docs/data/analytics/providers$1", like its neighbours. The $ anchor misses the live .md copy that llms.txt links.

The red check-routes-removal is expected: it saw the intended route change but cannot comment from a fork.

@stellar-doxie stellar-doxie Bot added the bot:needs-author Bot asked the author for a change or clarification label Oct 7, 2026
Port the Analytics Providers page rename to Mintlify: move the current provider directory page to providers.mdx, update analytics navigation and links, preserve and redirect legacy URLs, and omit obsolete Docusaurus configuration and generated files.

Co-authored-by: ChatGPT 6 <[email protected]>
@mintlify

mintlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 914bc49.

Approve preview

@JFWooten4
JFWooten4 force-pushed the analytics-providers-readme branch from b6dadd3 to 64ac6d1 Compare November 11, 2026 03:17
@stellar-doxie

stellar-doxie Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Back on this because @JFWooten4 merged main into the branch.

  • The move to docs/data/analytics/providers.mdx, the docs.json entry and the redirects are correct. checks passes.
  • I pushed one fix: public-dashboards.mdx now links to the new path, not the old one.

No live preview was available. Ready to merge.
External-origin change, so a maintainer merges this.
A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview.

@stellar-doxie stellar-doxie Bot added bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge and removed bot:needs-author Bot asked the author for a change or clarification labels Nov 11, 2026
JFWooten4 and others added 3 commits November 25, 2026 03:44
Integrate upstream's Mintlify redirect configuration relocation and preserve its generated HTML redirect cleanup. Retarget the legacy Hubble redirect and carry forward the two extensionless analytics-provider redirects, retaining the flattened page and updated navigation and cross-links.

Co-authored-by: ChatGPT 6.2 <[email protected]>
Match the other links in the analytics dashboard introduction and point directly to the block explorer documentation route.

Co-authored-by: ChatGPT 6.2 <[email protected]>
Replace the two legacy analytics-provider redirects with one wildcard rule using the existing optional-slug convention.

Co-authored-by: ChatGPT 6.2 <[email protected]>
@stellar-doxie

stellar-doxie Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Back on this because @JFWooten4 pushed three new commits.

Verified: the single :slug* redirect also covers the bare old path, and no link to the old path is left. No live preview was available.

External-origin change, so a maintainer merges this.

Ready to merge.

What I checked
  • Head 914bc49 merges main at 6f65a66 (current main). git merge-tree with origin/main is clean.
  • checks passes at 914bc49. The mint broken-links step says "no broken links found".
  • Redirect: production sends the bare /docs/data/hubble/analytics-platforms to its target (308) with only a :slug* rule. So /docs/data/analytics/analytics-providers/:slug* covers the bare path too.
  • The analytics-platforms redirect now points straight at /docs/data/analytics/providers, with no chain.
  • Sweep for analytics-providers and analytics-platforms in docs/, snippets/, openapi/, openrpc/, .mintlify/ and config/: only the two redirect sources remain.
  • providers.mdx:6 and public-dashboards.mdx:8 now use root-relative links. Both targets answer 200 on production.
  • Non-blocking: the PR body still names navbar, routes and nginx from before the Mintlify move.

A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview.

JFWooten4 added a commit to john-stellar/developer-documentation that referenced this pull request Nov 25, 2026
Convert verified page links to root-relative paths while preserving generated RPC method blocks and avoiding the analytics pages handled in PR stellar#2450.

Co-authored-by: ChatGPT 6.2 <[email protected]>

This branch has not been deployed

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

Labels

bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants