Skip to content

[DO NOT MERGE] Manual check#183

Closed
ngrayluna wants to merge 1 commit into
mainfrom
sdk_manual_release_15.0
Closed

[DO NOT MERGE] Manual check#183
ngrayluna wants to merge 1 commit into
mainfrom
sdk_manual_release_15.0

Conversation

@ngrayluna

Copy link
Copy Markdown
Contributor

Description

What does the pull request do? If it fixes a bug or resolves a feature request, be sure to link to that issue.

Ticket

Does this PR fix an existing issue? If yes, provide a link to the ticket here:

Checklist

Check if your PR fulfills the following requirements. Put an X in the boxes that apply.

  • Files I edited were previewed on my local development server with yarn start. My changes did not break the local preview.
  • Build (yarn docusaurus build) was run locally and successfully without errors or warnings.
  • I merged the latest changes from main into my feature branch before submitting this PR.

@ngrayluna ngrayluna marked this pull request as ready for review April 19, 2023 23:05
@ngrayluna ngrayluna changed the title Manual check [DO NOT MERGE] Manual check Apr 19, 2023
@ngrayluna ngrayluna closed this Apr 20, 2023
@ngrayluna ngrayluna deleted the sdk_manual_release_15.0 branch April 20, 2023 06:18
dfinster added a commit that referenced this pull request Jun 23, 2026
> **Draft — depends on coreweave/docengine#183.** Do not merge until
#183 is merged and this repo's `docengine` submodule is bumped to
include it (Dependabot bump). The workflow calls `docengine
knowledgebase apply`, which only exists once the pinned submodule
contains #183.

## Summary

Replaces the bundled `scripts/knowledgebase-nav/` toolchain with the
DocEngine `knowledgebase` subsystem. The Python that was byte-for-byte
duplicated with `coreweave/docs` now lives once in the engine and
reaches hosts via Dependabot.

## Changes

- **`docengine-site/knowledgebase.yaml`** — the old `config.yaml` minus
`mintlify_root` (the support root is resolved from `docengine.yaml`
`output_subpath` = `.`). Products and allowed keywords are unchanged.
- **`docengine-site/templates/`** — the two MDX templates moved here.
W&B keeps its own product-index template variant (`title: "Support: …"`,
no `sidebarTitle`); templates are per-host.
- **Removed `scripts/knowledgebase-nav/`** — script, report, tests,
README, `Architecture.md`, `requirements.txt`. The engine owns the logic
and tests now.
- **`.github/workflows/knowledgebase-nav.yml`** — slimmed to:
authenticate + init the `docengine` submodule (`DOCENGINE_TOKEN`), `pip
install -e ./docengine`, `docengine knowledgebase apply --report-file
…`, upsert the PR comment (same `<!-- knowledgebase-nav-report -->`
marker), and commit the support output back with the
`wandb-docs-pr-writer` App token. The engine reports its exact changed
files, so the old `git add --dry-run` candidate loop is gone.

## Behavior change (forks)

Generation now needs the **private** `coreweave/docengine` submodule,
which fork PRs cannot clone. The job runs for **same-repo PRs and manual
dispatch only**; fork PRs are regenerated by a maintainer after merge
(the former bundled script could generate but never push on forks).
Workflow/job names are unchanged so any required-check names still
match.

## Verification

The engine change (#183) was proven behavior-preserving by a
differential against this repo's real
`scripts/knowledgebase-nav/generate_tags.py` over the live `support/`
tree (this is the `output_subpath: "."` case): the generated trees are
byte-identical except the intended `template:` provenance line
(`scripts/knowledgebase-nav/templates/…` →
`docengine-site/templates/…`); `support.mdx` and all article footers are
byte-identical. Report markdown is byte-identical to the legacy
`pr_report.py`.

## Merge order

1. Merge coreweave/docengine#183.
2. Bump this repo's `docengine` submodule to include it (Dependabot).
3. Mark this PR ready and merge.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: wandb-docs-pr-writer[bot] <wandb-docs-pr-writer[bot]@users.noreply.github.com>
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.

1 participant