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

93 lines
4.5 KiB
Text
Raw Normal View History

{% if manifest.id == "example" -%}
# {{ _('Packaging an app, starting from this example') }}
2021-05-10 17:23:40 +02:00
2024-03-25 06:31:10 +01:00
- {{ _("Copy this app before working on it, using the ['Use this template'](https://github.com/new?template_name=example_ynh&template_owner=YunoHost) button on the Github repo") }}
- {{ _("Edit the `manifest.toml` with app specific info") }}
2024-03-25 06:31:10 +01:00
- {{ _("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)") }}
- {{ _("Edit the `change_url` and `config` scripts too, or remove them if you have no use of them") }}
2024-03-25 06:31:10 +01:00
- {{ _("Add a `LICENSE` file for the package.") }}
2024-03-25 06:53:21 +01:00
- {{ _("NB: this `LICENSE` file is not meant to necessarily be the same LICENSE as the upstream app - it is only the LICENSE you want this package's code to published with and you can choose it freely! (If you don't know which to choose, we recommend [the AGPL-3](https://www.gnu.org/licenses/agpl-3.0.txt))") }}
- {{ _("Edit files under the `doc/` directory ([see the page about documenting packages](https://yunohost.org/packaging_app_doc))") }}
- {{ _("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-05-10 17:23:40 +02:00
-->
# {{ _("%(application_name)s for YunoHost")|format(application_name=manifest.name) }}
2021-04-23 20:01:40 +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)
2023-02-12 09:17:08 +01:00
[![{{ _("Install %(application_name)s with YunoHost")|format(application_name=manifest.name) }}](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
*[{{ _("Read this README in other languages.") }}](./ALL_README.md)*
2021-04-23 20:01:40 +02:00
2024-03-25 06:31:10 +01:00
> *{{ _("This package allows you to install %(application_name)s quickly and simply on a YunoHost server.")|format(application_name=manifest.name) }}*
> *{{ _("If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.") }}*
2021-04-23 20:01:40 +02:00
## {{ _("Overview") }}
2021-04-23 20:01:40 +02:00
2021-08-22 16:57:07 +02:00
{% if description %}{{description}}{% else %}{{manifest.description[lang]}}{% endif %}
2024-03-25 06:31:10 +01:00
**{{ _("Shipped version:") }}** {% if upstream.version %}{{upstream.version}}{% else %}{{manifest.version}}
{% endif -%}
2021-04-23 20:01:40 +02:00
2022-05-13 01:19:44 +02:00
{% if upstream.demo %}
**{{ _("Demo:") }}** <{{upstream.demo}}>
2022-05-13 01:19:44 +02:00
{% endif -%}
2021-04-23 20:01:40 +02:00
2022-05-13 01:19:44 +02:00
{% if screenshots %}
## {{ _("Screenshots") }}
2021-04-23 20:01:40 +02:00
{% for screenshot in screenshots -%}
![{{ _("Screenshot of %(application_name)s")|format(application_name=manifest.name) }}](./{{screenshot}})
2021-04-23 20:01:40 +02:00
{% endfor %}
{% endif -%}
2021-04-23 20:01:40 +02:00
{% if disclaimer -%}
## {{ _("Disclaimers / important information") }}
2021-04-23 20:01:40 +02:00
{{ 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 }}
2024-03-07 00:59:01 +01:00
{% endfor %}
2022-02-23 08:18:05 +01:00
{% endif -%}
## {{ _("Documentation and resources") }}
2021-04-23 20:01:40 +02:00
{% 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 Store:") }} <https://apps.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") }}
2021-04-23 20:01:40 +02:00
{{ _("Please send your pull request to the [`testing` branch](%(testing_branch_url)s).")|format(testing_branch_url="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
2024-03-11 00:53:56 +01: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") }}
2021-04-23 20:01:40 +02:00
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>
2024-03-07 00:59:01 +01:00