docs: Add logos to web page

Also, move docs/index.md to docs/_layouts/home.html.  Add a
docs/_layouts/README file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-04-18 22:28:01 -04:00
parent 85c01d4b6a
commit 57cf0759c0
6 changed files with 26 additions and 13 deletions

5
docs/_layouts/README Normal file
View File

@ -0,0 +1,5 @@
This directory defines the https://www.klipper3d.org/ website. The
site is hosted using "github pages" (which uses Jekyll to
automatically convert the markdown files in the docs/ directory to
html). In addition to the files in this directory, the docs/CNAME and
docs/_config.yml file also control the website generation.

View File

@ -34,7 +34,9 @@
<!-- Navbar at top of page -->
<nav class="navbar navbar-expand-md navbar-light bg-light">
<a class="navbar-brand" href="/">Klipper</a>
<a class="navbar-brand" href="/">
<img src="img/klipper-logo-small.png" alt="Klipper">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

18
docs/_layouts/home.html Normal file
View File

@ -0,0 +1,18 @@
---
# This file defines the main https://www.klipper3d.org/ page.
layout: default
---
<p class="text-center">Welcome to the Klipper project!</p>
<p class="text-center"><img src="img/klipper-logo.png"/></p>
<p>Klipper is a 3d-Printer firmware. It combines the power of a general
purpose computer with one or more micro-controllers. See the
<a href="/Features.html">features</a> document for more information on why you
should use Klipper.</p>
<p>To begin using Klipper start by <a href="/Installation.html">installing</a> it.</p>
<p>Klipper is Free Software. Read the <a href="/Overview.html">documentation</a> or
view
<a href="https://github.com/KevinOConnor/klipper">the Klipper code on github</a>.</p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
docs/img/klipper-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,12 +0,0 @@
Welcome to the Klipper project!
Klipper is a 3d-Printer firmware. It combines the power of a general
purpose computer with one or more micro-controllers. See the
[features](Features.md) document for more information on why you
should use Klipper.
To begin using Klipper start by [installing](Installation.md) it.
Klipper is Free Software. Read the [documentation](Overview.md) or
view
[the Klipper code on github](https://github.com/KevinOConnor/klipper).