浏览代码

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.



正在加载...
取消
保存