diff options
author | rinpatch <rinpatch@sdf.org> | 2020-08-15 09:49:12 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-08-15 09:55:59 +0300 |
commit | 4fcf272717bf2d8f582720de69fa9e50cab1b66a (patch) | |
tree | 0f03658c645486798ad405186a358df0b8f2dca7 /docs/administration/CLI_tasks/config.md | |
parent | 014f91c1c3504d7e1f4407491d42223c79c0de05 (diff) | |
download | pleroma-4fcf272717bf2d8f582720de69fa9e50cab1b66a.tar.gz pleroma-4fcf272717bf2d8f582720de69fa9e50cab1b66a.zip |
Docs: Fix the way tabs are declared
Since python doesn't have a way to lock deps for a particlar project
by default, I didn't bother with it. This resulted in mkdocs updating at
some point, bringing a breaking change to how tabs are declared and
broken tabs on docs-develop.pleroma.social. I've learned my lesson
and locked deps with pipenv in pleroma/docs!5. This MR updates Pleroma
docs to use the new tab style, fortunately my editor did most of it.
Closes #2045
Diffstat (limited to 'docs/administration/CLI_tasks/config.md')
-rw-r--r-- | docs/administration/CLI_tasks/config.md | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/docs/administration/CLI_tasks/config.md b/docs/administration/CLI_tasks/config.md index cc32bf859..0923004b5 100644 --- a/docs/administration/CLI_tasks/config.md +++ b/docs/administration/CLI_tasks/config.md @@ -11,14 +11,17 @@ config :pleroma, configurable_from_database: true ``` -```sh tab="OTP" - ./bin/pleroma_ctl config migrate_to_db -``` +=== "OTP" -```sh tab="From Source" -mix pleroma.config migrate_to_db -``` + ```sh + ./bin/pleroma_ctl config migrate_to_db + ``` + +=== "From Source" + ```sh + mix pleroma.config migrate_to_db + ``` ## Transfer config from DB to `config/env.exported_from_db.secret.exs` @@ -31,10 +34,12 @@ mix pleroma.config migrate_to_db To delete transfered settings from database optional flag `-d` can be used. `<env>` is `prod` by default. -```sh tab="OTP" - ./bin/pleroma_ctl config migrate_from_db [--env=<env>] [-d] -``` +=== "OTP" + ```sh + ./bin/pleroma_ctl config migrate_from_db [--env=<env>] [-d] + ``` -```sh tab="From Source" -mix pleroma.config migrate_from_db [--env=<env>] [-d] -``` +=== "From Source" + ```sh + mix pleroma.config migrate_from_db [--env=<env>] [-d] + ``` |