diff options
author | rinpatch <rinpatch@sdf.org> | 2020-08-15 07:42:10 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-08-15 07:42:10 +0000 |
commit | ec242b470654e5e66e3d3a36e8d7563e15b08016 (patch) | |
tree | dc8fa2ed388168f290475c1da2bed8fa11a14867 /docs/administration/CLI_tasks/robots_txt.md | |
parent | 57a00e22c46e56e2ecd87c4166644e899555bf5d (diff) | |
parent | 4fcf272717bf2d8f582720de69fa9e50cab1b66a (diff) | |
download | pleroma-ec242b470654e5e66e3d3a36e8d7563e15b08016.tar.gz pleroma-ec242b470654e5e66e3d3a36e8d7563e15b08016.zip |
Merge branch 'fix/docs-tabs' into 'develop'
Docs: Fix the way tabs are declared
Closes #2045
See merge request pleroma/pleroma!2892
Diffstat (limited to 'docs/administration/CLI_tasks/robots_txt.md')
-rw-r--r-- | docs/administration/CLI_tasks/robots_txt.md | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/administration/CLI_tasks/robots_txt.md b/docs/administration/CLI_tasks/robots_txt.md index 844318cc8..7eeedf571 100644 --- a/docs/administration/CLI_tasks/robots_txt.md +++ b/docs/administration/CLI_tasks/robots_txt.md @@ -8,10 +8,14 @@ The `robots.txt` that ships by default is permissive. It allows well-behaved sea If you want to generate a restrictive `robots.txt`, you can run the following mix task. The generated `robots.txt` will be written in your instance [static directory](../../../configuration/static_dir/). -```elixir tab="OTP" -./bin/pleroma_ctl robots_txt disallow_all -``` +=== "OTP" -```elixir tab="From Source" -mix pleroma.robots_txt disallow_all -``` + ```sh + ./bin/pleroma_ctl robots_txt disallow_all + ``` + +=== "From Source" + + ```sh + mix pleroma.robots_txt disallow_all + ``` |