Skip to content

Commit ac24765

Browse files
committed
✏️ Split add-on documentation
1 parent 6a7ebe6 commit ac24765

File tree

3 files changed

+128
-64
lines changed

3 files changed

+128
-64
lines changed

README.md

Lines changed: 2 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -35,65 +35,7 @@ while you still have the ability to directly execute any SQL statement.
3535
This add-on was specifically designed to manage the official Home Assistant
3636
MariaDB add-on.
3737

38-
## Installation
39-
40-
The installation of this add-on is pretty straightforward and not different in
41-
comparison to installing any other Home Assistant add-on.
42-
43-
1. Search for the "phpMyadmin" add-on in the Supervisor add-on store.
44-
1. Install the "phpMyadmin" add-on.
45-
1. Start the "phpMyAdmin" add-on.
46-
1. Enjoy the add-on!
47-
48-
## Configuration
49-
50-
**Note**: _Remember to restart the add-on when the configuration is changed._
51-
52-
Example add-on configuration:
53-
54-
```yaml
55-
log_level: info
56-
```
57-
58-
**Note**: _This is just an example, don't copy and paste it! Create your own!_
59-
60-
### Option: `log_level`
61-
62-
The `log_level` option controls the level of log output by the addon and can
63-
be changed to be more or less verbose, which might be useful when you are
64-
dealing with an unknown issue. Possible values are:
65-
66-
- `trace`: Show every detail, like all called internal functions.
67-
- `debug`: Shows detailed debug information.
68-
- `info`: Normal (usually) interesting events.
69-
- `warning`: Exceptional occurrences that are not errors.
70-
- `error`: Runtime errors that do not require immediate action.
71-
- `fatal`: Something went terribly wrong. Add-on becomes unusable.
72-
73-
Please note that each level automatically includes log messages from a
74-
more severe level, e.g., `debug` also shows `info` messages. By default,
75-
the `log_level` is set to `info`, which is the recommended setting unless
76-
you are troubleshooting.
77-
78-
## Known issues and limitations
79-
80-
- This add-on needs the core MariaDB add-on version 2.0 or higher.
81-
- This add-on is created to allow management of the official Home assistant
82-
MariaDB add-on. It cannot connect to other MySQL or MariaDB servers.
83-
84-
## Changelog & Releases
85-
86-
This repository keeps a change log using [GitHub's releases][releases]
87-
functionality. The format of the log is based on
88-
[Keep a Changelog][keepchangelog].
89-
90-
Releases are based on [Semantic Versioning][semver], and use the format
91-
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
92-
based on the following:
93-
94-
- ``MAJOR``: Incompatible or major changes.
95-
- ``MINOR``: Backwards-compatible new features and enhancements.
96-
- ``PATCH``: Backwards-compatible bugfixes and package updates.
38+
[:books: Read the full add-on documentation][docs]
9739

9840
## Support
9941

@@ -159,7 +101,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
159101
SOFTWARE.
160102

161103
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
162-
[alpine-packages]: https://pkgs.alpinelinux.org/packages
163104
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
164105
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
165106
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
@@ -169,15 +110,14 @@ SOFTWARE.
169110
[discord-ha]: https://discord.gg/c5DvZ4e
170111
[discord-shield]: https://img.shields.io/discord/478094546522079232.svg
171112
[discord]: https://discord.me/hassioaddons
172-
[dockerhub]: https://hub.docker.com/r/hassioaddons/phpmyadmin
113+
[docs]: https://github.com/hassio-addons/addon-phpmyadmin/blob/master/phpmyadmin/DOCS.md
173114
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
174115
[forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-phpmyadmin/171729?u=frenck
175116
[frenck]: https://github.com/frenck
176117
[github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png
177118
[github-sponsors]: https://github.com/sponsors/frenck
178119
[gitlabci-shield]: https://gitlab.com/hassio-addons/addon-phpmyadmin/badges/master/pipeline.svg
179120
[gitlabci]: https://gitlab.com/hassio-addons/addon-phpmyadmin/pipelines
180-
[home-assistant]: https://home-assistant.io
181121
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
182122
[issue]: https://github.com/hassio-addons/addon-phpmyadmin/issues
183123
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
@@ -191,4 +131,3 @@ SOFTWARE.
191131
[releases-shield]: https://img.shields.io/github/release/hassio-addons/addon-phpmyadmin.svg
192132
[releases]: https://github.com/hassio-addons/addon-phpmyadmin/releases
193133
[repository]: https://github.com/hassio-addons/repository
194-
[semver]: http://semver.org/spec/v2.0.0.htm

phpmyadmin/.README.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ If you are more interested in stable releases of our add-ons:
6363
{% endif %}
6464
[discord-shield]: https://img.shields.io/discord/478094546522079232.svg
6565
[discord]: https://discord.me/hassioaddons
66-
[docs]: {{ repo }}/blob/{{ version }}/README.md
6766
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
6867
[forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-phpmyadmin/171729?u=frenck
6968
[github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png

phpmyadmin/DOCS.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Home Assistant Community Add-on: phpMyAdmin
2+
3+
phpMyAdmin is a database administration tool for MySQL & MariaDB. Frequently
4+
used operations (managing databases, tables, columns, relations, indexes,
5+
users, permissions, etc) can be performed via the user interface,
6+
while you still have the ability to directly execute any SQL statement.
7+
8+
This add-on was specifically designed to manage the official Home Assistant
9+
MariaDB add-on.
10+
11+
## Installation
12+
13+
The installation of this add-on is pretty straightforward and not different in
14+
comparison to installing any other Home Assistant add-on.
15+
16+
1. Search for the "phpMyadmin" add-on in the Supervisor add-on store.
17+
1. Install the "phpMyadmin" add-on.
18+
1. Start the "phpMyAdmin" add-on.
19+
1. Enjoy the add-on!
20+
21+
## Configuration
22+
23+
**Note**: _Remember to restart the add-on when the configuration is changed._
24+
25+
Example add-on configuration:
26+
27+
```yaml
28+
log_level: info
29+
```
30+
31+
**Note**: _This is just an example, don't copy and paste it! Create your own!_
32+
33+
### Option: `log_level`
34+
35+
The `log_level` option controls the level of log output by the addon and can
36+
be changed to be more or less verbose, which might be useful when you are
37+
dealing with an unknown issue. Possible values are:
38+
39+
- `trace`: Show every detail, like all called internal functions.
40+
- `debug`: Shows detailed debug information.
41+
- `info`: Normal (usually) interesting events.
42+
- `warning`: Exceptional occurrences that are not errors.
43+
- `error`: Runtime errors that do not require immediate action.
44+
- `fatal`: Something went terribly wrong. Add-on becomes unusable.
45+
46+
Please note that each level automatically includes log messages from a
47+
more severe level, e.g., `debug` also shows `info` messages. By default,
48+
the `log_level` is set to `info`, which is the recommended setting unless
49+
you are troubleshooting.
50+
51+
## Known issues and limitations
52+
53+
- This add-on needs the core MariaDB add-on version 2.0 or higher.
54+
- This add-on is created to allow management of the official Home assistant
55+
MariaDB add-on. It cannot connect to other MySQL or MariaDB servers.
56+
57+
## Changelog & Releases
58+
59+
This repository keeps a change log using [GitHub's releases][releases]
60+
functionality. The format of the log is based on
61+
[Keep a Changelog][keepchangelog].
62+
63+
Releases are based on [Semantic Versioning][semver], and use the format
64+
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
65+
based on the following:
66+
67+
- ``MAJOR``: Incompatible or major changes.
68+
- ``MINOR``: Backwards-compatible new features and enhancements.
69+
- ``PATCH``: Backwards-compatible bugfixes and package updates.
70+
71+
## Support
72+
73+
Got questions?
74+
75+
You have several options to get them answered:
76+
77+
- The [Home Assistant Community Add-ons Discord chat server][discord] for add-on
78+
support and feature requests.
79+
- The [Home Assistant Discord chat server][discord-ha] for general Home
80+
Assistant discussions and questions.
81+
- The Home Assistant [Community Forum][forum].
82+
- Join the [Reddit subreddit][reddit] in [/r/homeassistant][reddit]
83+
84+
You could also [open an issue here][issue] GitHub.
85+
86+
## Authors & contributors
87+
88+
The original setup of this repository is by [Franck Nijhof][frenck].
89+
90+
For a full list of all authors and contributors,
91+
check [the contributor's page][contributors].
92+
93+
## License
94+
95+
MIT License
96+
97+
Copyright (c) 2020 Franck Nijhof
98+
99+
Permission is hereby granted, free of charge, to any person obtaining a copy
100+
of this software and associated documentation files (the "Software"), to deal
101+
in the Software without restriction, including without limitation the rights
102+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103+
copies of the Software, and to permit persons to whom the Software is
104+
furnished to do so, subject to the following conditions:
105+
106+
The above copyright notice and this permission notice shall be included in all
107+
copies or substantial portions of the Software.
108+
109+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
115+
SOFTWARE.
116+
117+
[contributors]: https://github.com/hassio-addons/addon-phpmyadmin/graphs/contributors
118+
[discord-ha]: https://discord.gg/c5DvZ4e
119+
[discord]: https://discord.me/hassioaddons
120+
[forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-phpmyadmin/171729?u=frenck
121+
[frenck]: https://github.com/frenck
122+
[issue]: https://github.com/hassio-addons/addon-phpmyadmin/issues
123+
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
124+
[reddit]: https://reddit.com/r/homeassistant
125+
[releases]: https://github.com/hassio-addons/addon-phpmyadmin/releases
126+
[semver]: http://semver.org/spec/v2.0.0.htm

0 commit comments

Comments
 (0)