summaryrefslogtreecommitdiff
path: root/docs/configuration/static_dir.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/configuration/static_dir.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/configuration/static_dir.md')
-rw-r--r--docs/configuration/static_dir.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/docs/configuration/static_dir.md b/docs/configuration/static_dir.md
index 58703e3be..8ac07b725 100644
--- a/docs/configuration/static_dir.md
+++ b/docs/configuration/static_dir.md
@@ -4,15 +4,19 @@ Static frontend files are shipped with pleroma. If you want to overwrite or upda
You can find the location of the static directory in the [configuration](../cheatsheet/#instance).
-```elixir tab="OTP"
-config :pleroma, :instance,
- static_dir: "/var/lib/pleroma/static/",
-```
+=== "OTP"
-```elixir tab="From Source"
-config :pleroma, :instance,
- static_dir: "instance/static/",
-```
+ ```elixir
+ config :pleroma, :instance,
+ static_dir: "/var/lib/pleroma/static/"
+ ```
+
+=== "From Source"
+
+ ```elixir
+ config :pleroma, :instance,
+ static_dir: "instance/static/"
+ ```
Alternatively, you can overwrite this value in your configuration to use a different static instance directory.