Skip to content

Strategy selector in documentation#571

Draft
TobyBoyne wants to merge 2 commits into
experimental-design:mainfrom
TobyBoyne:strategy-selector
Draft

Strategy selector in documentation#571
TobyBoyne wants to merge 2 commits into
experimental-design:mainfrom
TobyBoyne:strategy-selector

Conversation

@TobyBoyne
Copy link
Copy Markdown
Collaborator

Motivation

Currently, there is no Strategy page in the documentation, despite this being the main way that users will interact with BoFire. Additionally, the Surrogates page can be quite overwhelming, with many options to choose from.

I propose we take inspiration from the excellent tool https://honegumi.readthedocs.io/en/latest/, which I found when trying to recreate the 'Install PyTorch' table on https://pytorch.org/. This PR has a rough implementation of this table, with a couple of example screenshots below:

image

Clicking on the "multi-task" link changes the code block appropriately:

image

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

The docs do not have associated tests. I will check on different devices/platforms that the interface works as intended.

@jduerholt
Copy link
Copy Markdown
Contributor

Hi Toby, this is super nice! Best, Johannes

Tell me when it is ready!

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.

2 participants