Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a723974
Update support routing and redirect retired Weave pages.
johndmulhausen Mar 17, 2026
121839f
Update support routing and remove deprecated support index page
johndmulhausen Mar 17, 2026
de80c5b
Update pull request template to use comment syntax for instructions
johndmulhausen Mar 17, 2026
32af039
Update pull request template to standardize comment syntax
johndmulhausen Mar 20, 2026
d745870
add .env to gitignore
johndmulhausen Mar 20, 2026
1abf039
Update support article links for improved navigation
johndmulhausen Mar 20, 2026
6674ee6
Apply suggestion from @johndmulhausen
johndmulhausen Mar 20, 2026
a34d40d
Remove unnecessary .github entries from .mintignore to streamline ign…
johndmulhausen Mar 20, 2026
f46dcc9
Add new support pages and update navigation
mintlify[bot] Mar 20, 2026
0f33bab
Update support article URLs to relative paths for improved navigation…
johndmulhausen Mar 20, 2026
9fbf094
Refactor support article links for enhanced navigation consistency
johndmulhausen Mar 20, 2026
e35c301
Merge branch 'main' into fast-follow-support-routing
johndmulhausen Mar 23, 2026
89d3e75
Update FAQ links in Japanese and Korean tracking guides to include co…
johndmulhausen Mar 23, 2026
21ee3ea
Merge branch 'main' into fast-follow-support-routing
johndmulhausen Mar 24, 2026
edaa12c
Merge branch 'main' into fast-follow-support-routing
johndmulhausen Mar 26, 2026
ac6b91c
Remove outdated support routing entry from docs.json
johndmulhausen Mar 26, 2026
3dc7812
Add new product-related documentation and fix source path encoding in…
johndmulhausen Mar 26, 2026
c1388a9
Refactor documentation structure in docs.json: rename "Deployment opt…
johndmulhausen Mar 26, 2026
07d1b68
Remove sidebar title from Weights & Biases documentation index file f…
johndmulhausen Mar 26, 2026
806cbba
Update documentation structure in docs.json: rename sidebar group fro…
johndmulhausen Mar 26, 2026
c31d81b
Update Weights & Biases documentation index: add sidebar title "Docs …
johndmulhausen Mar 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ lychee/
# Python
__pycache__/
*.pyc
.env

# Python virtual environments
.venv/
Expand Down
664 changes: 359 additions & 305 deletions docs.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Weights & Biases Documentation"
description: "View the documentation for all Weights & Biases products"
sidebarTitle: "Home"
sidebarTitle: "Docs Home"
mode: wide
---
import {Banner} from "/snippets/Banner.jsx";
Expand Down
4 changes: 4 additions & 0 deletions inference/support-inference.mdx
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.

The support tabs look a little weird when you have a support page open.

Image

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Support: Inference"
url: "/support/inference"
---
2 changes: 1 addition & 1 deletion ja/weave/guides/tracking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Weave のトレース機能は、主に 3 つのコンポーネントで構成

## よくある質問

Weave のトレースに関する よくある質問 への回答については、[FAQs ページ](/weave/guides/tracking/faqs) を参照してください。
Weave のトレースに関する よくある質問 への回答については、[FAQs ページ](/ja/weave/guides/tracking/faqs) を参照してください。
2 changes: 1 addition & 1 deletion ko/weave/guides/tracking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Weave 의 트레이싱 기능은 크게 세 가지 구성 요소로 이루어집

## 자주 묻는 질문

Weave 트레이싱에 대한 자주 묻는 질문과 답변은 [자주 묻는 질문 페이지](/weave/guides/tracking/faqs) 를 참조하세요.
Weave 트레이싱에 대한 자주 묻는 질문과 답변은 [자주 묻는 질문 페이지](/ko/weave/guides/tracking/faqs) 를 참조하세요.
166 changes: 166 additions & 0 deletions local-links-same-tab.js
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.

Should we have anything about Skills since it is so new or too small?

Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
/**
* local-links-same-tab.js
*
* Ensures that in-doc navigation links (e.g. sidebar "group flex" links) open in
* the same tab when they point to local paths. Links that would otherwise have
* target="_blank" are updated by removing the target attribute so the browser
* uses the default same-tab behavior.
*
* Also swaps the external-link arrow icon (top-right) to a chevron (greater-than)
* on local nav links, so users see expansion/navigation vs. leaving to an external URL.
*
* Why this exists:
* - Some UI frameworks or themes add target="_blank" to all nav links.
* - For internal docs paths (e.g. /products/sunk/index), opening in a new tab
* is usually undesirable; users expect in-site navigation to stay in the same tab.
* - The theme may show an external-link arrow on all nav items; local links should
* show a chevron instead to signal in-site navigation.
* - This script only changes links that match the "group flex" nav pattern and
* have a local href; external (http/https) links are left unchanged.
*
* How it works:
* - Runs on DOMContentLoaded and at several delayed intervals (for slow-hydrating nav).
* - Uses a MutationObserver to run whenever the DOM gains new nodes or a link's
* target attribute changes, so links are fixed as soon as the framework
* renders or re-applies target="_blank".
* - Runs on pageshow so that when the user navigates back, links are fixed again.
* - Selects <a> elements whose class list contains both "group" and "flex"
* (the Mintlify sidebar nav link pattern).
* - For each such link with a local href: removes the target attribute and
* replaces the arrow SVG with a chevron SVG.
*
* Environment:
* - Loaded globally by Mintlify for every docs page (any .js in the content dir).
* - Wrapped in an IIFE to avoid polluting the global scope.
*/

(function () {
/**
* Determines whether an href should be treated as local (same-origin / in-doc).
* Local links should open in the same tab; external links may keep target="_blank".
*
* @param {string | null | undefined} href - The href value from the anchor (e.g. getAttribute('href')).
* @returns {boolean} - True if the link is local and safe to open in the same tab.
*/
function isLocalHref(href) {
// Missing or empty href: treat as local (e.g. placeholder or JS-handled link).
if (!href || typeof href !== 'string') return true;

var trimmed = href.trim();
// Fragment-only links (e.g. #section) are in-page and always local.
if (trimmed === '' || trimmed.startsWith('#')) return true;

// Compare case-insensitively so HTTP: and https: are both treated as external.
var lower = trimmed.toLowerCase();
// Local: relative paths (/foo), path-only, or protocol-relative that we treat as same-site.
// External: explicit http: or https: (and we do not change those).
return !lower.startsWith('http:') && !lower.startsWith('https:');
}

/** Chevron (greater-than) path and dimensions matching expandable section icons. */
var CHEVRON_PATH = 'M0 0L3 3L0 6';

/**
* Replaces the arrow (external-link) icon with a chevron on a nav link.
* Matches the expandable section chevron: width="8" height="24" viewBox="0 -9 3 24".
*
* @param {HTMLAnchorElement} a - The nav link element.
*/
function swapArrowToChevron(a) {
var svg = a.querySelector('svg[viewBox="0 0 384 512"]');
if (!svg) return;

var path = svg.querySelector('path');
if (!path) return;

var d = path.getAttribute('d') || '';
if (d.indexOf('M328 96') !== 0) return;
if (d === CHEVRON_PATH) return;

svg.setAttribute('viewBox', '0 -9 3 24');
svg.setAttribute('width', '8');
svg.setAttribute('height', '24');
svg.setAttribute('class', 'transition-transform text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 w-2 h-5 -mr-0.5 flex-shrink-0');
path.setAttribute('d', CHEVRON_PATH);
path.setAttribute('fill', 'none');
path.setAttribute('stroke', 'currentColor');
path.setAttribute('stroke-width', '1.5');
path.setAttribute('stroke-linecap', 'round');
}

/**
* Finds all "group flex" nav links with a local href, removes target="_blank"
* so they open in the same tab, and swaps the arrow icon to a chevron.
* Marks all processed links so hidden arrows on external links can be revealed.
*
* Safe to call multiple times; idempotent for already-processed links.
*/
function stripTargetBlankFromLocalGroupFlexLinks() {
var links = document.querySelectorAll('a[href]');

for (var i = 0; i < links.length; i++) {
var a = links[i];
var cls = a.className;

if (typeof cls !== 'string') continue;
if (cls.indexOf('group') === -1 || cls.indexOf('flex') === -1) continue;

var href = a.getAttribute('href');
if (isLocalHref(href)) {
a.removeAttribute('target');
swapArrowToChevron(a);
}
a.setAttribute('data-nav-processed', '1');
}
}

// Debounced run: schedule a single stripper run after mutations stop.
var scheduleId = null;
var debounceMs = 120;
function scheduleStrip() {
if (scheduleId) clearTimeout(scheduleId);
scheduleId = setTimeout(function () {
scheduleId = null;
stripTargetBlankFromLocalGroupFlexLinks();
}, debounceMs);
}

// Run as soon as the DOM is ready.
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', function () {
stripTargetBlankFromLocalGroupFlexLinks();
});
} else {
stripTargetBlankFromLocalGroupFlexLinks();
}

// Delayed runs to catch nav that appears only after framework hydration.
[300, 800, 1500, 3000].forEach(function (ms) {
setTimeout(stripTargetBlankFromLocalGroupFlexLinks, ms);
});

// Whenever the framework adds nodes or sets target on a link, run the stripper
// (debounced) so we fix links as soon as they appear or get target="_blank".
function startObserving() {
if (!document.body) return;
var observer = new MutationObserver(function () {
scheduleStrip();
});
observer.observe(document.body, {
childList: true,
subtree: true,
attributes: true,
attributeFilter: ['target']
});
}
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', startObserving);
} else {
startObserving();
}

// When the user hits "back", re-run so links are fixed after bfcache or re-render.
window.addEventListener('pageshow', function () {
stripTargetBlankFromLocalGroupFlexLinks();
});
})();
4 changes: 4 additions & 0 deletions models/support-models.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Support: Models"
url: "/support/models"
---
2 changes: 1 addition & 1 deletion platform/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Access the W&B MCP Server
title: Use the W&B MCP Server
description: "Connect your IDE or AI agent to the W&B Model Context Protocol (MCP) server to access your workspace data and documentation."
---

Expand Down
4 changes: 4 additions & 0 deletions product-inference.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "W&B Inference"
url: "/inference"
---
4 changes: 4 additions & 0 deletions product-models.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "W&B Models"
url: "/models"
---
4 changes: 4 additions & 0 deletions product-training.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "W&B Training"
url: "/training"
---
4 changes: 4 additions & 0 deletions product-weave.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "W&B Weave"
url: "/weave"
---
9 changes: 9 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Hide arrow icons in nav links until swapped to chevron. Prevents FOUC. */
a.group.flex svg[viewBox="0 0 384 512"] {
opacity: 0;
}

/* Reveal arrow on external links after processing. */
a.group.flex[data-nav-processed] svg[viewBox="0 0 384 512"] {
opacity: 1;
}
43 changes: 0 additions & 43 deletions weave/community.mdx

This file was deleted.

Loading
Loading