Skip to content

Jwilber/add interactives in docs#1014

Closed
jwilber wants to merge 6 commits intomainfrom
jwilber/add-interactives-in-docs
Closed

Jwilber/add interactives in docs#1014
jwilber wants to merge 6 commits intomainfrom
jwilber/add-interactives-in-docs

Conversation

@jwilber
Copy link
Collaborator

@jwilber jwilber commented Jul 31, 2025

Description

This adds the interactives to our docs. They should build fine with the current setup.

We have a new folder, docs/interactives/ where they will be held. Namely:

  • docs/interactives/code/ will hold the code for a given article, e.g. docs/interactives/code/illustrated-evo2/ holds the code for the Evo 2 article.
  • docs/interactives/static/ will hold the generated, optimized bundled assets for a given article, e.g. docs/interactives/static/illustrated-evo2/ holds the code for the Evo 2 article used to render the article.

In other words, for any future interactive content, we'd just put the article in it's own dir in code/, and set the bundle to be output to the same dir in static/.

To make this possible, I added a new hook that grabs the bundled assets and moves them into the site dir where docs are rendered.

There are a lot of file changes in the diff here, but these are really what is relevant (non-article code):

image

jwilber added 3 commits July 31, 2025 11:11
Signed-off-by: Jared Wilber <jwilber@nvidia.com>
Signed-off-by: Jared Wilber <jwilber@nvidia.com>
Signed-off-by: Jared Wilber <jwilber@nvidia.com>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Jul 31, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

jwilber added 3 commits July 31, 2025 11:19
Signed-off-by: Jared Wilber <jwilber@nvidia.com>
Signed-off-by: Jared Wilber <jwilber@nvidia.com>
@jwilber
Copy link
Collaborator Author

jwilber commented Jul 31, 2025

/ok to test a1213b4

@copy-pr-bot
Copy link

copy-pr-bot bot commented Jul 31, 2025

/ok to test a1213b4

@jwilber, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

@jwilber
Copy link
Collaborator Author

jwilber commented Jul 31, 2025

/ok to test 7e20d93

@jomitchellnv
Copy link
Collaborator

gotta bring back my JSX knowledge here

@@ -0,0 +1,141 @@
/*
.grid-container {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete page?

Copy link
Collaborator

@jomitchellnv jomitchellnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

trvachov pushed a commit that referenced this pull request Jul 31, 2025
Signed-off-by: Jared Wilber <jwilber@nvidia.com>
@jwilber jwilber closed this Sep 30, 2025
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