1
0
Fork 0
ynh-apps_tools/README-generator/templates/README.md.j2

90 lines
3.7 KiB
Text
Raw Normal View History

{% if manifest.id == "example" -%}
2022-06-07 22:48:50 +02:00
# Packaging an app, starting from this example
2021-05-10 17:23:40 +02:00
2022-05-21 16:09:09 +02:00
* Copy this app before working on it, using the ['Use this template'](https://github.com/YunoHost/example_ynh/generate) button on the Github repo.
* Edit the `manifest.json` with app specific info.
* Edit the `install`, `upgrade`, `remove`, `backup`, and `restore` scripts, and any relevant conf files in `conf/`.
* Using the [script helpers documentation.](https://yunohost.org/packaging_apps_helpers)
* Add a `LICENSE` file for the package.
* Edit `doc/DISCLAIMER*.md`
* The `README.md` files are to be automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
2021-05-10 17:23:40 +02:00
---
{% endif -%}
2021-05-10 17:23:40 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2021-04-23 20:01:40 +02:00
# {{manifest.name}} for YunoHost
2022-05-13 00:13:27 +02:00
[![Integration level](https://dash.yunohost.org/integration/{{manifest.id}}.svg)](https://dash.yunohost.org/appci/app/{{manifest.id}}) ![Working status](https://ci-apps.yunohost.org/ci/badges/{{manifest.id}}.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/{{manifest.id}}.maintain.svg)
[![Install {{manifest.name}} with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app={{manifest.id}})
2021-04-23 20:01:40 +02:00
*[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install {{manifest.name}} quickly and simply on a YunoHost server.
2021-04-23 20:01:40 +02:00
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview
2021-08-22 16:57:07 +02:00
{% if description %}{{description}}{% else %}{{manifest.description[lang]}}{% endif %}
2021-04-23 20:01:40 +02:00
**Shipped version:** {% if upstream.version %}{{upstream.version}}{% else %}{{manifest.version}}{% endif %}{% if current_branch != default_branch and manifest.version != default_branch_version %} *(:warning: This is the `{{ current_branch }}` branch. The [`{{ default_branch }}` branch](https://github.com/YunoHost-Apps/{{manifest.id}}_ynh/tree/{{ default_branch }}) used in the catalog is currently on version {{ default_branch_version.replace('~', '\~') }}.)*{% endif %}
2021-04-23 20:01:40 +02:00
2022-05-13 01:19:44 +02:00
{% if upstream.demo %}
**Demo:** {{upstream.demo}}
{% endif -%}
2021-04-23 20:01:40 +02:00
2022-05-13 01:19:44 +02:00
{% if screenshots %}
2021-04-23 20:01:40 +02:00
## Screenshots
{% for screenshot in screenshots -%}
2022-05-13 00:13:27 +02:00
![Screenshot of {{manifest.name}}](./doc/screenshots/{{screenshot}})
2021-04-23 20:01:40 +02:00
{% endfor %}
{% endif -%}
2021-04-23 20:01:40 +02:00
{% if disclaimer -%}
2021-04-23 20:01:40 +02:00
## Disclaimers / important information
{{ disclaimer }}
{% endif -%}
2021-04-23 20:01:40 +02:00
2022-02-23 08:18:05 +01:00
{% if antifeatures -%}
## :red_circle: Antifeatures
2022-02-23 08:18:05 +01:00
2022-08-05 16:39:38 +02:00
{% for antifeature in antifeatures.values() -%}
2022-02-23 08:18:05 +01:00
- **{{ antifeature.title }}**: {{ antifeature.description }}
2022-08-05 16:39:38 +02:00
2022-02-23 08:18:05 +01:00
{% endfor -%}
{% endif -%}
2021-04-23 20:01:40 +02:00
## Documentation and resources
{% if upstream.website -%}* Official app website: <{{ upstream.website }}>
{% endif -%}
{% if upstream.userdoc -%}* Official user documentation: <{{ upstream.userdoc }}>
{% endif -%}
{% if upstream.admindoc -%}* Official admin documentation: <{{ upstream.admindoc }}>
{% endif -%}
{% if upstream.code -%}* Upstream app code repository: <{{ upstream.code }}>
{% endif -%}
* YunoHost documentation for this app: <https://yunohost.org/app_{{manifest.id}}>
* Report a bug: <https://github.com/YunoHost-Apps/{{manifest.id}}_ynh/issues>
2021-04-23 20:01:40 +02:00
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/{{manifest.id}}_ynh/tree/testing).
To try the testing branch, please proceed like that.
2022-05-13 00:13:27 +02:00
``` bash
2021-04-23 20:01:40 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/{{manifest.id}}_ynh/tree/testing --debug
or
sudo yunohost app upgrade {{manifest.id}} -u https://github.com/YunoHost-Apps/{{manifest.id}}_ynh/tree/testing --debug
```
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
2022-05-13 00:13:27 +02:00