Update website (#3293)

* update docsy theme

* update website

* return to markdown markup

* add item update submodule in site/README.md
main
Timur Osmanov 5 years ago committed by GitHub
parent 675ef964a5
commit 6665fe1dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -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 */

@ -141,7 +141,7 @@ menu:
</ul>
<ul class="col-lg-6 text-left">
<li>
You can ask questions anytime in <a href="https://gitter.im/opencv-cvat/dev">Gitter chat for developers</a>.
We have is a separate <a href="https://gitter.im/opencv-cvat/dev">Gitter chat for developers</a> to discuss the development of CVAT.
</li>
<li>
Visit our <a href="https://github.com/openvinotoolkit/cvat">GitHub</a> repository.

@ -2,8 +2,8 @@
---
title: 'Installation'
linkTitle: 'Installation'
title: 'Installation Guide'
linkTitle: 'Installation Guide'
weight: 1
description: 'CVAT installation guide for different operating systems'

@ -3,7 +3,7 @@
---
title: 'Semi-automatic and Automatic Annotation'
linkTitle: 'Semi-automatic and Automatic Annotation'
linkTitle: 'Installation Auto Annotation'
weight: 5
description: 'This page provides information about the installation of components needed for
semi-automatic and automatic annotation'

@ -1,9 +1,9 @@
{{ define "main"}}
<main id="main">
<div class="text-center">
<h1 id="title">404</h1>
<h1>404</h1>
<p>Not found</p>
<p>Oops! This page doesn't exist. Try going back to our <a href="{{ "/" | relURL }}">home page</a> or <a href="./docs">documentation page</a>.</p>
<p>Oops! This page doesn't exist. Try going back to our <a href="./about">about page</a> or <a href="./docs">documentation page</a>.</p>
</div>
</main>
{{ end }}

@ -0,0 +1,10 @@
{{ $icon := .Get "icon" | default "fa-lightbulb" }}
{{ $url_text := .Get "url_text" }}
<div class="col-lg-4 mb-5 mb-lg-0 text-center ">
<div class="mb-4 h1">
<i class="{{ if not (or (hasPrefix $icon "fas ") (hasPrefix $icon "fab ")) }}fas {{ end }}{{ $icon }}"></i>
</div>
<h4 class="h3">{{ .Get "title" | markdownify }}</h4>
<p class="mb-0">{{ .Inner }}</p>
{{ with .Get "url" }}<p><a href="{{ . }}">{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} …</a></p>{{ end }}
</div>

@ -1 +1 @@
Subproject commit 9bfc49d9d985a48a9af7ed0274ad65364c813f37
Subproject commit 23d2740c2e517dfda77924fe53e7b629e45a9353
Loading…
Cancel
Save