mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge pull request #2418 from YunoHost/about-package-doc
This commit is contained in:
commit
5d372c9e44
2 changed files with 12 additions and 7 deletions
|
@ -5,6 +5,11 @@
|
|||
|
||||
Please report [issues on YunoHost bugtracker](https://github.com/YunoHost/issues/issues).
|
||||
|
||||
## 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>
|
||||
|
||||
# Contributing
|
||||
|
||||
This repo use a **submodule** to provide the theme. So when you clone use:
|
||||
|
@ -13,7 +18,6 @@ This repo use a **submodule** to provide the theme. So when you clone use:
|
|||
git clone --recursive https://github.com/YunoHost/doc.git
|
||||
```
|
||||
|
||||
|
||||
You can refer to the page on [writing documentation](https://yunohost.org/write_documentation).
|
||||
|
||||
If you know docker, you can run:
|
||||
|
@ -35,5 +39,4 @@ Finally you can rebuild the CSS with (You can replace `expanded` by `compressed`
|
|||
```
|
||||
|
||||
Source:
|
||||
https://sass-lang.com/guide
|
||||
|
||||
<https://sass-lang.com/guide>
|
||||
|
|
|
@ -7,7 +7,8 @@ routes:
|
|||
default: '/packaging_app_doc'
|
||||
---
|
||||
|
||||
Properly documenting your app is important for user experience ;). YunoHost provides several mechanism to display information to users.
|
||||
Properly documenting your app is important for user experience ;).
|
||||
YunoHost provides several mechanism to display information to users.
|
||||
|
||||
## Extensive description : `doc/DESCRIPTION.md` and `doc/screenshots/`
|
||||
|
||||
|
@ -34,6 +35,7 @@ These notes will be available in the app info page in the webadmin after the app
|
|||
## Pre/post-install notes, pre/post-upgrade notes
|
||||
|
||||
Sometimes, you may want to display important information to the admin at key points in the app's life cycle. You can do so by providing special markdown files:
|
||||
|
||||
- `doc/PRE_INSTALL.md`: displayed right before the installation (for example to warn that « This app install is expected to take around 30 minutes, be patient! » or « This app will automatically add 1GB swap to your system »)
|
||||
- NB: try to not overlap with the anti-feature tags from the catalog (cf Publishing your app in the catalog) which can be used to warn that the app's upstream is alpha-stage or deprecated among other things.
|
||||
- `doc/POST_INSTALL.md`: displayed in a popup after the installation AND a dismissable note in the webadmin app info view.
|
||||
|
|
Loading…
Reference in a new issue