doc/README.md

40 lines
952 B
Markdown
Raw Normal View History

2014-11-30 00:27:28 +01:00
# YunoHost Documentation
2015-05-20 21:41:17 +02: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
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
If you know docker, you can run:
2022-10-17 23:11:40 +02:00
```
docker-compose up
```
2022-10-17 23:11:40 +02:00
## Regenerate the CSS
2021-02-09 02:14:41 +01:00
2022-10-17 23:11:40 +02:00
We use scss to manage the CSS. If you want to change it, you must rebuild it.
2021-02-09 02:14:41 +01:00
First install npm, then in the root folder of this repo, install sass: `npm install sass`
2022-10-17 23:11:40 +02:00
Finally you can rebuild the CSS with (You can replace `expanded` by `compressed` if you want):
2021-02-09 02:14:41 +01:00
```bash
./node_modules/sass/sass.js themes/yunohost-docs/scss:themes/yunohost-docs/css --style expanded
```
Source:
https://sass-lang.com/guide