doc/README.md

43 lines
1.1 KiB
Markdown
Raw Permalink 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)
- 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).
## Note on 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>
## Contributing
2021-02-14 19:11:19 +01:00
This repo use a **submodule** to provide the theme. So when you clone use:
```bash
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
```bash
docker-compose up
```
### 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>