2021-06-30 12:56:06 +00:00
# Hugo Relearn Theme
2016-03-17 11:05:36 +00:00
2021-06-30 12:56:06 +00:00
This repository contains a theme for [Hugo ](https://gohugo.io/ ).
2016-03-17 11:07:26 +00:00
2021-06-30 12:56:06 +00:00
Visit the [theme documentation ](https://relearn.netlify.com/en/ ) to see what is going on. It is actually built with this theme.
2017-08-20 16:20:13 +00:00
2018-08-10 09:29:11 +00:00
[![wercker status ](https://app.wercker.com/status/233466a2be73fcea400e7dc02ef6adf9/s/master "wercker status" )](https://app.wercker.com/project/byKey/233466a2be73fcea400e7dc02ef6adf9)
2021-06-30 12:56:06 +00:00
[![FOSSA Status ](https://app.fossa.io/api/projects/git%2Bgithub.com%2FMcShelby%2Fhugo-theme-relearn.svg?type=shield )](https://app.fossa.io/projects/git%2Bgithub.com%2FMcShelby%2Fhugo-theme-relearn?ref=badge_shield)
2018-08-10 09:29:11 +00:00
2017-08-20 16:20:13 +00:00
## Main features
- Automatic Search
- Multilingual mode
- Unlimited menu levels
- Automatic next/prev buttons to navigate through menu entries
- Image resizing, shadow…
- Attachments files
- List child pages
- Mermaid diagram (flowchart, sequence, gantt)
- Customizable look and feel and themes variants
- Buttons, Tip/Note/Info/Warning boxes, Expand
2016-04-10 22:09:03 +00:00
2016-12-30 21:40:05 +00:00
## Installation
2017-08-20 16:20:13 +00:00
2016-04-12 10:34:40 +00:00
Navigate to your themes folder in your Hugo site and use the following commands:
2017-08-20 16:20:13 +00:00
2019-09-04 21:47:55 +00:00
```shell
cd themes/
2021-06-30 12:56:06 +00:00
git clone https://github.com/McShelby/hugo-theme-relearn.git
2016-04-12 10:34:40 +00:00
```
2017-08-20 16:20:13 +00:00
Check that your Hugo version is minimum `0.25` with `hugo version` .
2017-04-08 08:30:09 +00:00
2021-06-30 12:56:06 +00:00
![Overview ](https://github.com/McShelby/hugo-theme-relearn/raw/master/images/tn.png )
2016-04-12 00:48:31 +00:00
2016-12-30 21:40:05 +00:00
## Usage
2021-06-30 12:56:06 +00:00
- [Visit the documentation ](https://relearn.netlify.com/en/ )
2017-08-20 23:29:54 +00:00
## Credits
2017-08-20 23:30:22 +00:00
Many thanks to [@vjeantet ](https://github.com/vjeantet/ ) for the fork [docdock ](https://github.com/vjeantet/hugo-theme-docdock ). The v2 of this theme is mainly based on his work !
2018-07-24 14:45:37 +00:00
## License
2019-09-04 21:47:55 +00:00
2021-06-30 12:56:06 +00:00
[![FOSSA Status ](https://app.fossa.io/api/projects/git%2Bgithub.com%2FMcShelby%2Fhugo-theme-relearn.svg?type=large )](https://app.fossa.io/projects/git%2Bgithub.com%2FMcShelby%2Fhugo-theme-relearn?ref=badge_large)
2019-09-04 21:47:55 +00:00
## Releasing
Somewhat work-in-progress steps to release with [gren ](https://github.com/github-tools/github-release-notes )
- Check all MRs assigned to the milestone are closed or pushed back to another release
- Close the milestone
- Check merged MRs on the milestone have a tag (Bug, Enhancement, etc.)
- Tag and push the repo
```shell
git tag < tag >
git push origin < tag >
```
- Generate CHANGELOG.md with _gren_
```shell
gren changelog --override --generate --tags=all
```
- Fix the date for the current release in CHANGELOG.md
- Add the changelog to git and update the tag
```shell
git add CHANGELOG.md
git commit -m "Ship tag < tag > "
git push origin master
git tag -f < tag >
git push --force origin < tag >
```
- Generate release with _gren_
```shell
gren release -t < tag >
```