Skip to content

Commit

Permalink
Move template docs from main branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejball committed Feb 11, 2023
0 parents commit 72b7af5
Show file tree
Hide file tree
Showing 9 changed files with 281 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_drafts/
_site/

Thumbs.db
.jekyll-metadata
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### https://faithlife.github.io/RepoName/
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude:
- docker-compose.yml
- README.md
63 changes: 63 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title | strip_html }}</title>
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css" rel="stylesheet" integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT" crossorigin="anonymous">
<link href="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.css" rel="stylesheet">
<link href="{{ "/assets/page.css" | relative_url }}" rel="stylesheet">
</head>
<body data-spy="scroll" data-target="#toc">
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-main">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ "/" | relative_url }}">ProjectName</a>
</div>
<div class="navbar-collapse collapse" id="navbar-main">
<ul class="nav navbar-nav">
<li><a href="{{ "/ProjectName" | relative_url }}">Reference</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="/"><img src="{{ "/assets/faithlife.png" | relative_url }}" class="faithlife-logo"></a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><img src="{{ "/assets/github.png" | relative_url }}" class="navbar-logo"> <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="https://github.com/Faithlife/RepoName">View Source Code</a></li>
<li><a href="https://github.com/Faithlife/RepoName/blob/master/LICENSE">View License</a></li>
<li><a href="https://github.com/Faithlife/RepoName/blob/master/docs/{{ page.path }}">Edit This Page</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="container page-container">
<div class="row">
<div class="col-sm-9 content-column">
{{ content }}
</div>
<div class="col-sm-3">
<nav id="toc" data-toggle="toc" data-spy="affix" data-offset-top="60"></nav>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js"></script>
<script>
anchors.options.placement = 'left';
anchors.add('h2, h3');
</script>
</body>
</html>
Binary file added assets/faithlife.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
190 changes: 190 additions & 0 deletions assets/page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
body {
font-variant: none;
}

.navbar-static-top {
margin-bottom: 0;
}

.navbar-inverse,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
background-color: #429b1c;
}

.large {
font-size: 125%;
}

.navbar-logo {
height: 24px;
}

.faithlife-logo {
height: 28px;
margin: -2px;
}

.page-container {
margin-top: 21px;
margin-bottom: 21px;
}

.content-column {
padding-left: 45px;
}

h1, .h1, h2, .h2, h3, .h3 {
margin-top: 0;
padding-top: 21px;
}

h4, .h4, h5, .h5, h6, .h6 {
margin-top: 14px;
margin-bottom: 7px;
}

a, a:focus, a:hover, .btn-link, .btn-link:hover, .btn-link:focus {
color: #429b1c;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
color: #c1f992;
}

a.anchorjs-link:active, a.anchorjs-link:hover {
text-decoration: none;
}

nav.affix[data-toggle='toc'] {
margin-top: -60px;
}

#toc {
width: 190px;
}

pre {
color: inherit;
}

code {
color: inherit;
background-color: #ecf0f1;
}

@media (max-width: 767px) {
#toc {
display: none;
}
}

@media (max-width: 479px) {
.content-column {
padding-left: 15px;
}

.anchorjs-link {
display: none;
}
}

/* apply .table, .table-striped, and .table-hover from Flatly to all tables */
@media print {
table {
border-collapse: collapse !important;
}
table td,
table th {
background-color: #fff !important;
}
}
table {
width: 100%;
max-width: 100%;
margin-bottom: 21px;
}
table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
padding: 8px;
line-height: 1.42857143;
vertical-align: top;
border-top: 1px solid #ecf0f1;
}
table > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid #ecf0f1;
}
table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > th,
table > caption + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > td,
table > thead:first-child > tr:first-child > td {
border-top: 0;
}
table > tbody + tbody {
border-top: 2px solid #ecf0f1;
}
table table {
background-color: #ffffff;
}
table > tbody > tr:nth-of-type(odd) {
background-color: #f9f9f9;
}
table > tbody > tr:hover {
background-color: #ecf0f1;
}

/* undo underlined links in tables */
table a:not(.btn), .table a:not(.btn) {
text-decoration: none;
}

.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #008000 } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #0000ff } /* Keyword */
.highlight .cm { color: #008000 } /* Comment.Multiline */
.highlight .cp { color: #0000ff } /* Comment.Preproc */
.highlight .c1 { color: #008000 } /* Comment.Single */
.highlight .cs { color: #008000 } /* Comment.Special */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gh { font-weight: bold } /* Generic.Heading */
.highlight .gp { font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { font-weight: bold } /* Generic.Subheading */
.highlight .kc { color: #0000ff } /* Keyword.Constant */
.highlight .kd { color: #0000ff } /* Keyword.Declaration */
.highlight .kn { color: #0000ff } /* Keyword.Namespace */
.highlight .kp { color: #0000ff } /* Keyword.Pseudo */
.highlight .kr { color: #0000ff } /* Keyword.Reserved */
.highlight .kt { color: #2b91af } /* Keyword.Type */
.highlight .s { color: #a31515 } /* Literal.String */
.highlight .nc { color: #2b91af } /* Name.Class */
.highlight .ow { color: #0000ff } /* Operator.Word */
.highlight .sb { color: #a31515 } /* Literal.String.Backtick */
.highlight .sc { color: #a31515 } /* Literal.String.Char */
.highlight .sd { color: #a31515 } /* Literal.String.Doc */
.highlight .s2 { color: #a31515 } /* Literal.String.Double */
.highlight .se { color: #a31515 } /* Literal.String.Escape */
.highlight .sh { color: #a31515 } /* Literal.String.Heredoc */
.highlight .si { color: #a31515 } /* Literal.String.Interpol */
.highlight .sx { color: #a31515 } /* Literal.String.Other */
.highlight .sr { color: #a31515 } /* Literal.String.Regex */
.highlight .s1 { color: #a31515 } /* Literal.String.Single */
.highlight .ss { color: #a31515 } /* Literal.String.Symbol */
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3'

services:
jekyll:
image: jekyll/jekyll:pages
container_name: reponame
command: jekyll serve --force_polling --livereload
ports:
- 4000:4000
- 35729:35729
volumes:
- ./:/srv/jekyll
7 changes: 7 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ProjectName

[![NuGet](https://img.shields.io/nuget/v/ProjectName.svg)](https://www.nuget.org/packages/ProjectName)

## Usage

See the [reference documentation](ProjectName.md).

0 comments on commit 72b7af5

Please sign in to comment.