blob: 1ae9f80d268c557b2ed0dc0ba7fcace1ecc369aa [file] [log] [blame]
<!doctype html>
<html lang="{{ .Site.Language.Lang }}" class="no-js td-docs">
<head>
{{ partial "head.html" . }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
<script async src="/js/github-buttons.js"></script>
</head>
<body class="td-{{ .Kind }}">
<header>
{{ partial "navbar.html" . }}
</header>
<div class="container-fluid td-outer">
<div class="td-main">
<div class="container">
<main role="main">
<h1 class="text-center">Projects and Documentation</h1>
<p class="article-description mt-4">
This directory includes the official SkyWalking repositories and some ecosystem projects developed by the community. Looking for downloadable releases? You can find them in the
<a href="/downloads">Downloads</a> page.
</p>
<div class="text-center btn-wrapper mb-4">
{{range .Site.Data.docs}}
{{if .buttonText}}
<a href="#{{.buttonText}}" class="link-type">
<button class="sky-btn">{{.buttonText}}</button>
</a>
{{else}}
<a href="#{{.type}}" class="link-type">
<button class="sky-btn">{{.type}}</button>
</a>
{{end}}
{{end}}
</div>
{{range .Site.Data.docs}}
<div class="card-wrapper">
{{if .buttonText}}
<h2 class="deco-title" id="{{.buttonText}}">{{.type}}</h2>
{{else}}
<h2 class="deco-title" id="{{.type}}">{{.type}}</h2>
{{end}}
<div class="item-wrapper">
{{range .list}}
{{$id := replace .name " " "" }}
{{$id := replace $id ")" "" }}
{{$id := replace $id "(" "" }}
{{if .descriptionItem}}
<div class="card item description-item">
<div class="card-body">
{{.descriptionItem}}
</div>
</div>
{{else}}
<div class="card item {{$id}}">
<div class="card-body">
{{if .icon}}
<img width="36" height="36" src="/images/project/{{.icon}}.svg" alt="{{.icon}}">
{{end}}
<div class="card-text">
<div class="title-box">
<h5 class="card-title">{{.name}}</h5>
<a aria-hidden="true" href="#{{$id}}" id="{{$id}}" style="visibility: hidden;">
<i class="iconfont icon-link"></i>
</a>
</div>
<p>{{.description}}</p>
</div>
<div class="doc-box">
<a class="github-button btn" target="_blank" rel="noopener" href="https://github.com/{{.user}}/{{.repo}}" data-size="large"
data-show-count="true" aria-label="Star {{.user}}/{{.repo}} on GitHub"><i class="iconfont icon-github"></i>&nbsp;Star</a>
{{if .docs}}
<div class="btn-group">
<button type="button" class="btn btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
docs
</button>
<div class="dropdown-menu scroll-bar">
<div>
{{range .docs}}
{{$version := .version}}
{{$versionName := .versionName}}
<a class="dropdown-item" target="_blank" href="{{.link}}">
{{if .versionName}}
{{.versionName}}
{{else}}
{{.version}}
{{end}}
</a>
{{end}}
</div>
</div>
</div>
{{end}}
</div>
</div>
</div>
{{end}}
{{end}}
</div>
</div>
{{end}}
</main>
</div>
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "event-popup.html" . }}
{{ partial "sidebar-skywalking.html" . }}
{{ partial "active-scripts.html" . }}
{{ partial "scripts.html" . }}
</body>
</html>