Skip to content

Commit d75aa6c

Browse files
committed
✏️ Split add-on documentation
1 parent 95ad575 commit d75aa6c

File tree

3 files changed

+178
-122
lines changed

3 files changed

+178
-122
lines changed

README.md

Lines changed: 2 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -28,119 +28,6 @@ storing information. Please support the developers of this software at
2828

2929
![Bookstack screenshot](images/screenshot.png)
3030

31-
## Installation
32-
33-
The installation of this add-on is pretty straightforward and not different in
34-
comparison to installing any other Home Assistant add-on.
35-
36-
1. Search for the "bookstack" add-on in the add-on store and install it.
37-
1. Start the "bookstack" add-on
38-
1. Check the logs of the "bookstack" add-on to see if everything went well.
39-
1. Default login information is admin@admin.com/password.
40-
41-
## Configuration
42-
43-
**Note**: _Remember to restart the add-on when the configuration is changed._
44-
45-
Example add-on configuration:
46-
47-
```yaml
48-
log_level: info
49-
ssl: false
50-
certfile: fullchain.pem
51-
keyfile: privkey.pem
52-
```
53-
54-
**Note**: _This is just an example, don't copy and paste it! Create your own!_
55-
56-
### Option: `log_level`
57-
58-
The `log_level` option controls the level of log output by the addon and can
59-
be changed to be more or less verbose, which might be useful when you are
60-
dealing with an unknown issue. Possible values are:
61-
62-
- `trace`: Show every detail, like all called internal functions.
63-
- `debug`: Shows detailed debug information.
64-
- `info`: Normal (usually) interesting events.
65-
- `warning`: Exceptional occurrences that are not errors.
66-
- `error`: Runtime errors that do not require immediate action.
67-
- `fatal`: Something went terribly wrong. Add-on becomes unusable.
68-
69-
Please note that each level automatically includes log messages from a
70-
more severe level, e.g., `debug` also shows `info` messages. By default,
71-
the `log_level` is set to `info`, which is the recommended setting unless
72-
you are troubleshooting.
73-
74-
### Option: `ssl`
75-
76-
Enables/Disables SSL (HTTPS) on the web interface of Bookstack
77-
Panel. Set it `true` to enable it, `false` otherwise.
78-
79-
### Option: `certfile`
80-
81-
The certificate file to use for SSL.
82-
83-
**Note**: _The file MUST be stored in `/ssl/`, which is the default_
84-
85-
### Option: `keyfile`
86-
87-
The private key file to use for SSL.
88-
89-
**Note**: _The file MUST be stored in `/ssl/`, which is the default_
90-
91-
### Option: `proxy_host`
92-
93-
If using a reverse proxy, the domain configured for example
94-
`https://www.example.com`.
95-
96-
### Option: `remote_mysql_host`
97-
98-
If using an external database, the hostname/address for the MYSQL/MariaDB
99-
database.
100-
101-
### Option: `remote_mysql_database`
102-
103-
Only applies if a remote MYSQL database is used, the name of the database.
104-
105-
### Option: `remote_mysql_username`
106-
107-
Only applies if a remote MYSQL database is used, the username with permissions.
108-
109-
### Option: `remote_mysql_password`
110-
111-
Only applies if a remote MYSQL database is used, the password of the above user.
112-
113-
### Option: `remote_mysql_port`
114-
115-
Only applies if a remote MYSQL database is used, the port that the database
116-
server is listening on.
117-
118-
## Database usage
119-
120-
By default, Bookstack will automatically use and configure the Home Assistant
121-
MariaDB addon which should be installed prior to startup, this can be changed
122-
within the configuration to use an external MySql/MariaDB Database. Please note
123-
that there is no easy upgrade path between the two options.
124-
125-
## Known issues and limitations
126-
127-
- SMTP support is disabled.
128-
- Ingress will not function due to the way the application stores image files.
129-
130-
## Changelog & Releases
131-
132-
This repository keeps a change log using [GitHub's releases][releases]
133-
functionality. The format of the log is based on
134-
[Keep a Changelog][keepchangelog].
135-
136-
Releases are based on [Semantic Versioning][semver], and use the format
137-
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
138-
based on the following:
139-
140-
- ``MAJOR``: Incompatible or major changes.
141-
- ``MINOR``: Backwards-compatible new features and enhancements.
142-
- ``PATCH``: Backwards-compatible bugfixes and package updates.
143-
14431
## Support
14532

14633
Got questions?
@@ -205,7 +92,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20592
SOFTWARE.
20693

20794
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
208-
[alpine-packages]: https://pkgs.alpinelinux.org/packages
20995
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
21096
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
21197
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
@@ -218,21 +104,18 @@ SOFTWARE.
218104
[discord-ha]: https://discord.gg/c5DvZ4e
219105
[discord-shield]: https://img.shields.io/discord/478094546522079232.svg
220106
[discord]: https://discord.me/hassioaddons
107+
[docs]: https://github.com/hassio-addons/addon-bookstack/blob/master/bookstack/DOCS.md
221108
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
222109
[forum]: https://community.home-assistant.io/t/community-hass-io-xxxxx/xxxxx
223-
[sinclairpaul]: https://github.com/sinclairpaul
224110
[gitlabci-shield]: https://gitlab.com/hassio-addons/addon-bookstack/badges/master/pipeline.svg
225111
[gitlabci]: https://gitlab.com/hassio-addons/addon-bookstack/pipelines
226-
[home-assistant]: https://home-assistant.io
227112
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
228113
[issue]: https://github.com/hassio-addons/addon-bookstack/issues
229-
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
230114
[license-shield]: https://img.shields.io/github/license/hassio-addons/addon-bookstack.svg
231115
[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg
232-
[npm-packages]: https://www.npmjs.com
233116
[project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg
234117
[reddit]: https://reddit.com/r/homeassistant
235118
[releases-shield]: https://img.shields.io/github/release/hassio-addons/addon-bookstack.svg
236119
[releases]: https://github.com/hassio-addons/addon-bookstack/releases
237120
[repository]: https://github.com/hassio-addons/repository
238-
[semver]: http://semver.org/spec/v2.0.0
121+
[sinclairpaul]: https://github.com/sinclairpaul

bookstack/.README.j2

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Bookstack: Simple & Free Wiki Software.
1313
BookStack is a simple, self-hosted, easy-to-use platform for organising and
1414
storing information.
1515

16-
[Click here for the full documentation][docs]
17-
1816
![Bookstack screenshot][screenshot]
1917

2018
{% if channel == "edge" %}
@@ -60,7 +58,6 @@ If you are more interested in stable releases of our add-ons:
6058
[buymeacoffee]: https://www.buymeacoffee.com/sinclairpaul
6159
[discord-shield]: https://img.shields.io/discord/478094546522079232.svg
6260
[discord]: https://discord.me/hassioaddons
63-
[docs]: {{ repo }}/blob/{{ version }}/README.md
6461
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
6562
[forum]: https://community.home-assistant.io/?u=frenck
6663
[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg

bookstack/DOCS.md

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
# Home Assistant Community Add-on: Bookstack
2+
3+
BookStack is a simple, self-hosted, easy-to-use platform for organising and
4+
storing information. Please support the developers of this software at
5+
[Bookstack].
6+
7+
## Installation
8+
9+
The installation of this add-on is pretty straightforward and not different in
10+
comparison to installing any other Home Assistant add-on.
11+
12+
1. Search for the "bookstack" add-on in the add-on store and install it.
13+
1. Start the "bookstack" add-on
14+
1. Check the logs of the "bookstack" add-on to see if everything went well.
15+
1. Default login information is admin@admin.com/password.
16+
17+
## Configuration
18+
19+
**Note**: _Remember to restart the add-on when the configuration is changed._
20+
21+
Example add-on configuration:
22+
23+
```yaml
24+
log_level: info
25+
ssl: false
26+
certfile: fullchain.pem
27+
keyfile: privkey.pem
28+
```
29+
30+
**Note**: _This is just an example, don't copy and paste it! Create your own!_
31+
32+
### Option: `log_level`
33+
34+
The `log_level` option controls the level of log output by the addon and can
35+
be changed to be more or less verbose, which might be useful when you are
36+
dealing with an unknown issue. Possible values are:
37+
38+
- `trace`: Show every detail, like all called internal functions.
39+
- `debug`: Shows detailed debug information.
40+
- `info`: Normal (usually) interesting events.
41+
- `warning`: Exceptional occurrences that are not errors.
42+
- `error`: Runtime errors that do not require immediate action.
43+
- `fatal`: Something went terribly wrong. Add-on becomes unusable.
44+
45+
Please note that each level automatically includes log messages from a
46+
more severe level, e.g., `debug` also shows `info` messages. By default,
47+
the `log_level` is set to `info`, which is the recommended setting unless
48+
you are troubleshooting.
49+
50+
### Option: `ssl`
51+
52+
Enables/Disables SSL (HTTPS) on the web interface of Bookstack
53+
Panel. Set it `true` to enable it, `false` otherwise.
54+
55+
### Option: `certfile`
56+
57+
The certificate file to use for SSL.
58+
59+
**Note**: _The file MUST be stored in `/ssl/`, which is the default_
60+
61+
### Option: `keyfile`
62+
63+
The private key file to use for SSL.
64+
65+
**Note**: _The file MUST be stored in `/ssl/`, which is the default_
66+
67+
### Option: `proxy_host`
68+
69+
If using a reverse proxy, the domain configured for example
70+
`https://www.example.com`.
71+
72+
### Option: `remote_mysql_host`
73+
74+
If using an external database, the hostname/address for the MYSQL/MariaDB
75+
database.
76+
77+
### Option: `remote_mysql_database`
78+
79+
Only applies if a remote MYSQL database is used, the name of the database.
80+
81+
### Option: `remote_mysql_username`
82+
83+
Only applies if a remote MYSQL database is used, the username with permissions.
84+
85+
### Option: `remote_mysql_password`
86+
87+
Only applies if a remote MYSQL database is used, the password of the above user.
88+
89+
### Option: `remote_mysql_port`
90+
91+
Only applies if a remote MYSQL database is used, the port that the database
92+
server is listening on.
93+
94+
## Database usage
95+
96+
By default, Bookstack will automatically use and configure the Home Assistant
97+
MariaDB addon which should be installed prior to startup, this can be changed
98+
within the configuration to use an external MySql/MariaDB Database. Please note
99+
that there is no easy upgrade path between the two options.
100+
101+
## Known issues and limitations
102+
103+
- SMTP support is disabled.
104+
- Ingress will not function due to the way the application stores image files.
105+
106+
## Changelog & Releases
107+
108+
This repository keeps a change log using [GitHub's releases][releases]
109+
functionality. The format of the log is based on
110+
[Keep a Changelog][keepchangelog].
111+
112+
Releases are based on [Semantic Versioning][semver], and use the format
113+
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
114+
based on the following:
115+
116+
- ``MAJOR``: Incompatible or major changes.
117+
- ``MINOR``: Backwards-compatible new features and enhancements.
118+
- ``PATCH``: Backwards-compatible bugfixes and package updates.
119+
120+
## Support
121+
122+
Got questions?
123+
124+
You have several options to get them answered:
125+
126+
- The [Home Assistant Community Add-ons Discord chat server][discord] for add-on
127+
support and feature requests.
128+
- The [Home Assistant Discord chat server][discord-ha] for general Home
129+
Assistant discussions and questions.
130+
- The Home Assistant [Community Forum][forum].
131+
- Join the [Reddit subreddit][reddit] in [/r/homeassistant][reddit]
132+
133+
You could also [open an issue here][issue] GitHub.
134+
135+
## Authors & contributors
136+
137+
The original setup of this repository is by [Paul Sinclair][sinclairpaul].
138+
139+
For a full list of all authors and contributors,
140+
check [the contributor's page][contributors].
141+
142+
## License
143+
144+
MIT License
145+
146+
Copyright (c) 2019-2020 Paul Sinclair
147+
148+
Permission is hereby granted, free of charge, to any person obtaining a copy
149+
of this software and associated documentation files (the "Software"), to deal
150+
in the Software without restriction, including without limitation the rights
151+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
152+
copies of the Software, and to permit persons to whom the Software is
153+
furnished to do so, subject to the following conditions:
154+
155+
The above copyright notice and this permission notice shall be included in all
156+
copies or substantial portions of the Software.
157+
158+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
159+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
160+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
161+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
162+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
163+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
164+
SOFTWARE.
165+
166+
[bookstack]: https://www.bookstackapp.com/
167+
[contributors]: https://github.com/hassio-addons/addon-bookstack/graphs/contributors
168+
[discord-ha]: https://discord.gg/c5DvZ4e
169+
[discord]: https://discord.me/hassioaddons
170+
[forum]: https://community.home-assistant.io/t/community-hass-io-xxxxx/xxxxx
171+
[sinclairpaul]: https://github.com/sinclairpaul
172+
[issue]: https://github.com/hassio-addons/addon-bookstack/issues
173+
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
174+
[reddit]: https://reddit.com/r/homeassistant
175+
[releases]: https://github.com/hassio-addons/addon-bookstack/releases
176+
[semver]: http://semver.org/spec/v2.0.0

0 commit comments

Comments
 (0)