Skip to content

Commit

Permalink
More doc site improvements. Added documentation's new layout
Browse files Browse the repository at this point in the history
  • Loading branch information
spf13 committed May 28, 2014
1 parent 79dd1d0 commit 2a44ca5
Show file tree
Hide file tree
Showing 111 changed files with 19,593 additions and 178 deletions.
13 changes: 9 additions & 4 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ MetaDataFormat = "yaml"
tag = "tags"
group = "groups"

[[menu.main]]
name = "Download Hugo"
pre = "<i class='fa fa-download'></i>"
url = "https://github.com/spf13/hugo/releases"
weight = -200
[[menu.main]]
name = "about hugo"
pre = "<i class='fa fa-heart'></i>"
Expand Down Expand Up @@ -36,11 +41,11 @@ MetaDataFormat = "yaml"
name = "extras"
pre = "<i class='fa fa-gift'></i>"
weight = -60
[[menu.main]]
name = "community"
pre = "<i class='fa fa-group'></i>"
weight = -50
[[menu.main]]
name = "tutorials"
pre = "<i class='fa fa-book'></i>"
weight = -40
[[menu.main]]
name = "community"
pre = "<i class='fa fa-group'></i>"
weight = -50
2 changes: 1 addition & 1 deletion docs/content/community/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ menu:
main:
parent: 'community'
prev: "/community/press"
next: "/community/contributors"
next: "/tutorials/github_pages_blog"
---

All contributions to Hugo are welcome. Whether you want to scratch an itch, or simply contribute to the project. Feel free to pick something from the roadmap
Expand Down
18 changes: 0 additions & 18 deletions docs/content/community/contributors.md

This file was deleted.

22 changes: 11 additions & 11 deletions docs/content/meta/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ menu:
parent: 'about'
---

## **0.11.0** May 27, 2014
## **0.11.0** May 28, 2014
* Considerably faster... about 3 - 4x faster on average
* Live Reload... Hugo will automatically reload the browser when the build is complete
* [Live Reload](/extras/livereload). Hugo will automatically reload the browser when the build is complete
* Theme engine w/[Theme Repository](http://github.com/spf13/hugoThemes)
* Menu system with support for active page
* Builders to quickly create a new site, content or theme
* XML sitemap generation
* Integrated Disqus support
* Streamlined template organization
* Brand new docs site
* More sort options
* [Menu system](/extras/menus) with support for active page
* [Builders](/extras/builders) to quickly create a new site, content or theme
* [XML sitemap](/templates/sitemap) generation
* [Integrated Disqus](/extras/comments) support
* Streamlined [template organization](/templates/overview)
* [Brand new docs site](http://hugo.spf13.com)
* More [sort](/content/ordering) options
* Logging support
* Much better error handling
* More informative verbose output
* Renamed Indexes > Taxonomies
* Renamed Chrome > Partials
* Renamed Indexes > [Taxonomies](/taxonomies/overview)
* Renamed Chrome > [Partials](/templates/partials)

## **0.10.0** March 1, 2014
* [Syntax highlighting](/extras/highlighting) powered by pygments (**slow**)
Expand Down
2 changes: 1 addition & 1 deletion docs/content/tutorials/github_pages_blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author: "Spencer Lyon"
menu:
main:
parent: 'tutorials'
prev: "/community/contributors"
prev: "/community/contributing"
next: "/tutorials/mathjax"
---

Expand Down
Empty file added docs/layouts/_default/list.html
Empty file.
12 changes: 3 additions & 9 deletions docs/layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{{ template "chrome/header.html" . }}
{{ if not .Params.notoc }}
<div id="toc" class="well col-md-4 col-sm-6">
{{ .TableOfContents }}
</div>
{{ end }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ template "chrome/footer.html" . }}
{{ template "partials/header.html" . }}
{{ .Content }}
{{ template "partials/footer.html" . }}
32 changes: 0 additions & 32 deletions docs/layouts/chrome/footer.html

This file was deleted.

17 changes: 0 additions & 17 deletions docs/layouts/chrome/header.html

This file was deleted.

8 changes: 0 additions & 8 deletions docs/layouts/chrome/includes.html

This file was deleted.

55 changes: 0 additions & 55 deletions docs/layouts/chrome/menu.html

This file was deleted.

6 changes: 3 additions & 3 deletions docs/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ <h2>Open and Free</h2>
<i class="point-icon icon-spf13"></i>
<h2>Built with <i class="icon-heart" style="color:#FF4088;"></i></h2>
<p class="lead">
Hugo is developed with love by <a href="http://spf13.com">spf13</a>, <a href="http://github.com/noahcampbell">Noah</a> and friends.
Hugo is developed with love by <a href="http://spf13.com">spf13</a> and friends.
We welcome all contributions.
New to go? Not a problem, we will help you.
Not a developer? Help with <a href="/overview/introduction">docs</a>, templates and themes.
Not a developer? Help with <a href="/overview/introduction">docs</a>, testing and <a href="http://github.com/spf13/hugoThemes/">themes</a>.
</p>
</div>
</div>
Expand Down Expand Up @@ -258,7 +258,7 @@ <h3>Get Started Today!</h3>
$('.carousel').carousel({ interval: 4500 })
</script>

{{ template "chrome/analytics.html" . }}
{{ template "partials/analytics.html" . }}
</body>

</html>
14 changes: 0 additions & 14 deletions docs/layouts/indexes/showcase.html

This file was deleted.

File renamed without changes.
31 changes: 31 additions & 0 deletions docs/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

</div>
</section>
</div>
<div class="col-md-1">
{{ with .GetParam "next" }}
<a class="navigation next" href="{{.}}">
<i class="fa fa-angle-right"> </i>
</a>
{{ end }}
</div>
</div>
<!-- page start-->
</section>
</section>
<!--main content end-->
</section>
<!-- container section end -->
<!-- javascripts -->
<script src="/js/jquery.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/jquery.scrollTo.min.js"></script>
<script src="/js/jquery.nicescroll.js" type="text/javascript"></script>
<!--custom script for all page-->
<script src="/static/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/scripts.js"></script>
<script async defer id="github-bjs" src="/js/buttons.js"></script>
{{ template "partials/analytics.html" . }}
</body>
</html>
88 changes: 88 additions & 0 deletions docs/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<meta name="keyword" content="">
<link rel="shortcut icon" href="img/favicon.png">

<title>{{.Title}}</title>

<link href="/css/bootstrap-theme.css" rel="stylesheet">
<link href="/css/elegant-icons-style.css" rel="stylesheet" />
<link href="/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<link href="/css/style.css" rel="stylesheet">
<link href="/css/style-responsive.css" rel="stylesheet" />
<link href="/css/monokai_sublime.css" rel="stylesheet" />

</head>

<body>
<!-- container section start -->
<section id="container" class="">

<!--header start-->
<header class="header black-bg">
<div class="toggle-nav">
<i class="fa fa-bars"></i>
<div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"></div>
</div>

<!--logo start-->
<a href="/" class="logo"><img src="/img/hugo-logo.png" style="height:40px;"></a>
<!--logo end-->
<div class="top-nav notification-row">
<!-- notification dropdown end-->
<div class="hidden-xs nav-github pull-right">

<span rel="show-github" data-user="spf13" data-repo="hugo" data-type="follow"></span>
<span rel="show-github" data-user="spf13" data-repo="hugo"></span>
<span rel="show-github" data-user="spf13" data-repo="hugo" data-type="fork"></span>
<!--<span rel="show-github" data-user="spf13" data-repo="hugo"><span class="github-btn github-watchers"><a class="btn btn-xs btn-default" href="https://github.com/spf13/hugo/" target="_blank"><i class="fa fa-github"></i> <span class="gh-text">Star</span></a><a class="gh-count" href="https://github.com/spf13/hugo/stargazers" target="_blank" style="display: inline-block;">2,144</a></span></span>-->
<!--<span rel="show-github" data-user="spf13" data-repo="hugo" data-type="fork"><span class="github-btn github-forks"><a class="btn btn-xs btn-default" href="https://github.com/spf13/hugo/" target="_blank"><i class="fa fa-github"></i> <span class="gh-text">Fork</span></a><a class="gh-count" href="https://github.com/spf13/hugo/network" target="_blank" style="display: inline-block;">582</a></span></span>-->
<!--<a href="https://github.com/spf13" class="github-button" data-count-href="/spf13/followers" data-count-api="/users/spf13#followers">@spf13</a> &nbsp;-->
<!--<a href="https://github.com/spf13/hugo" class="github-button" data-icon="octicon-star" data-count-href="/spf13/hugo/stargazers" data-count-api="/repos/spf13/hugo#stargazers_count">Star</a> &nbsp;-->
<!--<a href="https://github.com/spf13/hugo" class="github-button" data-icon="octicon-git-branch-create" data-count-href="/spf13/hugo/network" data-count-api="/repos/spf13/hugo#forks_count">Fork</a>-->
</div>
</div>

<div class="nav title-row" id="top_menu">
<h1 class="nav top-menu"> {{.Title}} </h1>
</div>
</header>
<!--header end-->

{{ template "partials/menu.html" . }}

<!--main content start-->
<section id="main-content">
<section class="wrapper">

<!--<div class="row">-->
<!--<div class="col-lg-12">-->
<!--breadcrumbs start -->
<!--<ul class="breadcrumb">-->
<!--<li><a href="#"><i class="icon_house_alt"></i> Home</a></li>-->
<!--<li><a href="#"> UI Kit</a></li>-->
<!--<li class="active"> General</li>-->
<!--</ul>-->
<!--breadcrumbs end -->
<!--</div>-->
<!--</div>-->

<div class="row">
<div class="col-md-1">
{{ with .GetParam "prev" }}
<a class="navigation prev" href="{{.}}">
<i class="fa fa-angle-left"></i>
</a>
{{ end }}
</div>
<div class="col-md-10">
<section class="panel">
<!--<header class="panel-heading">-->
<!--<h3>{{.Title}}</h3>-->
<!--</header>-->
<div class="panel-body">

0 comments on commit 2a44ca5

Please sign in to comment.