diff --git a/.gitignore b/.gitignore index 8f187f04..85ea9156 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ node_modules public resources -# Local Netlify folder .netlify -TODO \ No newline at end of file +.hugo_build.lock \ No newline at end of file diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index 935d480d..5e24b867 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -10,17 +10,60 @@ identifier = "help" url = "/docs/help/" +# [[docs]] +# name = "Lorem" +# weight = 70 +# identifier = "lorem" +# url = "/docs/lorem/" + +[[guide]] + name = "Lorem" + weight = 10 + identifier = "lorem" + url = "/guide/lorem/" + +[[tutorial]] + name = "Lorem" + weight = 10 + identifier = "lorem" + url = "/tutorial/lorem/" + [[main]] name = "Docs" url = "/docs/prologue/introduction/" # url = "/docs/1.0/prologue/introduction/" weight = 10 +# [[main]] +# name = "Tutorial" +# url = "/tutorial/lorem/ipsum/" +# weight = 15 + [[main]] name = "Blog" url = "/blog/" weight = 20 +[[main]] + name = "Get Started" + weight = 30 + identifier = "get-started" + url = "/docs/prologue/introduction/" + +[[main]] + name = "Quick Start" + weight = 40 + identifier = "quick-start" + url = "/docs/prologue/quick-start/" + parent = "get-started" + +[[main]] + name = "Tutorial" + weight = 50 + identifier = "tutorial" + url = "https://getdoks.org/tutorial/introduction/" + parent = "get-started" + [[social]] name = "GitHub" pre = "" diff --git a/config/_default/params.toml b/config/_default/params.toml index fec8c771..3b884443 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -54,7 +54,7 @@ lqipWidth = "20x" smallLimit = "300" # Footer -footer = "Powered by Netlify, Hugo, and Doks" +footer = "Powered by Netlify, Hugo, and Doks" # Feed copyRight = "Copyright (c) 2020-2021 Henk Verlinde" @@ -66,9 +66,14 @@ alertDismissable = true alertText = "Introducing the Doks child theme, several DX + UX updates, and more! Check out Doks v0.2" # Edit Page +# repoHost [Github | Gitea | GitLab | Bitbucket | BitbucketServer ] is used for building the edit link based on git hoster +repoHost = "GitHub" +#repoHost = "Gitea" docsRepo = "https://github.com/h-enk/doks" docsRepoBranch = "master" +docsRepoSubPath = "" editPage = false +lastMod = false [options] lazySizes = true @@ -80,6 +85,11 @@ editPage = false breadCrumb = false highLight = true kaTex = false - collapsibleSidebar = true multilingualMode = false docsVersioning = false + fullWidth = false + +[menu] + [menu.section] + auto = true + collapsibleSidebar = true diff --git a/config/postcss.config.js b/config/postcss.config.js index 5a0e0285..e8c3b39d 100644 --- a/config/postcss.config.js +++ b/config/postcss.config.js @@ -22,8 +22,11 @@ module.exports = { 'td', 'h5', 'alert-link', + 'container-xxl', + 'container-fluid', ...whitelister([ './node_modules/@hyas/doks/assets/scss/common/_variables.scss', + './node_modules/@hyas/doks/assets/scss/components/_alerts.scss', './node_modules/@hyas/doks/assets/scss/components/_buttons.scss', './node_modules/@hyas/doks/assets/scss/components/_code.scss', './node_modules/@hyas/doks/assets/scss/components/_syntax.scss',