summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/uploads.md
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-08-15 09:49:12 +0300
committerrinpatch <rinpatch@sdf.org>2020-08-15 09:55:59 +0300
commit4fcf272717bf2d8f582720de69fa9e50cab1b66a (patch)
tree0f03658c645486798ad405186a358df0b8f2dca7 /docs/administration/CLI_tasks/uploads.md
parent014f91c1c3504d7e1f4407491d42223c79c0de05 (diff)
downloadpleroma-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/uploads.md')
-rw-r--r--docs/administration/CLI_tasks/uploads.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/administration/CLI_tasks/uploads.md b/docs/administration/CLI_tasks/uploads.md
index 6a15d22f6..8585ec76b 100644
--- a/docs/administration/CLI_tasks/uploads.md
+++ b/docs/administration/CLI_tasks/uploads.md
@@ -3,13 +3,17 @@
{! backend/administration/CLI_tasks/general_cli_task_info.include !}
## Migrate uploads from local to remote storage
-```sh tab="OTP"
- ./bin/pleroma_ctl uploads migrate_local <target_uploader> [option ...]
-```
+=== "OTP"
-```sh tab="From Source"
-mix pleroma.uploads migrate_local <target_uploader> [option ...]
-```
+ ```sh
+ ./bin/pleroma_ctl uploads migrate_local <target_uploader> [option ...]
+ ```
+
+=== "From Source"
+
+ ```sh
+ mix pleroma.uploads migrate_local <target_uploader> [option ...]
+ ```
### Options
- `--delete` - delete local uploads after migrating them to the target uploader