瀏覽代碼

Cheatsheet: Move the deprecated config warning into a warning block

object-id-column
rinpatch 4 年之前
父節點
當前提交
66450f8615
共有 1 個檔案被更改,包括 7 行新增6 行删除
  1. +7
    -6
      docs/configuration/cheatsheet.md

+ 7
- 6
docs/configuration/cheatsheet.md 查看文件

@@ -212,14 +212,15 @@ These settings **need to be complete**, they will override the defaults.
NOTE: for versions < 1.0, you need to set [`:fe`](#fe) to false, as shown a few lines below.

## :fe
__THIS IS DEPRECATED__
!!! warning
__THIS IS DEPRECATED__

If you are using this method, please change it to the [`frontend_configurations`](#frontend_configurations) method.
Please **set this option to false** in your config like this:
If you are using this method, please change it to the [`frontend_configurations`](#frontend_configurations) method.
Please **set this option to false** in your config like this:

```elixir
config :pleroma, :fe, false
```
```elixir
config :pleroma, :fe, false
```

This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:instance`` is set to false.



Loading…
取消
儲存