Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philanton committed Mar 14, 2024
1 parent 2fedcc7 commit 7459719
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
charts/
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
Gemfile
Gemfile.lock
4 changes: 4 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## 404

**Page not found :(**
The requested page could not be found.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Yellow Stack

## Charts Usage

[Helm](https://helm.sh) must be installed to use the charts. Please refer to
Helm's [documentation](https://helm.sh/docs) to get started.

Once Helm has been set up correctly, add the repo as follows:

helm repo add yellow-stack https://layer-3.github.io/stack
```sh
helm repo add yellow-stack https://layer-3.github.io/stack
```

If you had already added this repo earlier, run `helm repo update` to retrieve
the latest versions of the packages. You can then run `helm search repo
Expand Down
23 changes: 23 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
title: Yellow Stack
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
twitter_username: Yellow
github_username: layer-3

defaults:
- scope:
path: ""
values:
layout: "default"

lsi: false
safe: true
incremental: false
highlighter: rouge
gist:
noscript: false
kramdown:
math_engine: mathjax
syntax_highlighter: rouge
2 changes: 2 additions & 0 deletions _data/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- title: Docs
url: /docs
7 changes: 7 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}"> -->
<link rel="shortcut icon" type="image/ico" href="/assets/favicon.ico">
</head>
15 changes: 15 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% include head.html %}
<body>
{{ content }}

Data:
{{ data.docs | inspect }}

{%- if data.docs.size > 0 -%}
<h2>Navigation</h2>
{% for doc in site.data.docs %}
<li><a href="{{ doc.url }}">{{ doc.title }}</a></li>
{% endfor %}
{%- endif -%}

</body>
Binary file added assets/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Docs

0 comments on commit 7459719

Please sign in to comment.