-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding documentation for tabs and containers #206
Conversation
adding tabs documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing all of this! Have some suggestions, let me know if anything is unclear
title: Container 2 title | ||
title: Page Title | ||
``` | ||
=== "Result" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The result doesn't render in a separate tab. I think the screenshot is still outdated right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the screenshots are not replaced yet. Example py and yaml are updated, but the screenshot image does not reflect the example code. Screenshots will be replaced when we fix tab title.
To create and add a container to your page, do the following steps: | ||
|
||
1. Provide a `title` to your [`Container`][vizro.models.Container] | ||
2. Configure your `components`, see our guide on [Charts/Components](components.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you may have compied this from another guide? This is a little outdated, as the guides and graph, table and cards&buttons are now separate.
Could we change this to say "see our guides on the various options here (e.g. Graphs, Tables, Cards & Buttons)."
If this was copied somewhere else, can we change it there too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I've copied this from pages.md - repaced it with suggested now.
Closing for new PR on this: #262 |
Description
Documentation for tabs and containers.
To do:
Checklist
Types of changes
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":