Skip to content

Commit

Permalink
It broke the web site.
Browse files Browse the repository at this point in the history
Revert "Clean up docs. I hope this doesn't break the web site."

This reverts commit a2c4164.
  • Loading branch information
neale-pnnl committed Dec 5, 2024
1 parent a2c4164 commit 8ea2ff7
Show file tree
Hide file tree
Showing 26 changed files with 3,808 additions and 128 deletions.
8 changes: 0 additions & 8 deletions docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,5 @@ Requests
========

* Merge devdsp fixes (https://github.com/devdsp/tanks/commits/master)

Done
====

* Fix leaderboard

Won't Fix
=======

* Read sensors from "sensors" and not "sensor[0-9]"
6 changes: 6 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
defaults:
-
scope:
path: ""
values:
layout: "default"
29 changes: 29 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="{{ '/assets/css/dirtbags.css?v=' | append: site.github.build_revision | relative_url }}">
<link rel="icon" type="image/png" href="{{ '/assets/images/icon.png' | relative_url }}">
{% if page.scripts %}{% for js_file in page.scripts %}
<script src="{{ js_file }}"></script>
{% endfor %}{% endif %}
<title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title>
</head>

<body>
<h1 id="title">{{ page.title | default: site.title }}</h1>

{{ content }}

<nav>
<ul>
<li><a href="{{ '/' | relative_url }}">Home</a></li>
<li><a href="{{ '/running' | relative_url }}">Running</a></li>
<li><a href="{{ '/history' | relative_url }}">History</a></li>
<li><a href="{{ '/thanks' | relative_url }}">Thanks</a></li>
<li><a href="https://github.com/dirtbags/tanks" title="Tanks on Github">Source</a></li>
</ul>
</nav>
</body>
</html>
36 changes: 36 additions & 0 deletions docs/_site/TODO.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/assets/css/dirtbags.css?v=">
<link rel="icon" type="image/png" href="/assets/images/icon.png">

<title> by </title>
</head>

<body>
<h1 id="title">To-Do List</h1>

<h1 id="bugs">BUGS</h1>

<h1 id="requests">Requests</h1>

<ul>
<li>Merge devdsp fixes (https://github.com/devdsp/tanks/commits/master)</li>
<li>Fix leaderboard</li>
<li>Read sensors from “sensors” and not “sensor[0-9]”</li>
</ul>


<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/running">Running</a></li>
<li><a href="/history">History</a></li>
<li><a href="/thanks">Thanks</a></li>
<li><a href="https://github.com/dirtbags/tanks" title="Tanks on Github">Source</a></li>
</ul>
</nav>
</body>
</html>
151 changes: 151 additions & 0 deletions docs/_site/assets/css/dirtbags.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
/**** document ****/

html {
background: #eed url(/assets/images/grunge.png) repeat-x;
}

body {
font-family: sans-serif;
color: #112;
padding: 10px;
max-width: 700px;
}

/**** heading ****/

#title {
text-transform: lowercase;
font-size: 1.6em;
padding: 3px;
margin: 0 0 1em 2em;
}

#title:before {
color: #999;
letter-spacing: -0.1em;
content: "Dirtbags: ";
}

/*** left side bar ***/

nav h2 {
display: none;
}

nav ul {
list-style: none;
text-align: center;
}

nav li {
display: inline;
}

nav li a {
text-transform: lowercase;
font-size: 0.9em;
}

nav li + li:before {
content: " | ";
}


/**** body ****/

a img {
border: 0px;
}

a {
text-decoration: none;
color: #2a4;
font-weight: bold;
}

a:hover {
color: #ddc;
background: #2a4;
}


h1, h2, h3 {
color: #464;
letter-spacing: -0.05em;
}

.readme {
background-color: #ccc;
margin: 1em;
}

pre {
background-color: #ccc;
border: solid #888 2px;
padding: 0.25em;
}


th {
vertical-align: top;
text-align: center;
}
td {
vertical-align: top;
text-align: right;
}

p {
line-height: 1.4em;
margin-bottom: 20px;
}

hr {
border: 1px solid #444;
}

dt {
white-space: pre;
background-color: #333;
padding: 5px;
border: 2px solid green;
border-bottom: none;
font-weight: bold;
}

dd {
border: 2px solid green;
margin: 0px;
padding: 5px;
background-color: #282828;
}


/**** special cases ****/

.wide {
max-width: inherit;
}

.figure {
margin: 0.5em 1em;
float: right;
font-size: small;
text-align: center;
}

.scoreboard {
background: #222;
}

.scoreboard td {
height: 400px;
}

#battlefield {
border: 2px solid green;
}

.solved {
text-decoration: line-through;
}
Binary file added docs/_site/assets/images/grunge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/_site/assets/js/figures.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ea2ff7

Please sign in to comment.