2014-11-30 00:27:28 +01:00
|
|
|
# YunoHost Documentation
|
2015-05-20 21:41:17 +02:00
|
|
|
|
2016-12-04 16:31:57 +01:00
|
|
|
* [Web Site](https://yunohost.org)
|
2021-02-14 19:11:19 +01:00
|
|
|
* Based on [Grav](https://getgrav.org/)
|
2015-10-25 14:14:49 +01:00
|
|
|
|
2019-06-03 01:02:21 +02:00
|
|
|
Please report [issues on YunoHost bugtracker](https://github.com/YunoHost/issues/issues).
|
|
|
|
|
2021-02-14 19:11:19 +01:00
|
|
|
# Contributing
|
|
|
|
|
2022-08-04 00:01:03 +02:00
|
|
|
This repo use a **submodule** to provide the theme. So when you clone use:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
git clone --recursive https://github.com/YunoHost/doc.git
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2021-02-14 19:11:19 +01:00
|
|
|
You can refer to the page on [writing documentation](https://yunohost.org/write_documentation).
|
2021-02-09 02:14:41 +01:00
|
|
|
|
2022-03-29 01:30:21 +02:00
|
|
|
If you know docker, you can run:
|
|
|
|
```
|
|
|
|
docker-compose up
|
|
|
|
```
|
|
|
|
|
2021-02-09 02:14:41 +01:00
|
|
|
## Regenerate the css
|
|
|
|
|
|
|
|
We use scss to manage the css. If you want to change it, you must rebuild it.
|
|
|
|
|
|
|
|
First install npm, then in the root folder of this repo, install sass: `npm install sass`
|
|
|
|
|
|
|
|
Finally you can rebuild the css with (You can replace `expanded` by `compressed` if you want):
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./node_modules/sass/sass.js themes/yunohost-docs/scss:themes/yunohost-docs/css --style expanded
|
|
|
|
```
|
|
|
|
|
|
|
|
Source:
|
|
|
|
https://sass-lang.com/guide
|
|
|
|
|