Readme

KDE Developer website

The KDE Developer websitearrow-up-right is built using Hugoarrow-up-right and is hosted on Inventarrow-up-right.

It is home to the development tutorialsarrow-up-right and the KDE Human Interface Guidelinesarrow-up-right.

Contributing to the KDE Developer website

The source code for this website can be found at https://invent.kde.org/documentation/develop-kde-org.

To learn more about the formatting and custom tooling available to start contributing, see the Formatting Guidelinesarrow-up-right.

To learn more about tutorial style and the use cases of the available tools, see the Style Guidelinesarrow-up-right.

To learn how to submit a contribution, see Submitting a Merge Requestarrow-up-right.

Before running the website

Download the latest Hugo release (extended version) from herearrow-up-right and clone this repo. Once you've cloned the site repo, enter the repo root folder.

Certain tutorials fetch examples directly from their respective repositories (library-specific ones, like KArchive or KAuth); to display them, you'll need to run a Python script. Make sure you have the required dependencies installed on your system. We suggest using venv for this:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Then, run this Python script:

Running the website locally

From the repo's root folder, run:

And open http://localhost:1313

Extract icon metadata

Data for the icon galleries (i.e. /frameworks/breeze-icons/) must be extracted via scripts/icon_extractor.py. The script is configured with the correct paths for this repository and therefore may be executed without additional arguments. It expects breeze-icons and oxygen-icons to be installed on the system (the base install path can be configured, see below). If icons are not found, they will be fetched.

I18n

The Kirigami tutorials are internationalized and localized using hugoi18narrow-up-right.

hugo-kde theme

This website uses a theme shared among KDE websites that are Hugo-based. If you have some issue that you think is not inside this repo, or if you just want to know more about the theme, have a look at hugo-kde wikiarrow-up-right.

Last updated