Regenerate documentation

This commit is contained in:
Jay Kamat 2017-05-16 21:03:33 -07:00
parent 1142a19de9
commit 5e3c68530a
No known key found for this signature in database
GPG Key ID: 5D2E399600F4F7B5
5 changed files with 17 additions and 28 deletions

View File

@ -160,6 +160,7 @@ Contributors, sorted by the number of commits in descending order:
* Lamar Pavel * Lamar Pavel
* Marshall Lochbaum * Marshall Lochbaum
* Bruno Oliveira * Bruno Oliveira
* thuck
* Martin Tournoij * Martin Tournoij
* Imran Sobir * Imran Sobir
* Alexander Cogneau * Alexander Cogneau
@ -174,6 +175,7 @@ Contributors, sorted by the number of commits in descending order:
* Fritz Reichwald * Fritz Reichwald
* Corentin Julé * Corentin Julé
* meles5 * meles5
* Jay Kamat
* Philipp Hansch * Philipp Hansch
* Panagiotis Ktistakis * Panagiotis Ktistakis
* Artur Shaik * Artur Shaik
@ -191,7 +193,6 @@ Contributors, sorted by the number of commits in descending order:
* ZDarian * ZDarian
* Milan Svoboda * Milan Svoboda
* John ShaggyTwoDope Jenkins * John ShaggyTwoDope Jenkins
* Jay Kamat
* Clayton Craft * Clayton Craft
* Peter Vilim * Peter Vilim
* Jacob Sword * Jacob Sword
@ -225,7 +226,6 @@ Contributors, sorted by the number of commits in descending order:
* Jussi Timperi * Jussi Timperi
* Cosmin Popescu * Cosmin Popescu
* Brian Jackson * Brian Jackson
* thuck
* sbinix * sbinix
* rsteube * rsteube
* neeasade * neeasade

View File

@ -82,7 +82,7 @@ It is possible to run or bind multiple commands by separating them with `;;`.
|<<tab-move,tab-move>>|Move the current tab according to the argument and [count]. |<<tab-move,tab-move>>|Move the current tab according to the argument and [count].
|<<tab-next,tab-next>>|Switch to the next tab, or switch [count] tabs forward. |<<tab-next,tab-next>>|Switch to the next tab, or switch [count] tabs forward.
|<<tab-only,tab-only>>|Close all tabs except for the current one. |<<tab-only,tab-only>>|Close all tabs except for the current one.
|<<tab-pin,tab-pin>>|Pin the current/[count]th tab. |<<tab-pin,tab-pin>>|Pin/Unpin the current/[count]th tab.
|<<tab-prev,tab-prev>>|Switch to the previous tab, or switch [count] tabs back. |<<tab-prev,tab-prev>>|Switch to the previous tab, or switch [count] tabs back.
|<<unbind,unbind>>|Unbind a keychain. |<<unbind,unbind>>|Unbind a keychain.
|<<undo,undo>>|Re-open a closed tab (optionally skipping [count] closed tabs). |<<undo,undo>>|Re-open a closed tab (optionally skipping [count] closed tabs).
@ -839,9 +839,9 @@ Close the current/[count]th tab.
==== optional arguments ==== optional arguments
* +*-p*+, +*--prev*+: Force selecting the tab before the current tab. * +*-p*+, +*--prev*+: Force selecting the tab before the current tab.
* +*-n*+, +*--next*+: Force selecting the tab after the current tab. * +*-n*+, +*--next*+: Force selecting the tab after the current tab.
* +*-f*+, +*--force*+: Avoid confirmation for pinned tabs.
* +*-o*+, +*--opposite*+: Force selecting the tab in the opposite direction of what's configured in 'tabs->select-on-remove'. * +*-o*+, +*--opposite*+: Force selecting the tab in the opposite direction of what's configured in 'tabs->select-on-remove'.
* +*-f*+, +*--force*+: Avoid confirmation for pinned tabs.
==== count ==== count
The tab index to close The tab index to close
@ -905,16 +905,10 @@ Close all tabs except for the current one.
[[tab-pin]] [[tab-pin]]
=== tab-pin === tab-pin
Syntax: +:tab-pin+ Pin/Unpin the current/[count]th tab.
Pin the current/[count]th tab.
==== count ==== count
The tab index to pin The tab index to pin or unpin
==== note
* Pinning a tab shrinks it to `tabs->pinned-width` size.
* Attempting to close a pinned tab will cause a confirmation, unless `--force` is passed.
[[tab-prev]] [[tab-prev]]
=== tab-prev === tab-prev

View File

@ -124,15 +124,15 @@
|<<tabs-wrap,wrap>>|Whether to wrap when changing tabs. |<<tabs-wrap,wrap>>|Whether to wrap when changing tabs.
|<<tabs-movable,movable>>|Whether tabs should be movable. |<<tabs-movable,movable>>|Whether tabs should be movable.
|<<tabs-close-mouse-button,close-mouse-button>>|On which mouse button to close tabs. |<<tabs-close-mouse-button,close-mouse-button>>|On which mouse button to close tabs.
|<<tabs-pinned-width,pinned-width>>|The size of pinned tabs.
|<<tabs-position,position>>|The position of the tab bar. |<<tabs-position,position>>|The position of the tab bar.
|<<tabs-show-favicons,show-favicons>>|Whether to show favicons in the tab bar. |<<tabs-show-favicons,show-favicons>>|Whether to show favicons in the tab bar.
|<<tabs-favicon-scale,favicon-scale>>|Scale for favicons in the tab bar. The tab size is unchanged, so big favicons also require extra `tabs->padding`. |<<tabs-favicon-scale,favicon-scale>>|Scale for favicons in the tab bar. The tab size is unchanged, so big favicons also require extra `tabs->padding`.
|<<tabs-width,width>>|The width of the tab bar if it's vertical, in px or as percentage of the window. |<<tabs-width,width>>|The width of the tab bar if it's vertical, in px or as percentage of the window.
|<<tabs-pinned-width,pinned-width>>|The width for pinned tabs with a horizontal tabbar, in px.
|<<tabs-indicator-width,indicator-width>>|Width of the progress indicator (0 to disable). |<<tabs-indicator-width,indicator-width>>|Width of the progress indicator (0 to disable).
|<<tabs-tabs-are-windows,tabs-are-windows>>|Whether to open windows instead of tabs. |<<tabs-tabs-are-windows,tabs-are-windows>>|Whether to open windows instead of tabs.
|<<tabs-title-format,title-format>>|The format to use for the tab title. The following placeholders are defined: |<<tabs-title-format,title-format>>|The format to use for the tab title. The following placeholders are defined:
|<<tabs-title-format-pinned,title-format-pinned>>|The format to use for the tab title, when it is pinned. The following placeholders are defined: |<<tabs-title-format-pinned,title-format-pinned>>|The format to use for the tab title for pinned tabs.The same placeholders like for title-format are defined.
|<<tabs-title-alignment,title-alignment>>|Alignment of the text inside of tabs |<<tabs-title-alignment,title-alignment>>|Alignment of the text inside of tabs
|<<tabs-mousewheel-tab-switching,mousewheel-tab-switching>>|Switch between tabs using the mouse wheel. |<<tabs-mousewheel-tab-switching,mousewheel-tab-switching>>|Switch between tabs using the mouse wheel.
|<<tabs-padding,padding>>|Padding for tabs (top, bottom, left, right). |<<tabs-padding,padding>>|Padding for tabs (top, bottom, left, right).
@ -1185,14 +1185,6 @@ Valid values:
Default: +pass:[middle]+ Default: +pass:[middle]+
[[tabs-pinned-width]]
=== pinned-width
The width for pinned tabs with a horizontal tabbar, in px.
See `:tab-pin` for more details.
Default: +43+
[[tabs-position]] [[tabs-position]]
=== position === position
The position of the tab bar. The position of the tab bar.
@ -1229,6 +1221,12 @@ The width of the tab bar if it's vertical, in px or as percentage of the window.
Default: +pass:[20%]+ Default: +pass:[20%]+
[[tabs-pinned-width]]
=== pinned-width
The width for pinned tabs with a horizontal tabbar, in px.
Default: +pass:[43]+
[[tabs-indicator-width]] [[tabs-indicator-width]]
=== indicator-width === indicator-width
Width of the progress indicator (0 to disable). Width of the progress indicator (0 to disable).
@ -1264,9 +1262,7 @@ Default: +pass:[{index}: {title}]+
[[tabs-title-format-pinned]] [[tabs-title-format-pinned]]
=== title-format-pinned === title-format-pinned
The format to use for the tab title when it is pinned. The format to use for the tab title for pinned tabs.The same placeholders like for title-format are defined.
The same syntax is used as `tabs->title-format`
Default: +pass:[{index}]+ Default: +pass:[{index}]+

View File

@ -259,7 +259,7 @@ class CommandDispatcher:
name='tab-pin') name='tab-pin')
@cmdutils.argument('count', count=True) @cmdutils.argument('count', count=True)
def tab_pin(self, count=None): def tab_pin(self, count=None):
"""Pin/Unpin the current tab. """Pin/Unpin the current/[count]th tab.
Args: Args:
count: The tab index to pin or unpin, or None count: The tab index to pin or unpin, or None

View File

@ -549,7 +549,6 @@ def check_open_tabs(quteproc, request, tabs):
assert line.startswith('- ') assert line.startswith('- ')
line = line[2:] # remove "- " prefix line = line[2:] # remove "- " prefix
path = line
active = False active = False
pinned = False pinned = False