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).
|
|
|
|
|
2024-02-27 23:45:31 +01:00
|
|
|
## Note about package documentation
|
|
|
|
|
|
|
|
Package documentation should be done in the package repository itself, under the `/doc` folder.
|
|
|
|
You can learn about it here: <https://yunohost.org/packaging_app_doc>
|
|
|
|
|
2021-02-14 19:11:19 +01:00
|
|
|
# Contributing
|
|
|
|
|
2024-02-27 23:45:31 +01:00
|
|
|
This repo use a **submodule** to provide the theme. So when you clone use:
|
2022-04-23 12:05:04 +02:00
|
|
|
|
|
|
|
```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:
|
2022-10-17 23:11:40 +02:00
|
|
|
|
2022-03-29 01:30:21 +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:
|
2024-02-27 23:45:31 +01:00
|
|
|
<https://sass-lang.com/guide>
|