diff options
author | Nick <nick.win999@gmail.com> | 2020-09-07 12:22:18 -0500 |
---|---|---|
committer | Nick <nick.win999@gmail.com> | 2020-09-07 12:22:18 -0500 |
commit | fa40558f73ae0b7f693d93ec931aecf9d52167a1 (patch) | |
tree | 3ab362de33ea29d2489d8a4414f88044b4e7137c /docs/docusaurus.config.js | |
parent | bc282a0a4f1af4f6f78a0dd63e5b022eb76a603c (diff) | |
parent | 61b249666b13f7f356c0e77ee5eb500d672d7dce (diff) |
Merge commit '61b249666b13f7f356c0e77ee5eb500d672d7dce' into boards/dz60rgb
Diffstat (limited to 'docs/docusaurus.config.js')
-rw-r--r-- | docs/docusaurus.config.js | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index b17312d..64f9a45 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -7,14 +7,18 @@ module.exports = { organizationName: "zmkfirmware", // Usually your GitHub org/user name. projectName: "zmk", // Usually your repo name. themeConfig: { - sidebarCollapsible: false, + googleAnalytics: { + trackingID: "UA-145201102-2", + anonymizeIP: true, + }, + // sidebarCollapsible: false, navbar: { title: "ZMK Firmware", logo: { alt: "ZMK Logo", src: "img/zmk_logo.svg", }, - links: [ + items: [ { to: "docs/", activeBasePath: "docs", @@ -54,7 +58,9 @@ module.exports = { // }, { label: "Discord", - href: "/community/discord/invite", + href: + (process.env.URL || "https://zmkfirmware.dev") + + "/community/discord/invite", }, { label: "Twitter", @@ -99,12 +105,12 @@ module.exports = { homePageId: "intro", sidebarPath: require.resolve("./sidebars.js"), // Please change this to your repo. - editUrl: "https://githlab.com/zmkproject/zmk/edit/main/docs/", + editUrl: "https://github.com/zmkfirmware/zmk/edit/main/docs/", }, blog: { showReadingTime: true, // Please change this to your repo. - editUrl: "https://gitlab.com/zmkproject/zmk/edit/main/docs/blog/", + editUrl: "https://github.com/zmkfirmware/zmk/edit/main/docs/", }, theme: { customCss: require.resolve("./src/css/custom.css"), |