Skip to content

Commit

Permalink
Improvements in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kmruiz committed Jan 7, 2023
1 parent ee3f7c9 commit 7534b39
Show file tree
Hide file tree
Showing 42 changed files with 79 additions and 19,135 deletions.
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >
Pottery is a simple, lightweight build system for Java.
lang: en-US

baseurl: "/pottery/" # the subpath of your site, e.g. /blog/
baseurl: "/pottery" # the subpath of your site, e.g. /blog/
url: "https://kmruiz.github.io" # the base hostname & protocol for your site
git_address: "https://github.com/kmruiz/pottery/"
git_edit_address: "https://github.com/kmruiz/pottery/edit/main/docs/"
Expand Down
7 changes: 6 additions & 1 deletion docs/_includes/topnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ site.baseurl }}/">
<span><img src="{{ "/assets/img/logonav.png" | relative_url }}" alt="Logo"></span> {{ site.title }}
<span><img src="{{ "/assets/img/logonav.svg" | relative_url }}" alt="Logo"></span> {{ site.title }}
</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li style="margin-left: 2em;">
<a class="navbar-brand" href="{{ site.baseurl }}/">
Home
</a>
</li>
<li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/docs/home/" | relative_url }}">Documentation</a></li>
<li {% if page.sectionid=='blog' %} class="active" {% endif %}><a href="{{ site.posts.first.url | relative_url }}">Blog</a></li>
</ul>
Expand Down
57 changes: 57 additions & 0 deletions docs/_layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
layout: default
---

<div class="container">
<div class="row">
<div id="sidebar" class="col-md-4">
<div class="row">
<div class="col-md-12">
<div class="well">
<h4>DOCUMENTATION</h4>
<ul class="list-unstyled post-list-container">
{% include docs_nav.html %}
</ul>
</div>
</div>
<div class="col-md-12">
<div class="well">
<h4>RECENT POSTS</h4>
<ul class="list-unstyled post-list-container">
{% for post in site.posts limit:10 %}
<li><a href="{{ post.url | relative_url }}" {% if
page.title==post.title %} class="active" {% endif %}>{{
post.title }}</a></li>
{% endfor %}
<li><a href="{{ "/allposts" | relative_url }}">All posts ...</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="home-content" class="col-md-8">
<h1>{{ page.title }}</h1>
<p>{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{
page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif
%}</p>
<div id="markdown-content-container">{{ content }}</div>
<hr>
<ul class="pager">
{% if page.previous %}
<li class="previous">
<a href="{{ page.previous.url | relative_url }}">
<span aria-hidden="true">&larr;</span> Older
</a>
</li>
{% endif %} {% if page.next %}
<li class="next">
<a href="{{ page.next.url | relative_url }}">
Newer <span aria-hidden="true">&rarr;</span>
</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>
134 changes: 0 additions & 134 deletions docs/_sass/bootswatch/cerulean/_bootswatch.scss

This file was deleted.

Loading

0 comments on commit 7534b39

Please sign in to comment.