Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update docs structure (#2189)
Leendert de Borst8e9b36850634
diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.tsindex 127d695bd..7d1678a05 100644--- a/docs/docusaurus.config.ts+++ b/docs/docusaurus.config.ts@@ -7,6 +7,33 @@ const config: Config = {tagline: 'A privacy-first password manager with built-in email aliasing',favicon: 'assets/img/favicon.png',+ // Load the Inter webfont from the document <head> with preconnect, instead of+ // a render-blocking `@import` in custom.css. `@import` of a remote stylesheet+ // serializes requests (CSS -> font CSS -> font files) and delays first paint;+ // discovering the <link> in the initial HTML + warming the gstatic connection+ // improves LCP (a Core Web Vitals ranking signal). `display=swap` avoids FOIT.+ headTags: [+ {+ tagName: 'link',+ attributes: {rel: 'preconnect', href: 'https://fonts.googleapis.com'},+ },+ {+ tagName: 'link',+ attributes: {+ rel: 'preconnect',+ href: 'https://fonts.gstatic.com',+ crossorigin: 'anonymous',+ },+ },+ {+ tagName: 'link',+ attributes: {+ rel: 'stylesheet',+ href: 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap',+ },+ },+ ],+url: 'https://docs.aliasvault.net',baseUrl: '/',@@ -53,6 +80,9 @@ const config: Config = {sitemap: {changefreq: 'weekly',priority: 0.5,+ // Emit <lastmod> (from git history, via showLastUpdateTime) so+ // crawlers can tell which pages changed and re-crawl them sooner.+ lastmod: 'datetime',},} satisfies Preset.Options,],diff --git a/docs/src/css/custom.css b/docs/src/css/custom.cssindex e1b42c6cd..fd08d490c 100644--- a/docs/src/css/custom.css+++ b/docs/src/css/custom.css@@ -1,9 +1,10 @@/*** AliasVault documentation theme.+ *+ * The Inter webfont is loaded via `headTags` preconnect + <link> in+ * docusaurus.config.ts (not an `@import` here) to avoid render-blocking.*/-@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');-:root {/* Brand orange — used for links, buttons, accents. */--ifm-color-primary: #d68338;diff --git a/docs/static/robots.txt b/docs/static/robots.txtnew file mode 100644index 000000000..5d856b68d--- /dev/null+++ b/docs/static/robots.txt@@ -0,0 +1,5 @@+# https://docs.aliasvault.net+User-agent: *+Allow: /++Sitemap: https://docs.aliasvault.net/sitemap.xml