|
|
Use `data-hide-in-master=true` to hide a tab in the `master` branch:
|
|
|
|
|
|
```markdown
|
|
|
Row {.tabset}
|
|
|
-------------------------------------
|
|
|
|
|
|
### Tab 1
|
|
|
|
|
|
…
|
|
|
|
|
|
### Tab 2 {data-hide-in-master=true}
|
|
|
|
|
|
…
|
|
|
|
|
|
### Tab 3
|
|
|
|
|
|
…
|
|
|
|
|
|
```
|
|
|
|
|
|
A JS function will pick it up, remove the tab contents & header, and switch to the first visible sibling tab if the removed one was active.
|
|
|
|
|
|
These hidden tabs still increase the build & load times (and page size) of course, so for long term changes it's better to just not merge the "hidden" R code to master. Use `git stash` or just a separate branch. |
|
|
\ No newline at end of file |