Skip to content

Commit 71494d5

Browse files
authored
Fix import issues (#1716)
## 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.
1 parent 3369756 commit 71494d5

39 files changed

+1886
-44
lines changed

.github/workflows/generate-reference-docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ jobs:
8585
deactivate
8686
rm -rf venv_typescript
8787
88+
- name: Fix file casing
89+
run: |
90+
echo "Fixing file casing for SDK documentation..."
91+
python scripts/reference-generation/fix_casing.py
92+
8893
- name: Fix broken links
8994
run: |
9095
echo "Fixing broken links in documentation..."

get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Welcome to Weights & Biases! Before getting started with our products, it's impo
2020
<Card title="Models Quickstart" href="/models/quickstart">
2121
The "hello world" of W&B, which guides you to logging your first data.
2222
</Card>
23-
<Card title="Get Started with Models" href="/models/models_quickstart/">
23+
<Card title="Get Started with Models" href="/guides/models_quickstart">
2424
A full-fledged tutorial that walks through the entire Models product using a real ML experiment.
2525
</Card>
2626
<Card title="W&B 101 Course" href="https://wandb.ai/site/courses/101/">
File renamed without changes.

models/ref/python/public-api/artifactcollection.mdx renamed to models/ref/python/public-api/ArtifactCollection.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "ArtifactCollection"
2+
title: ArtifactCollection
3+
namespace: public_apis_namespace
4+
python_object_type: class
35
---
46

57

models/ref/python/public-api/artifactcollections.mdx renamed to models/ref/python/public-api/ArtifactCollections.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "ArtifactCollections"
2+
title: ArtifactCollections
3+
namespace: public_apis_namespace
4+
python_object_type: class
35
---
46

57

models/ref/python/public-api/artifactfiles.mdx renamed to models/ref/python/public-api/ArtifactFiles.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "ArtifactFiles"
2+
title: ArtifactFiles
3+
namespace: public_apis_namespace
4+
python_object_type: class
35
---
46

57

models/ref/python/public-api/artifacttype.mdx renamed to models/ref/python/public-api/ArtifactType.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "ArtifactType"
2+
title: ArtifactType
3+
namespace: public_apis_namespace
4+
python_object_type: class
35
---
46

57

models/ref/python/public-api/artifacttypes.mdx renamed to models/ref/python/public-api/ArtifactTypes.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "ArtifactTypes"
2+
title: ArtifactTypes
3+
namespace: public_apis_namespace
4+
python_object_type: class
35
---
46

57

models/ref/python/public-api/betareport.mdx renamed to models/ref/python/public-api/BetaReport.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "BetaReport"
2+
title: BetaReport
3+
namespace: public_apis_namespace
4+
python_object_type: class
35
---
46

57

models/ref/python/public-api/file.mdx renamed to models/ref/python/public-api/File.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: "File"
2+
title: File
3+
namespace: public_apis_namespace
4+
python_object_type: class
35
---
46

57

0 commit comments

Comments
 (0)