Adding community section to the documentation

This commit is contained in:
spf13 2013-12-10 19:38:52 -05:00
parent ceb708052a
commit dd574628a0
7 changed files with 87 additions and 9 deletions

View file

@ -1,25 +1,30 @@
--- ---
title: "Contributing to Hugo" title: "Contributing to Hugo"
date: "2013-07-01" date: "2013-07-01"
aliases: ["/doc/contributing/"] aliases: ["/doc/contributing/", "/meta/contributing/"]
groups: ["meta"] groups: ["community"]
groups_weight: 30 groups_weight: 30
--- ---
We welcome all contributions. If you want to contribute, all We welcome all contributions. If you want to contribute, all
that is needed is simply fork Hugo, make changes and submit that is needed is simply fork Hugo, make changes and submit
a pull request. If you prefer, pick something from the roadmap a pull request. **All pull requests must include comprehensive test cases.**
If you prefer, pick something from the roadmap
or contact [spf13](http://spf13.com) about what may make sense or contact [spf13](http://spf13.com) about what may make sense
to do next. to do next.
## Overview ## Overview
1. Fork it from https://github.com/spf13/hugo
1. Fork Hugo from https://github.com/spf13/hugo
2. Create your feature branch (`git checkout -b my-new-feature`) 2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`) 3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`) 4. Commit passing tests to validate changes.
5. Create new Pull Request 5. Push to the branch (`git push origin my-new-feature`)
6. Create new Pull Request
# Building from source
### Clone locally (for contributors): ### Clone locally (for contributors):
git clone https://github.com/spf13/hugo git clone https://github.com/spf13/hugo

View file

@ -1,8 +1,8 @@
--- ---
title: "Contributors" title: "Contributors"
date: "2013-07-01" date: "2013-07-01"
aliases: ["/doc/contributors/"] aliases: ["/doc/contributors/", "/meta/contributors/"]
groups: ["meta"] groups: ["community"]
groups_weight: 40 groups_weight: 40
--- ---

View file

@ -0,0 +1,17 @@
---
title: "Hall of Fame"
date: "2013-07-01"
groups: ["community"]
groups_weight: 20
---
Here we have listed sites built using Hugo.
If you want to be added to this page please send a [pull request](https://github.com/spf13/hugo/pulls).
| **Site** | **Source** | **License** |
| ------------------------------- | --------------------------------------------- | -----------: |
| [hugo](http://hugo.spf13.com) | [source](http://github.com/spf13/hugo/docs) | SIMPL |
| [spf13](http://spf13.com) | [source](http://github.com/spf13/spf13.com) | MIT |

View file

@ -0,0 +1,34 @@
---
title: "Mailing List"
date: "2013-07-01"
groups: ["community"]
groups_weight: 10
---
Hugo has two mailing lists:
### Announcements
Very low traffic. Only releases will be emailed here.
https://groups.google.com/forum/#!forum/hugo-announce
### Discussion
For all questions and discussions:
https://groups.google.com/forum/#!forum/hugo-discuss
# Other Resources
### GoNuts
For general go questions or discussion please refer to the go mailing list.
https://groups.google.com/forum/#!forum/golang-nuts
### Github Issues
https://github.com/spf13/hugo/issues
### Twitter
Hugo doesn't have it's own twitter handle, but feel free to tweet [@spf13](http://twitter.com/spf13).

View file

@ -10,6 +10,6 @@
{{ template "chrome/menu.html" . }} {{ template "chrome/menu.html" . }}
<div class="container"> <div class="container" id="main">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View file

@ -53,6 +53,14 @@
{{ end }} {{ end }}
</ul> </ul>
</li> </li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Community <b class="caret"></b></a>
<ul class="dropdown-menu">
{{ range $key, $value := .Site.Indexes.groups.community.Pages }}
<li hugo-nav="{{$value.RelPermalink}}"><a href="{{$value.Permalink}}"> {{ $value.LinkTitle }} </a> </li>
{{ end }}
</ul>
</li>
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class="dropdown"> <li class="dropdown">

View file

@ -75,3 +75,17 @@ nav.navbar {
} }
} }
#main table{width:100%;margin-bottom:20px;}#main table thead>tr>th,#main table tbody>tr>th,#main table tfoot>tr>th,#main table thead>tr>td,#main table tbody>tr>td,#main table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #dddddd;}
#main table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd;}
#main table caption+thead tr:first-child th,#main table colgroup+thead tr:first-child th,#main table thead:first-child tr:first-child th,#main table caption+thead tr:first-child td,#main table colgroup+thead tr:first-child td,#main table thead:first-child tr:first-child td{border-top:0;}
#main table tbody+tbody{border-top:2px solid #dddddd;}
#main table #main table{background-color:#ffffff;}
#main table>tbody>tr:nth-child(odd)>td,#main table>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9;}
#main table>thead>tr>td.active,#main table>tbody>tr>td.active,#main table>tfoot>tr>td.active,#main table>thead>tr>th.active,#main table>tbody>tr>th.active,#main table>tfoot>tr>th.active,#main table>thead>tr.active>td,#main table>tbody>tr.active>td,#main table>tfoot>tr.active>td,#main table>thead>tr.active>th,#main table>tbody>tr.active>th,#main table>tfoot>tr.active>th{background-color:#f5f5f5;}
#main table>thead>tr>td.success,#main table>tbody>tr>td.success,#main table>tfoot>tr>td.success,#main table>thead>tr>th.success,#main table>tbody>tr>th.success,#main table>tfoot>tr>th.success,#main table>thead>tr.success>td,#main table>tbody>tr.success>td,#main table>tfoot>tr.success>td,#main table>thead>tr.success>th,#main table>tbody>tr.success>th,#main table>tfoot>tr.success>th{background-color:#dff0d8;border-color:#d6e9c6;}
#main table>thead>tr>td.danger,#main table>tbody>tr>td.danger,#main table>tfoot>tr>td.danger,#main table>thead>tr>th.danger,#main table>tbody>tr>th.danger,#main table>tfoot>tr>th.danger,#main table>thead>tr.danger>td,#main table>tbody>tr.danger>td,#main table>tfoot>tr.danger>td,#main table>thead>tr.danger>th,#main table>tbody>tr.danger>th,#main table>tfoot>tr.danger>th{background-color:#f2dede;border-color:#eed3d7;}
#main table>thead>tr>td.warning,#main table>tbody>tr>td.warning,#main table>tfoot>tr>td.warning,#main table>thead>tr>th.warning,#main table>tbody>tr>th.warning,#main table>tfoot>tr>th.warning,#main table>thead>tr.warning>td,#main table>tbody>tr.warning>td,#main table>tfoot>tr.warning>td,#main table>thead>tr.warning>th,#main table>tbody>tr.warning>th,#main table>tfoot>tr.warning>th{background-color:#fcf8e3;border-color:#fbeed5;}
@media (max-width:768px){#main table{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;border:1px solid #dddddd;}#main table>#main table{margin-bottom:0;background-color:#fff;}#main table>#main table>thead>tr>th,#main table>#main table>tbody>tr>th,#main table>#main table>tfoot>tr>th,#main table>#main table>thead>tr>td,#main table>#main table>tbody>tr>td,#main table>#main table>tfoot>tr>td{white-space:nowrap;} }fieldset{padding:0;margin:0;border:0;}