Skip to content
Snippets Groups Projects
Unverified Commit d980152b authored by Rothbardian's avatar Rothbardian
Browse files

Fix description in site config, add search

parent 4ccfc229
No related branches found
No related tags found
1 merge request!1Add robots.txt, modify front matter
---
title: Architectural overview
description: Architectural overview
title: Architectural Overview
description: Architectural Overview
keywords: [Elixxir, Mixnet, Metadata, Protection, Traffic, Analysis, Cryptography]
---
......
......@@ -9,7 +9,7 @@ import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'xx Network Docs',
tagline: 'xx Network node installation instructions.',
tagline: 'xx Network documentation.',
favicon: 'img/icon.png',
// Set the production url of your site here
......@@ -26,6 +26,32 @@ const config = {
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
plugins: [[require.resolve("@cmfcmf/docusaurus-search-local"),
{
indexDocs: true,
indexDocSidebarParentCategories: 2,
indexBlog: false,
indexPages: true,
language: "en",
maxSearchResults: 12,
lunr: {
tokenizerSeparator: /[\s\-]+/,
b: 0.75,
k1: 1.2,
titleBoost: 4,
contentBoost: 1,
tagsBoost: 3,
parentCategoriesBoost: 2
}
},],
],
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
......
......@@ -1390,7 +1390,7 @@
"@docusaurus/utils" "3.4.0"
"@docusaurus/utils-common" "3.4.0"
"@docusaurus/utils-validation" "3.4.0"
cheerio "^1.0.0-rc.12"
cheerio "1.0.0-rc.12"
feed "^4.2.2"
fs-extra "^11.1.1"
lodash "^4.17.21"
......@@ -2941,7 +2941,7 @@ cheerio-select@^2.1.0:
domhandler "^5.0.3"
domutils "^3.0.1"
cheerio@^1.0.0-rc.12:
cheerio@1.0.0-rc.12:
version "1.0.0-rc.12"
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.12.tgz#788bf7466506b1c6bf5fae51d24a2c4d62e47683"
integrity sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment