You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary & Motivation
Behind a feature flag, render `dg docs` within the app, within code locations that have docs available.
This involved some changes to the existing `dg-docs-site` to reuse some pieces that are currently there but are reusable here.
Brief demo:
https://github.com/user-attachments/assets/689acff7-e91f-4519-86d0-c7028f0bd1ed
Ignore the `default` cursor on there -- the cursors are correct, this is just QuickTime Player acting up.
## How I Tested These Changes
`dg dev` in dg-enabled project, then run JS dev for Dagster app.
- Navigate to code location list. Verify that "Docs" is not present as a column. Click on a code location, verify that there is no "Docs" tab. (This is the default non-flagged state.)
- Enable the feature flag via User Settings, navigate to code location list.
- Verify that my project has a "View docs" button, and that I can click it to go to docs.
- Verify correct rendering and behavior of in-app docs, including left nav collapse/show, item highlighting, component list views, and component pages.
Run `dg docs serve`, verify that this continues to build and render correctly.
0 commit comments