Relocate docs and update table

This commit is contained in:
Valentin Niess
2022-02-18 23:50:07 +01:00
parent 9d16b954aa
commit 24c5f0e7c4
9 changed files with 37 additions and 3 deletions

View File

@@ -4,7 +4,9 @@ site_author: Valentin Niess
copyright: GPL-3.0
repo_url: https://github.com/niess/python-appimage/
edit_uri: edit/master/docs/
edit_uri: edit/master/docs/src
docs_dir: src
nav:
- Python AppImages: index.md
@@ -18,6 +20,7 @@ theme:
plugins:
- macros:
include_dir: docs/include
module_name: include/macros
- search
markdown_extensions:

View File

@@ -154,7 +154,6 @@ environement variables][APPIMAGE_ENV] can be used as well, if needed. For
example, `$APPDIR` points to the AppImage mount point at runtime.
{% endraw %}
{{ begin("#entrypoint-variables") }}
| variable | Description |
|----------------------|---------------------------------------------------------------|
| `architecture` | The AppImage architecture, e.g. `x86_64`. |
@@ -163,7 +162,6 @@ example, `$APPDIR` points to the AppImage mount point at runtime.
| `python-fullversion` | The Python full version string, e.g. `3.10.2`. |
| `python-tag` | The Python compatibility tag, e.g. `cp310-cp310`. |
| `python-version` | The Python short version string, e.g. `3.10`. |
{{ end("#entrypoint-variables") }}
{{ end(".capsule") }}
{% raw %}

View File

@@ -96,3 +96,36 @@ pre code.hljs {
height: 18px;
width: auto;
}
/* Reshape tables */
.rst-content .section .docutils {
border-collapse: collapse;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
caption-side: bottom;
display: table;
margin-left: auto;
margin-right: auto;
}
.rst-content table.docutils thead {
background-color: #2e3440;
color: #d8dee9;
text-align: left;
vertical-align: middle;
}
.rst-content table.docutils tbody tr {
border-bottom: 1px solid #dddddd;
}
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td {
background-color: white;
}
.rst-content table.docutils tbody tr:nth-of-type(even) {
background-color: #f3f3f3;
}
.rst-content table.docutils tbody tr:last-of-type {
border-bottom: 2px solid #2e3440;
}