Update docs

This commit is contained in:
Florian Bruhin 2018-10-05 17:21:36 +02:00
parent fddb10e157
commit 2c3f144cd5
3 changed files with 22 additions and 4 deletions

View File

@ -18,6 +18,12 @@ breaking changes (such as renamed commands) can happen in minor releases.
v1.6.0 (unreleased) v1.6.0 (unreleased)
------------------- -------------------
Added
~~~~~
- New `tabs.new_position.stacking` setting which controls whether new tabs
opened from a page should stack on each other or not.
Changed Changed
~~~~~~~ ~~~~~~~

View File

@ -256,7 +256,8 @@
|<<tabs.mode_on_change,tabs.mode_on_change>>|When switching tabs, what input mode is applied. |<<tabs.mode_on_change,tabs.mode_on_change>>|When switching tabs, what input mode is applied.
|<<tabs.mousewheel_switching,tabs.mousewheel_switching>>|Switch between tabs using the mouse wheel. |<<tabs.mousewheel_switching,tabs.mousewheel_switching>>|Switch between tabs using the mouse wheel.
|<<tabs.new_position.related,tabs.new_position.related>>|Position of new tabs opened from another tab. |<<tabs.new_position.related,tabs.new_position.related>>|Position of new tabs opened from another tab.
|<<tabs.new_position.unrelated,tabs.new_position.unrelated>>|Position of new tabs which aren't opened from another tab. |<<tabs.new_position.stacking,tabs.new_position.stacking>>|Stack related tabs on top of each other when opened consecutively.
|<<tabs.new_position.unrelated,tabs.new_position.unrelated>>|Position of new tabs which are not opened from another tab.
|<<tabs.padding,tabs.padding>>|Padding (in pixels) around text for tabs. |<<tabs.padding,tabs.padding>>|Padding (in pixels) around text for tabs.
|<<tabs.pinned.shrink,tabs.pinned.shrink>>|Shrink pinned tabs down to their contents. |<<tabs.pinned.shrink,tabs.pinned.shrink>>|Shrink pinned tabs down to their contents.
|<<tabs.position,tabs.position>>|Position of the tab bar. |<<tabs.position,tabs.position>>|Position of the tab bar.
@ -3156,6 +3157,7 @@ Default: +pass:[true]+
[[tabs.new_position.related]] [[tabs.new_position.related]]
=== tabs.new_position.related === tabs.new_position.related
Position of new tabs opened from another tab. Position of new tabs opened from another tab.
See `tabs.new_position.stacking` for controlling stacking behavior.
Type: <<types,NewTabPosition>> Type: <<types,NewTabPosition>>
@ -3168,9 +3170,19 @@ Valid values:
Default: +pass:[next]+ Default: +pass:[next]+
[[tabs.new_position.stacking]]
=== tabs.new_position.stacking
Stack related tabs on top of each other when opened consecutively.
Only applies for `next` and `prev` values of `tabs.new_position.related` and `tabs.new_position.unrelated`.
Type: <<types,Bool>>
Default: +pass:[true]+
[[tabs.new_position.unrelated]] [[tabs.new_position.unrelated]]
=== tabs.new_position.unrelated === tabs.new_position.unrelated
Position of new tabs which aren't opened from another tab. Position of new tabs which are not opened from another tab.
See `tabs.new_position.stacking` for controlling stacking behavior.
Type: <<types,NewTabPosition>> Type: <<types,NewTabPosition>>

View File

@ -1494,8 +1494,8 @@ tabs.new_position.stacking:
desc: >- desc: >-
Stack related tabs on top of each other when opened consecutively. Stack related tabs on top of each other when opened consecutively.
Only applies `next` and `prev` values of `tabs.new_position.related` and Only applies for `next` and `prev` values of `tabs.new_position.related`
`tabs.new_position.unrelated`. and `tabs.new_position.unrelated`.
tabs.padding: tabs.padding:
default: default: