2021-06-30 14:56:06 +02:00
# Hugo Relearn Theme
2016-03-17 12:05:36 +01:00
2021-08-28 10:39:54 +02:00
A theme for [Hugo ](https://gohugo.io/ ) designed for documentation.
2018-08-10 11:29:11 +02:00
2023-01-24 23:58:16 +01:00
![Overview ](https://github.com/McShelby/hugo-theme-relearn/raw/main/images/hero.png )
2021-07-01 14:35:27 +02:00
2021-08-23 18:54:02 +02:00
## Motivation
2021-10-24 13:01:01 +02:00
The theme is a fork of the great [Learn theme ](https://github.com/matcornic/hugo-theme-learn ) with the aim of fixing long outstanding bugs and adepting to latest Hugo features. As far as possible this theme tries to be a drop-in replacement for the Learn theme.
2021-08-23 18:54:02 +02:00
2022-12-14 22:46:59 +01:00
## Features
2017-08-20 18:20:13 +02:00
2022-03-27 22:22:10 +02:00
- Usable offline, no external dependencies
2022-11-17 23:52:54 +01:00
- Usable without a HTTP server from the file system
2022-04-11 11:04:14 +02:00
- Support for Internet Explorer 11
- Responsive design
- Configurable hidden pages
- Automatic next/prev buttons to navigate through menu entries
2017-08-20 18:20:13 +02:00
- Automatic Search
2022-11-17 23:52:54 +01:00
- Dedicated search page
2022-12-02 16:20:45 +01:00
- Support for GFM (GitHub Flavored Markdown)
2022-04-02 15:29:34 +02:00
- Print whole chapters or even the complete site
2023-01-30 17:05:32 +01:00
- Multilingual mode for English, Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, Finnish, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese
2022-11-01 02:10:05 +01:00
- Support for languages written right to left
2022-04-11 11:04:14 +02:00
- Unrestricted menu configuration relating to amount of items and level of nesting
- Font Awesome icons
- Tagging support
2022-12-14 22:46:59 +01:00
- Image styling like sizing, shadow, border and alignment
2022-04-11 11:04:14 +02:00
- Syntax highlighting
2022-12-14 22:46:59 +01:00
- Customizable look and feel
- Predefined (light, dark) and customizable color variants
2023-02-05 00:21:38 +01:00
- Automatic switch for light/dark mode dependend on your OS settings
2017-08-20 18:20:13 +02:00
- Attachments files
- List child pages
2022-07-02 14:00:23 +02:00
- Math and chemical formulae using the MathJax library
2022-04-11 11:04:14 +02:00
- Mermaid diagrams for flowcharts, sequences, gantts, pie, etc.
2022-03-27 18:42:11 +02:00
- Swagger UI for OpenAPI Specifications
2022-12-01 01:44:20 +01:00
- Badges
2021-08-28 10:39:54 +02:00
- Buttons
- Tip/Note/Info/Warning boxes
- Expand
- Tabs
- File inclusion
2022-12-14 22:46:59 +01:00
2016-12-30 22:40:05 +01:00
## Installation
2017-08-20 18:20:13 +02:00
2021-10-17 23:37:32 +02:00
Visit the [installation instructions ](https://mcshelby.github.io/hugo-theme-relearn/basics/installation ) to learn how to setup the theme in your Hugo installation.
2017-04-08 10:30:09 +02:00
2016-12-30 22:40:05 +01:00
## Usage
2021-10-17 23:37:32 +02:00
Visit the [documentation ](https://mcshelby.github.io/hugo-theme-relearn/ ) to learn about all available features and how to use them.
2017-08-21 01:29:54 +02:00
2021-08-22 13:31:52 +02:00
## Changelog
2022-12-14 22:46:59 +01:00
See the [What's New ](https://mcshelby.github.io/hugo-theme-relearn/basics/migration ) page for release highlights or the [history ](https://mcshelby.github.io/hugo-theme-relearn/basics/history ) for a complete list of changes per release.
2021-08-22 13:31:52 +02:00
2021-08-30 22:30:00 +02:00
## Contribution
2023-01-28 14:48:08 +01:00
You are most welcome to contribute bugfixes or even new features to the source code. Please visit the [contribution guidelines ](https://mcshelby.github.io/hugo-theme-relearn/dev/contributing ) first.
2021-08-30 22:30:00 +02:00
2021-07-01 14:35:27 +02:00
## License
2017-08-21 01:29:54 +02:00
2021-08-28 11:18:43 +02:00
This theme is licensed under the [MIT License ](https://github.com/McShelby/hugo-theme-relearn/blob/main/LICENSE ).
2018-07-24 07:45:37 -07:00
2021-07-01 14:35:27 +02:00
## Credits
2019-09-04 22:47:55 +01:00
2021-08-23 18:54:02 +02:00
Special thanks to [everyone who has contributed ](https://github.com/McShelby/hugo-theme-relearn/graphs/contributors ) to this project.
2021-07-01 14:57:26 +02:00
2022-03-06 19:09:58 +01:00
Many thanks to [Mathieu Cornic ](https://github.com/matcornic ) for his work on porting the [Learn theme ](https://github.com/matcornic/hugo-theme-learn ) to Hugo.
Many thanks to [Andy Miller ](https://github.com/rhukster ) for initially creating the [Learn theme ](https://github.com/getgrav/grav-theme-learn2 ) for Grav.
2022-12-14 22:46:59 +01:00
2022-12-14 22:55:48 +01:00
See the [credits ](https://mcshelby.github.io/hugo-theme-relearn/more/credits ) for a detailed list.