Commit 76e2a8fb authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Reorganization of documentation homepage

parent ea447603
......@@ -3,6 +3,14 @@
title: "Documentation"
linkTitle: "Documentation"
layout: home
groups:
- name: "Getting Started"
key: getting-started
- name: "Features"
key: features
- name: "Packaging"
key: "packaging"
menu:
main:
weight: 10
......
---
title: "Add configuration options to your application"
linkTitle: "KConfig"
title: "Configuration"
weight: 3
group: "features"
description: >
Discover KDE Frameworks and start building your first application
Add configuration options in your application and Plasma with KConfig and KConfigXT.
---
In these series of tutorials, you will learn how to add settings to your application using the KConfig Framework.
In these series of tutorials, you will learn how to add settings to your application
using the KConfig Framework.
......@@ -2,6 +2,7 @@
title: D-Bus
linkTitle: D-Bus
weight: 4
group: "features"
description: >
Inter-Process communication using D-Bus
---
......
---
title: Desktop File
weight: 3
weight: 5
group: features
description: >
Let your application show up in the Launcher and in application menus.
---
......
......@@ -2,6 +2,7 @@
title: Distributing KDE Software as Flatpak
description: The new decentralized packaging standard for Linux applications
weight: 20
group: "packaging"
---
Flatpak is a new package format in the Linux world that works on many Linux
......
......@@ -4,6 +4,7 @@ linkTitle: "Getting Started"
weight: 1
description: >
Discover KDE Frameworks and start building your first application
group: "getting-started"
---
This tutorial will guide you in creating a small text editor using
......
......@@ -4,6 +4,7 @@ linkTitle: "Kirigami Tutorial"
weight: 2
description: >
Learn the Kirigami framework by creating your first convergent application
group: "getting-started"
---
In these series of tutorials, you will learn how to integrate create a simple application that
......
---
title: "Plasma Themes and Plugins"
group: "getting-started"
description: >
How to customize plasma with widgets, themes and icons
---
......
---
title: Create a Global Theme Package
weight: 2
---
......@@ -2,7 +2,8 @@
title: Session Management
description: >
Make your application aware of X sessions
weight: 1
weight: 4
group: "features"
---
## About KDE and X11 session management
......
{{ define "main" }}
<div class="td-content">
<h1 class="mt-2">{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
{{ partial "reading-time.html" . }}
{{ end }}
{{ .Content }}
<div class="section-index">
{{ $parent := .Page }}
{{ $allPages := .Site.Pages }}
{{ $section := .Section }}
{{ range .Params.groups }}
<h2>{{ .name }}</h2>
{{ $pages := (where (where $allPages "Section" $section) ".Params.group" .key ).ByWeight }}
{{/* Otherwise we show a nice formatted list of subpages with page descriptions */}}
<div class="row">
{{ range $pages }}
{{ if eq .Parent $parent }}
<div class="col-6 my-3">
<a href="{{ .RelPermalink }}" class="shadow p-3 h-100 d-block">
<h2 class="h4 mt-0">{{- .Title -}}</h2>
<p>{{ .Description | markdownify }}</p>
</a>
</div>
{{ end }}
{{ end }}
</div>
{{ end }}
</div>
<div class="text-muted mt-5 pt-3 border-top">{{ partial "page-meta-lastmod.html" . }}</div>
</div>
{{ end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment