hugo-theme-relearn/README.md

86 lines
2.4 KiB
Markdown
Raw Normal View History

# Hugo Relearn Theme
2016-03-17 11:05:36 +00:00
2021-07-01 12:35:27 +00:00
A theme for [Hugo](https://gohugo.io/).
2017-08-20 16:20:13 +00:00
[![wercker status](https://app.wercker.com/status/062e9604da64b79944d87434cb63fa53/s/main "wercker status")](https://app.wercker.com/project/byKey/062e9604da64b79944d87434cb63fa53)
2018-08-10 09:29:11 +00:00
2021-07-01 12:35:27 +00:00
![Overview](https://github.com/McShelby/hugo-theme-relearn/raw/main/images/tn.png)
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
2021-07-01 12:35:27 +00:00
- Buttons, Tip/Note/Info/Warning boxes, Expand, Tabs
- and many more...
Visit the [documentation](https://relearn.netlify.app/) for a demo.
2016-12-30 21:40:05 +00:00
## Installation
2017-08-20 16:20:13 +00:00
Navigate to your themes folder in your Hugo site and use the following commands:
2017-08-20 16:20:13 +00:00
```shell
cd themes/
git clone https://github.com/McShelby/hugo-theme-relearn.git
```
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
2016-12-30 21:40:05 +00:00
## Usage
2021-07-01 06:17:24 +00:00
- [Visit the documentation](https://relearn.netlify.app/)
2017-08-20 23:29:54 +00:00
2021-07-01 12:35:27 +00:00
## License
2017-08-20 23:29:54 +00:00
2021-07-01 12:35:27 +00:00
[MIT licensed.](https://en.wikipedia.org/wiki/MIT_License)
2021-07-01 12:35:27 +00:00
## Credits
2021-07-01 12:57:26 +00:00
Many thanks to [everyone who has contributed](https://github.com/McShelby/hugo-theme-relearn/graphs/contributors) to this project.
Special thanks to [@matcornic](https://github.com/matcornic) for his work on [learn](https://github.com/matcornic/hugo-theme-learn) and [@vjeantet](https://github.com/vjeantet) for his work on [docdock](https://github.com/vjeantet/hugo-theme-docdock), which hugo-theme-relearn is based on.
## 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 main
git tag -f <tag>
git push --force origin <tag>
```
- Generate release with _gren_
```shell
gren release -t <tag>
```