Skip to content

Commit 8deb0ab

Browse files
bene2k1k8s-ci-robot
authored andcommitted
German Docs home (#13508)
* Hompage German doc * Removed approvers from file * Fixed typo
1 parent ab30d75 commit 8deb0ab

File tree

4 files changed

+205
-0
lines changed

4 files changed

+205
-0
lines changed

content/de/docs/home/_index.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: Kubernetes Dokumentation
3+
noedit: true
4+
cid: docsHome
5+
layout: docsportal_home
6+
class: gridPage
7+
linkTitle: "Home"
8+
main_menu: true
9+
weight: 10
10+
hide_feedback: true
11+
menu:
12+
main:
13+
title: "Dokumentation"
14+
weight: 20
15+
post: >
16+
<p>Erfahren Sie, wie Sie Kubernetes mit Konzept-, Tutorial- und Referenzdokumentation verwenden. Sie können sogar zur <a href="/editdocs/" data-auto-burger-exclude>mithelfen und zur Dokumentation beitragen</a>!</p>
17+
overview: >
18+
Kubernetes ist ein Open-Source-System zur Automatisierung der Bereitstellung, Skalierung und Verwaltung von containerisierten Anwendungen. Das Open-Source Project wird von der Cloud Native Computing Foundation (<a href="https://www.cncf.io/about">CNCF</a>) gehosted.
19+
cards:
20+
- name: concepts
21+
title: "Verstehen Sie die Grundlagen"
22+
description: "Lernen Sie Kubernetes und seine grundlegenden Konzepte kennen."
23+
button: "Konzepte lernen"
24+
button_path: "/docs/concepts"
25+
- name: tutorials
26+
title: "Kubernetes ausprobieren"
27+
description: "Folgen Sie den Tutorials, um zu erfahren, wie Sie Anwendungen in Kubernetes bereitstellen."
28+
button: "Tutorials entdecken"
29+
button_path: "/docs/tutorials"
30+
- name: setup
31+
title: "Richten Sie einen Cluster ein"
32+
description: "Holen Sie sich Kubernetes basierend auf Ihren Ressourcen und Bedürfnissen."
33+
button: "Kubernetes Einrichten"
34+
button_path: "/docs/setup"
35+
- name: tasks
36+
title: "Erfahren Sie, wie Sie Kubernetes verwenden"
37+
description: "Informieren Sie sich über häufig verwendete Aufgaben und deren Durchführung anhand einer kurzen Abfolge von Schritten."
38+
button: "Tasks anzeigen"
39+
button_path: "/docs/tasks"
40+
- name: reference
41+
title: Referenzinformationen nachschlagen
42+
description: Durchsuchen Sie Terminologie, Befehlszeilensyntax, API-Ressourcentypen und Dokumentation zum Setup-Tool.
43+
button: Referenz anzeigen
44+
button_path: /docs/reference
45+
- name: contribute
46+
title: Tragen Sie zur Dokumentation bei
47+
description: Jeder kann einen Beitrag leisten, unabhängig davon, ob Sie neu in dem Projekt oder schon lange dabei sind.
48+
button: Zur Dokumentation beitragen
49+
button_path: /docs/contribute
50+
- name: download
51+
title: Kubernetes Herunterladen
52+
description: Wenn Sie Kubernetes installieren oder auf die neueste Version aktualisieren, lesen Sie die aktuellen Versionshinweise.
53+
- name: about
54+
title: Über die Dokumentation
55+
description: Diese Website enthält Dokumentation zu den aktuellen und vorherigen 4 Versionen von Kubernetes.
56+
---
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Unterstützte Versionen der Kubernetes-Dokumentation
3+
content_template: templates/concept
4+
card:
5+
name: about
6+
weight: 10
7+
title: Unterstützte Versionen der Dokumentation
8+
---
9+
10+
{{% capture overview %}}
11+
12+
Diese Website enthält Dokumentation für die aktuelle Version von Kubernetes
13+
und die vier vorherigen Versionen von Kubernetes.
14+
15+
{{% /capture %}}
16+
17+
{{% capture body %}}
18+
19+
## Aktuelle Version
20+
21+
Die aktuelle Version ist
22+
[{{< param "version" >}}](/).
23+
24+
## Vorherige Versionen
25+
26+
{{< versions-other >}}
27+
28+
{{% /capture %}}
29+
30+

content/de/docs/search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: search
3+
title: Suchergebnisse
4+
---
5+

content/de/docs/sitemap.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
---
3+
<script language="JavaScript">
4+
var dropDownsPopulated = false;
5+
$( document ).ready(function() {
6+
// When the document loads, get the metadata JSON, and kick off tbl render
7+
$.get("/metadata.txt", function(data, status) {
8+
metadata = $.parseJSON(data);
9+
metadata.pages.sort(dynamicSort("t"));
10+
mainLogic()
11+
$(window).bind( 'hashchange', function(e) {
12+
mainLogic();
13+
});
14+
});
15+
});
16+
function mainLogic()
17+
{
18+
// If there's a tag filter, change the table/drop down output
19+
if (!dropDownsPopulated) populateDropdowns();
20+
var tag=window.location.hash.replace("#","");
21+
if(tag) {
22+
tag = $.trim(tag);
23+
for (i=0;i<tagName.length;i++) {
24+
querystringTag = tagName[i] + "=";
25+
if (tag.indexOf(querystringTag) > -1)
26+
{
27+
console.log("in mainLog: querystringTag of " + querystringTag + " matches tag of " + tag);
28+
tag = tag.replace(querystringTag,"");
29+
selectDropDown(tagName[i],tag);
30+
topicsFilter(tagName[i],tag,"output");
31+
}
32+
}
33+
} else {
34+
currentTopics = metadata.pages;
35+
}
36+
renderTable(currentTopics,"output");
37+
38+
}
39+
function populateDropdowns()
40+
{
41+
// Keeping mainLogic() brief by functionalizing the initialization of the
42+
// drop-down filter boxes
43+
44+
for(i=0;i<metadata.pages.length;i++)
45+
{
46+
var metadataArrays = [metadata.pages[i].cr,metadata.pages[i].or,metadata.pages[i].mr];
47+
for(j=0;j<metadataArrays.length;j++)
48+
{
49+
if (metadataArrays[j]) {
50+
for (k=0;k<metadataArrays[j].length;k++) {
51+
if (typeof storedTagsArrays[j] == 'undefined') storedTagsArrays[j] = new Array();
52+
storedTagsArrays[j][metadataArrays[j][k][tagName[j]]] = true;
53+
// ^ conceptList[metadata.pages[i].cr[k].concept] = true; (if rolling through concepts)
54+
// ^ conceptList['container'] = true; (ultimate result)
55+
// ^ objectList[metadata.pages[i].or[k].object] = true; (if rolling through objects)
56+
// ^ objectList['restartPolicy'] = true; (ultimate result)
57+
}
58+
}
59+
}
60+
}
61+
var output = new Array();
62+
for(i=0;i<tagName.length;i++)
63+
{
64+
// Phew! All tags in conceptList, objectList, and commandList!
65+
// Loop through them and populate those drop-downs through html() injection
66+
output = [];
67+
output.push("<select id='" + tagName[i] + "' onchange='dropFilter(this)'>");
68+
output.push("<option>---</option>");
69+
Object.keys(storedTagsArrays[i]).sort().forEach(function (key) {
70+
output.push("<option>" + key + "</option>");
71+
});
72+
output.push("</select>")
73+
$(dropDowns[i]).html(output.join(""));
74+
}
75+
dropDownsPopulated = true;
76+
}
77+
function dropFilter(srcobj)
78+
{
79+
// process the change of a drop-down value
80+
// the ID of the drop down is either command, object, or concept
81+
// these exact values are what topicsFilter() expects, plus a filter val
82+
// which we get from .text() of :selected
83+
console.log("dropFilter:" + $(srcobj).attr('id') + ":" + $(srcobj).find(":selected").text());
84+
topicsFilter($(srcobj).attr('id').replace("#",""),$(srcobj).find(":selected").text(),"output");
85+
for(i=0;i<tagName.length;i++)
86+
{
87+
if($(srcobj).attr('id')!=tagName[i]) selectDropDown(tagName[i],"---");
88+
}
89+
}
90+
function selectDropDown(type,tag)
91+
{
92+
// change drop-down selection w/o filtering
93+
$("#" + type).val(tag);
94+
}
95+
</script>
96+
<style>
97+
#filters select{
98+
font-size: 14px;
99+
border: 1px #000 solid;
100+
}
101+
#filters {
102+
padding-top: 20px;
103+
}
104+
</style>
105+
106+
Klicken Sie auf Tags oder verwenden Sie die Dropdown-Liste zum Filtern. Klicken Sie auf Tabellenköpfe, um die Ergebnisse zu sortieren oder umzukehren.
107+
108+
<p id="filters">
109+
Nach Konzept filtern: <span id="conceptFilter" /><br/>
110+
Nach Objekt filtern: <span id="objectFilter" /><br/>
111+
Nach Befehl filtern: <span id="commandFilter" />
112+
</p>
113+
114+
<div id="output" />

0 commit comments

Comments
 (0)