Mention package managers on download page

This commit is contained in:
Thomas Jensen 2021-05-29 20:37:51 +02:00
parent 2cd9bd9a25
commit 48dc05453b
No known key found for this signature in database
GPG Key ID: A4ACEE270D0FB7DB
4 changed files with 54 additions and 34 deletions

View File

@ -2,11 +2,11 @@
><div class="container-fluid"><div class="row"> ><div class="container-fluid"><div class="row">
<div class="col text-center text-muted"> <div class="col text-center text-muted">
<div class="footer-part"><b>{{ site.name }}</b> &copy;&nbsp;1999-2021 <a href="https://thomasjensen.com" <div class="footer-part"><b>{{ site.name }}</b> &copy;&nbsp;1999-2021 <a href="https://thomasjensen.com"
target="_blank">Thomas&nbsp;Jensen</a><span target="_blank"><span class="d-none d-sm-inline">Thomas&nbsp;Jensen</span><span class="d-inline d-sm-none">T.J.</span></a><span
class="d-none d-sm-inline"> and the</span><span class="d-inline d-sm-none">,</span> class="d-none d-sm-inline"> and the</span><span class="d-inline d-sm-none">,</span>
<i>boxes</i> contributors<span class="footer-sep"></span></div <i>boxes</i> <span class="d-none d-sm-inline">contributors</span><span class="d-inline d-sm-none">contribs</span><span
><div class="footer-part"><a href="{{ site.baseurl }}/website-attribution.html">website license class="footer-sep">●</span></div><div class="footer-part"><a
attribution</a></div> href="{{ site.baseurl }}/website-attribution.html">website license attribution</a></div>
</div></div></div </div></div></div
></footer> ></footer>

View File

@ -59,6 +59,9 @@ ol ul li, ul ul li {
th { th {
color: $headings-color; color: $headings-color;
} }
table.table-striped tr:last-child {
border-bottom: 1px solid $table-border-color;
}
/* /*
@ -113,6 +116,7 @@ pre {
padding: 0; padding: 0;
border-radius: 0; border-radius: 0;
white-space: pre; white-space: pre;
word-wrap: normal;
} }
} }
code { code {
@ -121,6 +125,7 @@ code {
border-radius: $border-radius-sm; border-radius: $border-radius-sm;
padding: 2px 3px; padding: 2px 3px;
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: normal;
} }

View File

@ -11,41 +11,56 @@ The current release is **version {{ site.currentVersion }}**. For older revision
[release history]({{ site.baseurl }}/releases.html). [release history]({{ site.baseurl }}/releases.html).
## Binaries {% comment %} ---------------------------------------------------------------------------------------- {% endcomment %}
{% include heading.html
level=2
text="Binaries" %}
*boxes* binaries are available on multiple platforms: The best way to get *boxes* is via your package manager. Here are some package managers which we know have a
{% comment %} TODO properly reference known packages {% endcomment %} *boxes* package, but there are more - just try it on yours.
**Windows** <table class="table table-striped w-auto">
<thead>
- Option 1 - Using [Chocolatey](https://chocolatey.org/): Just type `choco install boxes.portable` <tr>
- Option 2 - Install from ZIP: <th scope="col">Platform</th>
[Download ZIP](https://github.com/{{ site.github }}/releases/download/v{{ site.currentVersion }}/boxes-{{ <th scope="col">Tool</th>
site.currentVersion }}-intel-win32.zip), extract and put it somewhere on the PATH. Make sure to put boxes.exe and <th scope="col">Command</th>
boxes.cfg in the same directory. </tr>
</thead>
**MacOS X** <tbody>
<tr><td>Linux</td> <td>apt</td> <td><code>apt-get install -y boxes</code></td></tr>
- Just type `brew install boxes`.\\ <tr><td>Linux</td> <td>dnf</td> <td><code>dnf install boxes</code></td></tr>
This works for both 32bit and 64bit MacOS. <tr><td>MacOS</td> <td>brew</td> <td><code>brew install boxes</code></td></tr>
<tr><td>Windows</td> <td>choco</td> <td><code>choco install boxes.portable</code></td></tr>
**Linux** </tbody>
</table>
- Just type `apt-get install boxes`.\\
This works for Debian and debian-based Linuxes, such as Ubuntu, including the Windows 10 Ubuntu Subsystem.
## Miscellaneous {% comment %} ---------------------------------------------------------------------------------------- {% endcomment %}
{% include heading.html
level=3 slug="windows"
text="Windows Portable ZIP" %}
- The current [list of available box designs]({{ site.baseurl }}/box-designs.html) For Windows, we also have a portable ZIP which you can unpack somewhere in your `PATH`. Make sure to put boxes.exe and
- A [Vim syntax file](https://raw.githubusercontent.com/{{ site.github }}/master/boxes.vim){:target="_blank"} to boxes.cfg in the same directory. Get the ZIP file
enable the Vim editor to apply syntax highlighting to *boxes* config files [here](https://github.com/{{ site.github }}/releases/download/v{{ site.currentVersion }}/boxes-{{
site.currentVersion }}-intel-win32.zip).
## Sources {% comment %} ---------------------------------------------------------------------------------------- {% endcomment %}
{% include heading.html
level=3
text="Vim Syntax File" %}
The *boxes* sources are now all on GitHub, including previous releases We also have a [Vim syntax file](https://raw.githubusercontent.com/{{ site.github }}/master/boxes.vim){:target="_blank"}
([build instructions]({{ site.baseurl }}/build.html)): which enables the Vim editor to apply syntax highlighting to *boxes* config files.
{% comment %} ---------------------------------------------------------------------------------------- {% endcomment %}
{% include heading.html
level=2
text="Sources" %}
The *boxes* sources are on GitHub, including previous releases ([build instructions]({{ site.baseurl }}/build.html)):
[https://github.com/{{ site.github }}](https://github.com/{{ site.github }}){:target="_blank"} [https://github.com/{{ site.github }}](https://github.com/{{ site.github }}){:target="_blank"}

View File

@ -122,8 +122,8 @@ This uses the third possible argument to the **-a** option, `j`. `jr` stands for
{% comment %} ---------------------------------------------------------------------------------------- {% endcomment %} {% comment %} ---------------------------------------------------------------------------------------- {% endcomment %}
{% include heading.html {% include heading.html
level=2 level=2 slug="quick-alignment-positioning"
text="Quick alignment/positioning" %} text="Quick alignment/<wbr/>positioning" %}
`boxes -d dog -a c` `boxes -d dog -a c`