Skip to content

Support tab blocks #208

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

Closed
fhennig opened this issue Jun 2, 2022 · 3 comments · Fixed by #600
Closed

Support tab blocks #208

fhennig opened this issue Jun 2, 2022 · 3 comments · Fixed by #600
Assignees

Comments

@fhennig
Copy link
Contributor

fhennig commented Jun 2, 2022

I'd really like to have tabbed blocks available, for example to have install steps for linux/mac as two tabs to take up less space.

There's this extension from couchbase we could try and integrate: https://github.com/couchbase/docs-site/blob/9896e4500fa2012ca8da00d9036f5d0f1d23cdb2/lib/tabs-block.js

There's also a more "official" extension: https://gitlab.com/antora/antora-asciidoctor-extensions/-/blob/main/tabs-block/extension.js that might work

For example here is such a block, with "Enterprise" and "Community" tabs.

@NickLarsenNZ
Copy link
Member

Another example (for variety): https://docs.dapr.io/getting-started/quickstarts/pubsub-quickstart/

@fhennig
Copy link
Contributor Author

fhennig commented Mar 25, 2024

Another example, even more involved: https://docs.cloudera.com/cdp-private-cloud-upgrade/latest/upgrade-cdp/topics/ug_cm_upgrade_before-cdp.html

In here you have multiple drop downs to select 'your environment' which is used throughout the article

@fhennig fhennig moved this to Development: In Progress in Stackable Engineering Apr 30, 2024
@fhennig fhennig changed the title Use tabs blocks [enhancement] Support tab blocks Apr 30, 2024
@fhennig
Copy link
Contributor Author

fhennig commented Apr 30, 2024

In the end I went with the official tab block extension. https://github.com/asciidoctor/asciidoctor-tabs

@sbernauer sbernauer moved this from Development: In Progress to Development: Done in Stackable Engineering May 27, 2024
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants