docs: Add vuepress with initial docs (#99)

Co-authored-by: Tiffany Le-Nguyen <tlenguyen@expedia.com>
Co-authored-by: Matan Kushner <hello@matchai.me>
This commit is contained in:
Tiffany Le-Nguyen
2019-07-19 16:18:52 -04:00
committed by Matan Kushner
parent 025c0e5e85
commit 08cf33522a
29 changed files with 10472 additions and 32 deletions
+28
View File
@@ -0,0 +1,28 @@
module.exports = {
title: 'Starship',
description: 'The cross-shell prompt for astronauts ☄🌌️',
head: [
['link', { rel: 'icon', href: '/icon.png' }]
],
themeConfig: {
logo: '/icon.png',
sidebar: [
'/',
['/guide/', 'Guide'],
['/config/', 'Configuration']
],
nav: [
{ text: 'Configuration', link: '/config/' },
],
// the GitHub repo path
repo: 'starship/starship',
// the label linking to the repo
repoLabel: 'GitHub',
// if your docs are not at the root of the repo:
docsDir: 'docs',
// defaults to false, set to true to enable
editLinks: true,
// custom text for edit link. Defaults to "Edit this page"
editLinkText: 'Edit this page on GitHub'
}
}
+1
View File
@@ -0,0 +1 @@
http://starship-rs.netlify.com/* http://starship.rs/:splat 301!
+1
View File
@@ -0,0 +1 @@
../../../media/icon.png
+1
View File
@@ -0,0 +1 @@
../../../media/logo.png
+1
View File
@@ -0,0 +1 @@
../../../media/logo.svg
+15
View File
@@ -0,0 +1,15 @@
$accentColor = #DD0B78
$textColor = #2c3e50
$borderColor = #eaecef
$codeBgColor = #282c34
.home .hero img
max-width: 500px
min-width: 300px
width: 100%
#main-title
display: none
.hero
margin: 150px 25px