Open coatless opened 4 months ago
In the short term, I'm happy for all R and Python tabsets throughout the documentation to be grouped.
I'm a little less convinced about separating into multiple pages, at least for the moment. I'd be worried about prose duplication and the extra noise. Not saying "never", though.
It is true that we'd save some bandwidth separating out, but I think that both WebAssembly engines are heavy enough that loading either into a page is going to be practially the same damage as both.
If it becomes a serious issue, we might be able to tweak the setup on pages containing tabset groups so that it defaults to R and Pyodide is only actually loaded when a Python block is first made visible (Thinking about it, this might actually be a nice future feature to have for either engine).
Consider auto-switching tabsets from R to Python by specifying a tabset group, e.g. for demo setup
Goes to:
This allows the output to swap, e.g.
Python
:::