From aae50d61dd8a833e11a2c11dad93d9add6b444fd Mon Sep 17 00:00:00 2001 From: Ilya Artamonov Date: Sat, 6 Jun 2020 12:41:45 +0300 Subject: [PATCH] Update ru/configuration.md --- docs/content/ru/configuration.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/content/ru/configuration.md b/docs/content/ru/configuration.md index 058667be8..cb6c12ae9 100644 --- a/docs/content/ru/configuration.md +++ b/docs/content/ru/configuration.md @@ -62,6 +62,19 @@ content: { fullTextSearchFields: ['title', 'description'] } ``` +### `nestedProperties` + +- Тип `Array` +- По умолчанию: `[]` +- Версия: **v2.0.0** + +Зарегистрируйте вложенные свойства для обработки обращения через точку и глубокой фильтрации. + +```js{}[nuxt.config.js] +content: { + nestedProperties: ['categories.slug'] +} +``` ### `markdown` @@ -161,8 +174,12 @@ export default { apiPrefix: '_content', dir: 'content', fullTextSearchFields: ['title', 'description', 'slug', 'text'], + nestedProperties: [], markdown: { externalLinks: {}, + footnotes: { + inlineNotes: true + }, basePlugins: ['remark-squeeze-paragraphs', 'remark-slug', 'remark-autolink-headings', 'remark-external-links', 'remark-footnotes'], plugins: [], prism: {