Skip to content

Add Legal Disclosures to the footer#32

Closed
anurlybayev wants to merge 3 commits intomainfrom
anurlybayev/legal-footer-disclosures
Closed

Add Legal Disclosures to the footer#32
anurlybayev wants to merge 3 commits intomainfrom
anurlybayev/legal-footer-disclosures

Conversation

@anurlybayev
Copy link
Copy Markdown
Contributor

@anurlybayev anurlybayev commented Apr 14, 2026

@anurlybayev anurlybayev changed the base branch from anurlybayev/nvidia-branding-cleanup to main April 15, 2026 17:30
Codex output
I switched the site chrome in mint.json to NVIDIA-oriented branding, replaced the old CentML social links with NVIDIA channels, changed the topbar away from CentML contact points, and added simple local NVIDIA CCluster wordmark assets at images/nvidia_ccluster_light.svg and images/nvidia_ccluster_dark.svg. I also removed the pricing and self-service account-creation pages from the published docs by deleting resources/pricing.mdx and resources/account_creation.mdx, and cleaned up all nav/cards that pointed to them.

The public-facing docs now avoid the old CentML signup and support-email flow. In particular, home/quickstart.mdx and resources/requesting_support.mdx now say access is provisioned through NVIDIA / your organization instead of telling users to register themselves, and they no longer point people at support@centml.ai or sales@centml.ai. I also updated several supporting pages and “What’s Next” cards to remove pricing references and rename “Agents on CentML” to “Agents on NVIDIA CCluster.”

I intentionally left some centml strings in place where they look like real technical identifiers rather than branding, for example:

package/import names like centml
existing GitHub repo URLs under github.com/CentML/...
example hostnames / API identifiers that may still be live infrastructure
That keeps us from breaking copy-pasteable commands while still removing the outdated public branding and signup story.

Validation-wise, mint.json parses and git diff --check is clean. I did not run a full Mintlify preview, so I haven’t visually verified the rendered site yet.
@anurlybayev anurlybayev force-pushed the anurlybayev/legal-footer-disclosures branch from f4188c4 to 2d3bf38 Compare April 15, 2026 17:39
@anurlybayev
Copy link
Copy Markdown
Contributor Author

@V2arK rebased and updated. Ready for review.

Copy link
Copy Markdown
Contributor

@V2arK V2arK left a comment

Choose a reason for hiding this comment

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

I can pick it up from here and test if you want

Comment thread legal-footer.js
@@ -0,0 +1,76 @@
(function () {
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.

This entire file can be replaced by adding a footer.links array to docs.json. Mintlify natively supports footer text links as a first-class config feature — no custom JavaScript required.

The DOM injection approach (createElement, MutationObserver, requestAnimationFrame) introduces unnecessary complexity for something the framework handles out of the box.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actually, you're right. I was able to migrate the minlify from the pinned version to the latest with minimal visual changes in #33. The reason this was done in .js and not footer.links is because we were on the old version. So I think what we should do is close this PR, do the migration to the latest version and then simply implement the footer.links

Comment thread legal-footer.js
}

const observer = new MutationObserver(scheduleMount);
observer.observe(document.documentElement, { childList: true, subtree: true });
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.

If for some reason the native footer.links approach is not viable and this JS approach is kept:

This MutationObserver watches the entire document.documentElement subtree and never disconnects. In Mintlify's SPA (Next.js-based), every route change and DOM mutation triggers scheduleMount. Consider disconnecting after successful mount and re-observing only on navigation events.

Also note: Mintlify auto-includes any .js file at the repo root on every page, so this file will load — but it re-runs the full observer setup on every page load in the SPA.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hey can you take a look at the #35. It implements the footer.links after the mintlify upgrade.

Comment thread legal-footer.css
line-height: 1.6;
}

.nvidia-legal-footer-items a {
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.

No dark mode styles. Mintlify has a dark mode toggle — link colors and separator opacity may render poorly.

Another reason to prefer the native footer.links config: Mintlify automatically handles dark/light theming for footer links. With this custom CSS, you'd need to add selectors for [data-theme='dark'] or equivalent.

@anurlybayev
Copy link
Copy Markdown
Contributor Author

Closing in favor of #35

@anurlybayev anurlybayev deleted the anurlybayev/legal-footer-disclosures branch April 15, 2026 21:09
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