contributing

This commit is contained in:
Tanner Nelson 2016-07-30 20:29:40 -04:00
parent 20e05cb892
commit 54ce99b100
No known key found for this signature in database
GPG Key ID: 9C24375C64856B76
4 changed files with 53 additions and 19 deletions

7
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,7 @@
# Contributing to Vapor Docs
Found a mistake or want to add something? Fork the documentation, fix it, and submit a pull request.
We'll merge it as soon as we can.
Thanks!

View File

@ -8,24 +8,6 @@ baseUrl: https://qutheory.github.io/documentation
menu:
sections:
links:
name: Links
items:
website:
text: Qutheory.io
absoluteUrl: http://qutheory.io
example:
text: Example
absoluteUrl: http://example.qutheory.io
github:
text: GitHub
absoluteUrl: https://github.com/qutheory/vapor
twitter:
text: Twitter
absoluteUrl: https://twitter.com/@qutheory
slack:
text: Slack
absoluteUrl: http://slack.qutheory.io
getting-started:
name: Getting Started
items:

View File

@ -18,6 +18,23 @@
<img src="{{ baseUrl }}/images/droplet.svg" alt="Vapor">
<h1>Vapor <em>Docs</em></h1>
</a>
<ul>
<li>
<a href="http://qutheory.io">Home</a>
</li>
<li>
<a href="http://example.qutheory.io">Example</a>
</li>
<li>
<a href="https://github.com/qutheory/vapor">GitHub</a>
</li>
<li>
<a href="https://twitter.com/@qutheory">Twitter</a>
</li>
<li>
<a href="http://slack.qutheory.io">Slack</a>
</li>
</ul>
</header>
<nav>
@ -40,6 +57,7 @@
</nav>
<main>
<a href="/edit" class="https://github.com/qutheory/documentation/CONTRIBUTING.md">✏️ Edit</a>
{{ content | raw }}
</main>

View File

@ -87,6 +87,26 @@ header {
border-bottom: 3px solid #94a9d1;
}
header ul {
position: absolute;
right: 24px;
top: 24px;
height: 100%;
margin: 0;
padding: 0;
}
header ul li {
display: inline-block;
line-height: 48px;
}
header ul li a {
padding: 0 6px;
display: block;
border-bottom: none;
}
nav {
position: absolute;
left: 0;
@ -164,6 +184,13 @@ main {
height: 100%;
}
main a.edit {
position: absolute;
top: 122px;
right: 24px;
border-bottom: none;
}
main h2 {
margin-top: 24px;
border-bottom: 1px dotted rgba(0, 0, 0, 0.10);
@ -190,7 +217,7 @@ p code {
pre {
margin-top: 12px;
margin-bottom: 12px;
margin-bottom: 15px;
padding: 5px;
background: #fbfbfb;
border-radius: 10px;