Update documentation on website (#3265)
* update documentation on website * fix markup * fix formats header * fix linter error * delete duplicate headersmain
parent
156ddae122
commit
f662126044
@ -1,22 +0,0 @@
|
||||
---
|
||||
title: "Format specifications:"
|
||||
linkTitle: "Format specifications"
|
||||
weight: 1
|
||||
no_list: true
|
||||
---
|
||||
|
||||
- [CVAT](format-cvat)
|
||||
- [Datumaro](format-datumaro)
|
||||
- [LabelMe](format-labelme)
|
||||
- [MOT](format-mot)
|
||||
- [MOTS](format-mots)
|
||||
- [COCO](format-coco)
|
||||
- [PASCAL VOC and mask](format-voc)
|
||||
- [YOLO](format-yolo)
|
||||
- [TF detection API](format-tfrecord)
|
||||
- [ImageNet](format-imagenet)
|
||||
- [CamVid](format-camvid)
|
||||
- [WIDER Face](format-widerface)
|
||||
- [VGGFace2](format-vggface2)
|
||||
- [Market-1501](format-market1501)
|
||||
- [ICDAR13/15](format-icdar)
|
||||
@ -0,0 +1,35 @@
|
||||
{{ $cover := .HasShortcode "blocks/cover" }}
|
||||
<nav class="js-navbar-scroll navbar navbar-expand navbar-dark {{ if $cover}} td-navbar-cover {{ end }}flex-column flex-md-row td-navbar">
|
||||
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}about/">
|
||||
<span class="navbar-logo">{{ if .Site.Params.ui.navbar_logo }}{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}{{ end }}</span>
|
||||
</a>
|
||||
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
|
||||
<ul class="navbar-nav mt-2 mt-lg-0">
|
||||
{{ $p := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="nav-item mr-4 mb-2 mb-lg-0">
|
||||
{{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) }}
|
||||
{{ with .Page }}
|
||||
{{ $active = or $active ( $.IsDescendant .) }}
|
||||
{{ end }}
|
||||
{{ $pre := .Pre }}
|
||||
{{ $post := .Post }}
|
||||
{{ $url := urls.Parse .URL }}
|
||||
{{ $baseurl := urls.Parse $.Site.Params.Baseurl }}
|
||||
<a class="nav-link{{if $active }} active{{end}}" href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}" {{ if ne $url.Host $baseurl.Host }}target="_blank" {{ end }}>{{ with .Pre}}{{ $pre }}{{ end }}<span{{if $active }} class="active"{{end}}>{{ .Name }}</span>{{ with .Post}}{{ $post }}{{ end }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.versions }}
|
||||
<li class="nav-item dropdown d-none d-lg-block">
|
||||
{{ partial "navbar-version-selector.html" . }}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ if (gt (len .Site.Home.Translations) 0) }}
|
||||
<li class="nav-item dropdown d-none d-lg-block">
|
||||
{{ partial "navbar-lang-selector.html" . }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="navbar-nav d-none d-lg-block">{{ partial "search-input.html" . }}</div>
|
||||
</nav>
|
||||
Loading…
Reference in New Issue