-
Notifications
You must be signed in to change notification settings - Fork 25
Adding the "tabs" directive #161
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
Conversation
@weaverryan thanks for this! I've tested this in my local machine and didn't fully work. The missing part is the I know that these tabs won't always be used for "programming languages" ... but this is just an internal detail in the generated HTML, so I think it's OK to do it without renaming the |
Thank you for trying it out @javiereguiluz! I've updated to re-add the I'm also now just reusing the Cheers! |
Thanks for the updates! I copied the HTML code of About the value of So, this should be ready! Cheers! |
Yaaaaaay! That looks like I expected. Thank you!!! |
@javiereguiluz Is this ready to merge? I was going to allow you to do it, as I assume you'll be the one integrating this into symfony.com. Thanks! |
Ryan, I'm really sorry! I totally forgot about this 😞 I'm merging this, tagging a new release and then updating symfony.com server to use the new version. Thanks! |
@weaverryan this is now deployed on symfony.com, so we can already use the new directive in docs. Thanks! |
thank you!!! |
This PR was merged into the 5.4 branch. Discussion ---------- [Format] Add `tabs` directive I think it is worth mentioning `@weaverryan`'s tabs added here: symfony-tools/docs-builder#161 🙂 Commits ------- b61cb59 [Format] Add `tabs` directive
Hi!
This adds a "tabs" directive, based off of https://sphinx-tabs.readthedocs.io/en/latest/
Example:
This will render (with a little assistance from Javier) just like a "configuration block", except that you can put any content inside. My use-case is for some UX-related items where install steps will now be different if you're using Encore vs AssetMapper, and I think a tabbed setup will be better than 2 sections right after each other.
Feedback appreciated!