Skip to content

Conversation

mdlinville
Copy link
Contributor

@mdlinville mdlinville commented Oct 14, 2025

Description

Scripted import of content in wandb/mintlifytest to a new branch in wandb/docs

This approach preserves the Git history of each existing file by creating many many commits:

  • The script operates locally in ~/docs and ~/mintlifytest repos
  • The script takes a hash in the mintlifytest repo as one parameter, and a branch name to create in the docs clone.
  • After creating the requested branch, the script:
    1. Deletes Hugo files that don't have a replacement in Mintlify.
    2. File by file, replaces Hugo files with the Mintlify files at the new locations. I've been asked to do it file by file to preserve the commit history of each file. I'm hoping this looks like a series of file renames.
    3. Adds new Mintlify files with no equivalent Hugo files.
    4. Replaces Hugo configuration files with Mintlify configuration files.
    5. Updates Mintlify metadata in the filesystem to match the existing Hugo metadata, like the site name and site URL.

After checkout out the branch, you can deploy the site using npx install (one time) and npx mintlify dev. hugo commands no longer work.

To go live on Mintlify, we would:

  1. Sign in to Cloudflare Console and remove the production and PR deploys. The Cloudflare checks disappear from all existing PRs and pushing to main no longer triggers a Cloudflare deploy.
  2. Sign into Mintlify Console and adjust the repo and branch in https://dashboard.mintlify.com/wb-21fd5541/wb-21fd5541/settings/deployment/git-settings to point at wandb/docs and the branch where the import is. To check, I just set it to wandb/docs at the mintlify-import branch. Also adjust the site title at the same time. The Mintlify PR checks start running.
  3. Just before merging the import branch, sign back into the Mintlify Console and change the deploy branch to main.
  4. Merge the import branch to main. (do not squash and merge). The cut-over is complete.
  5. Remove or archive the mintlifytest repo in Github.

Notes:
- The Files Changed and Commits tabs will probably not load in the Git UI. Check out the branch locally to review it.
- DO NOT MERGE. For this test PR, we are importing the Mintlify content as of the tip of wandb/mintlifytest#42, which is not yet fully approved and is not yet merged.
- When we do merge an equivalent PR, we should not squash and merge. Otherwise, the commit history of each file will be compressed into a single commit, defeating the purpose.
- In this PR, it is expected to that the Cloudflare checks fail.
- While the Mintlify Console is configured to look at this branch in wandb/docs, merging changes in mintlifytest will not trigger a Mintlify deploy. We should switch it back if we want to continue more iteration in that repo.

Testing

  • Locally, imported content looks right, builds, serves, and introduces no broken links
  • PR tests succeed

Copy link

socket-security bot commented Oct 14, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

Copy link

cloudflare-workers-and-pages bot commented Oct 14, 2025

Deploying weave-redirect with  Cloudflare Pages  Cloudflare Pages

Latest commit: 320f34c
Status:🚫  Build failed.

View logs

Copy link

cloudflare-workers-and-pages bot commented Oct 14, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: cd246a6
Status:🚫  Build failed.

View logs

…md to ko/models/artifacts/delete-artifacts.mdx
…/models/core/registry/download_use_artifact.mdx
…d to ko/models/core/registry/model_registry/notifications.mdx
…rds.md to ko/models/core/registry/model_registry/create-model-cards.mdx
## Description

In Mintlify, RSS feeds are available only from an individual changelog
file that has `<Update>` components. Since major-version-specific RSS
feeds don't make sense:

- Consolidate all supported releases into
release-notes/server-releases.mdx
- Consolidate all unsupported releass into
release-notes/server-releases-archived.mdx
- Minor content adjustments
- Remove card from /ref.mdx landing page
- Adjust /release-notes.mdx landing page
- Update the EOL snippet and use it
- Remove the unused unsupported-version snippet
- Delete some scripts that got inadvertently committed
Fixed 23 high-severity list formatting issues across 15 files:
- Split inline bold text that should be on separate lines
- Fixed sub-bullet indentation (2 spaces → 3 spaces for proper nesting)
- Properly indented code blocks under list items
- Fixed continuation text indentation

Most affected files:
- platform/hosting/self-managed/azure-tf.mdx
- guides/launch/setup-launch-sagemaker.mdx
- Various ja/ and ko/ translations

These formatting issues were breaking list rendering in Mintlify and
making documentation harder to read. Issues likely predate the
migration.
## Description
Fix some one-off issues after the migration

- Fix Models quickstart location
- Fix inadvertent lowercasing of Python API and Weave API refs by the
vendor during the conversion
- Bring in missed Weave reference generation scripts, update them to
preserve the casing in the Weave repo

Verified that all other added, renamed, updated, deleted files in `main`
commits since 9/17 look correct, both for file location and content
changes.

The commit history in this PR is a bit of a mess. It's difficult to do
case-sensitive Git commands on macOS, which has a case-insensitive
filesystem.
…ave, Launch, Python refs (#1719)

## Description
Adjust locations and TOCs in Mintlify:
- Integrations
- Tutorials
- Weave
- Launch
  - Also build up TOC, previously hidden in Hugo
- Python refs
  - Also add landing pages to TOC, which were all missing
- Add redirects
- Fix broken links

Ref:
https://weightsandbiases.slack.com/archives/C081R4TDAH1/p1760722913588729

## Tests
- [x] mint dev
- [x] mint broken-links 
- [ ] PR checks
## Description
Add Models Quickstart to TOC
Copy link

socket-security bot commented Oct 17, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​requests@​2.32.599100100100100
Addedpypi/​lazydocs@​0.4.8100100100100100

View full report

## Description

This PR:
* Updates front-matter across the Weave docs.
* Adds line numbers to most code blocks
* Fixes a few typos and formatting issues

---------

Co-authored-by: Matt Linville <[email protected]>
## Description
Updates Weave to:
* Fixes random index page (Integrations overview page) from showing up
in Tracing section
* Moves evaluation articles out of unnecessary sub-category
* Updates some titles for header articles
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.

3 participants