Add a support page

Also fix a few links flagged by make linkcheck
This commit is contained in:
Kovid Goyal
2018-05-30 12:08:20 +05:30
parent 61f7ce4dee
commit bbc1430420
6 changed files with 75 additions and 5 deletions

View File

@@ -11,16 +11,56 @@
margin-bottom: 1em; margin-bottom: 1em;
} }
.float-right-img { float: right; margin-left: 1em; margin-bottom: 1em }
.half-with-img { max-width: 50% }
.fit-img { max-width: 95% }
div.body p, div.body dd, div.body li, div.body blockquote {
text-align: justify;
}
pre {
white-space: pre-wrap;
}
a[href], input[type="submit"] { cursor: pointer; }
a { a {
text-decoration: none !important; text-decoration: none !important;
border-bottom: none !important; border-bottom: none !important;
} }
#searchbox h3 { body div.document {
display: none; margin-top: 1ex;
} }
.major-features li { .major-features li {
margin-top: 0.75ex; margin-top: 0.75ex;
margin-bottom: 0.75ex; margin-bottom: 0.75ex;
} }
.support-form input[type=submit] {
border-radius: 6px;
box-shadow: rgb(255, 246, 175) 0px 1px 0px 0px;
background: linear-gradient(rgb(255, 236, 100) 5%, rgb(255, 171, 35) 100%) rgb(255, 236, 100);
border: 1px solid rgb(255, 170, 34);
display: inline-block;
color: rgb(51, 51, 51);
font-family: Arial;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: rgb(255, 238, 102) 0px 1px 0px;
}
.support-form input[type=submit]:hover {
background: linear-gradient(rgb(255, 171, 35) 5%, rgb(255, 236, 100) 100%) rgb(255, 171, 35);
}
.support-form input[type=submit]:focus {
outline: 0;
}

7
docs/_templates/support.html vendored Normal file
View File

@@ -0,0 +1,7 @@
{% if pagename != "support" %}
<div id="support" style="text-align: center">
<form class="support-form" action="{{ pathto('support') }}" title="{{ _('Donate to support kitty development') }}">
<input type="submit" value="{{ _('Support kitty') }}">
</form>
</div>
{% endif %}

View File

@@ -118,6 +118,7 @@ html_static_path = ['_static', '../logo/kitty.png']
html_context = { html_context = {
'css_files': ['_static/custom.css'] 'css_files': ['_static/custom.css']
} }
html_favicon = '../logo/kitty.png'
# Custom sidebar templates, must be a dictionary that maps document names # Custom sidebar templates, must be a dictionary that maps document names
# to template names. # to template names.
@@ -130,6 +131,7 @@ html_context = {
html_sidebars = { html_sidebars = {
'**': [ '**': [
'about.html', 'about.html',
'support.html',
'searchbox.html', 'searchbox.html',
'localtoc.html', 'localtoc.html',
'relations.html', 'relations.html',

View File

@@ -53,8 +53,8 @@ it by adding the following to your vimrc::
let &t_ut='' let &t_ut=''
See :ref:`here <ext_styles>` for why |kitty| does not support background color erase.
See `here <https://github.com/kovidgoyal/kitty/blob/master/protocol-extensions.asciidoc#setting-text-styles-colors-in-arbitrary-regions-of-the-screen>`_ for why |kitty| does not support background color erase.
I get errors about the terminal being unknown or opening the terminal failing when SSHing into a different computer? I get errors about the terminal being unknown or opening the terminal failing when SSHing into a different computer?
----------------------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------

View File

@@ -27,7 +27,7 @@ Colored and styled underlines
use in terminal editors such as vim and emacs to display red, wavy underlines use in terminal editors such as vim and emacs to display red, wavy underlines
under mis-spelled words and/or syntax errors. This is done by re-purposing some under mis-spelled words and/or syntax errors. This is done by re-purposing some
SGR escape codes that are not used in modern terminals (`CSI codes SGR escape codes that are not used in modern terminals (`CSI codes
<https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes>`_) <https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_sequences>`_)
To set the underline style:: To set the underline style::
@@ -98,7 +98,7 @@ and to leave *full mode*, use DECRST::
The number ``2017`` above is not used for any existing modes, as far as I know. The number ``2017`` above is not used for any existing modes, as far as I know.
Client programs can query if the terminal emulator is in *full mode* by using Client programs can query if the terminal emulator is in *full mode* by using
the standard `DECRQM <http://vt100.net/docs/vt510-rm/DECRQM>`_ escape sequence. the standard `DECRQM <https://vt100.net/docs/vt510-rm/DECRQM.html>`_ escape sequence.
The new mode works as follows: The new mode works as follows:
@@ -142,6 +142,8 @@ This encoding means each key event is represented by 8 or 9 printable ascii
only bytes, for maximum robustness. only bytes, for maximum robustness.
.. _ext_styles:
Setting text styles/colors in arbitrary regions of the screen Setting text styles/colors in arbitrary regions of the screen
------------------------------------------------------------------ ------------------------------------------------------------------

19
docs/support.rst Normal file
View File

@@ -0,0 +1,19 @@
Support kitty development
===========================
My goal with |kitty| is to move the stagnant terminal ecosystem forward. To that
end kitty has many foundational features, such as: :doc:`image support
<graphics-protocol>`, :doc:`superlative performance <performance>`,
:doc:`various enhancements to the terminal protocol <protocol-extensions>`,
etc. These features allow the development of rich terminal applications, such
as :doc:`Side-by-side diff <kittens/diff>`, :doc:`Unicode input
<kittens/unicode-input>`, etc.
If you wish to support this mission and see the terminal ecosystem evolve,
consider donating so that I can devote more time to |kitty| development.
I have personally written `almost all kitty code
<https://github.com/kovidgoyal/kitty/graphs/contributors>`_.
You can use the `Patreon <https://www.patreon.com/kovidgoyal>`_ or `Liberapay
<https://liberapay.com/kovidgoyal/donate>`_ services to support my kitty
development.