404
+404
Not found
-Oops! This page doesn't exist. Try going back to our home page or documentation page.
+Oops! This page doesn't exist. Try going back to our about page or documentation page.
From 6665fe1dc76e56b92a676f7a59e73b33a1c1d8ac Mon Sep 17 00:00:00 2001 From: Timur Osmanov <54434686+TOsmanov@users.noreply.github.com> Date: Tue, 8 Jun 2021 11:15:15 +0300 Subject: [PATCH] Update website (#3293) * update docsy theme * update website * return to markdown markup * add item update submodule in site/README.md --- site/README.md | 16 ++++++++++++++++ site/assets/scss/_custom.scss | 5 +++-- site/content/en/about/_index.html | 2 +- site/content/en/docs/for-users/installation.md | 4 ++-- .../installation_automatic_annotation.md | 2 +- site/layouts/404.html | 4 ++-- site/layouts/shortcodes/blocks/feature.html | 10 ++++++++++ site/themes/docsy | 2 +- 8 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 site/layouts/shortcodes/blocks/feature.html diff --git a/site/README.md b/site/README.md index 2295dc7e..c706e583 100644 --- a/site/README.md +++ b/site/README.md @@ -61,3 +61,19 @@ Then you can build a website in the "public" folder: hugo [Read more](https://www.docsy.dev/docs/getting-started/) + +### Update the submodule of the docsy theme + +To update the submodule of the docsy theme you need to have a repository clone. While in the repository folder, +use the git command: + + git submodule update --remote + +Add and then commit the change to project: + + git add themes/ + git commit -m "Updating theme submodule" + +Push the commit to project repo. For example, run: + + git push diff --git a/site/assets/scss/_custom.scss b/site/assets/scss/_custom.scss index 92255e0d..f8a370ef 100644 --- a/site/assets/scss/_custom.scss +++ b/site/assets/scss/_custom.scss @@ -4,8 +4,9 @@ /* Increased left padding on the sidebar of documentation */ -.td-sidebar-nav__section-title .td-sidebar-nav__section { - padding-left: 0.3rem; +.td-sidebar-nav__section .ul-1 ul { + padding-left: 0.6rem !important; + padding-right: 0.1rem !important; } /* Main documentation page */ diff --git a/site/content/en/about/_index.html b/site/content/en/about/_index.html index 91b81419..065ab742 100644 --- a/site/content/en/about/_index.html +++ b/site/content/en/about/_index.html @@ -141,7 +141,7 @@ menu:
Not found
-Oops! This page doesn't exist. Try going back to our home page or documentation page.
+Oops! This page doesn't exist. Try going back to our about page or documentation page.
{{ .Inner }}
+ {{ with .Get "url" }}{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} …
{{ end }} +