From 9e99512e7646f447ec80cb0e3c460b5ae21f9af2 Mon Sep 17 00:00:00 2001 From: Leon Matthes Date: Tue, 23 Jul 2024 16:55:58 +0200 Subject: [PATCH] chore(docs): Fix & Improve contribution docs This commit fixes some broken links, updates the building & testing documentation and adds a few badges. --- CMakePresets.json | 14 ++++++++++++++ README.md | 12 ++++++++++++ docs/contributing/architecture.md | 2 +- docs/contributing/getting-involved.md | 25 +++++++++++++++++++------ docs/contributing/unit-tests.md | 2 +- docs/getting-started/treesitter.md | 6 +++--- 6 files changed, 50 insertions(+), 11 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index e56c527a..0b897869 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -104,6 +104,20 @@ "name": "clazy", "inherits": "ci", "configurePreset": "clazy" + }, + { + "name": "debug", + "inherits": "ci", + "configurePreset": "debug", + "execution": { + "noTestsAction": "error", + "stopOnFailure": false + } + }, + { + "name": "debug-asan", + "inherits": "debug", + "configurePreset": "debug-asan" } ] } diff --git a/README.md b/README.md index 80ef339d..e13bba22 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # Knut +[![GitHub branch status](https://img.shields.io/github/checks-status/KDAB/knut/main?logo=github)](https://github.com/KDAB/knut/actions) +[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSES/GPL-3.0-only.txt) +[![MkDocs](https://img.shields.io/badge/MkDocs-526CFE?logo=materialformkdocs&logoColor=fff)](https://kdab.github.io/knut/) + Knut is an automation tool for code transformation using scripts. The main use case is for migration, but it could be used elsewhere. The scripts are written either in javascript or QML languages, the latter being able to display a user interface to customize some parts of the application. @@ -67,6 +71,14 @@ e.g.: ./build-release/bin/knut ``` +# Documentation + +Visit our comprehensive documentation here: https://kdab.github.io/knut/contributing/getting-involved.html + +# Contributing + +For information about contributing to Knut, see the ["Contributing guide"](https://kdab.github.io/knut/contributing/getting-involved.html) in our documentation. + # About KDAB Knut is written and maintained by Klarälvdalens Datakonsult AB (KDAB). diff --git a/docs/contributing/architecture.md b/docs/contributing/architecture.md index 67281c57..384f2a97 100644 --- a/docs/contributing/architecture.md +++ b/docs/contributing/architecture.md @@ -32,7 +32,7 @@ High-level architecture description. `KnutCore` is the central object in the application (module **core**), and is created in the `main.cpp`: -- create the application singletons: [`Project`](../API/script/project.md), [`Settings`](../API/script/settings.md) and `ScriptManager` +- create the application singletons: [`Project`](../API/knut/project.md), [`Settings`](../API/knut/settings.md) and `ScriptManager` - read parameters from the command line `KnutMain` is a subclass (module **gui**) that adds the gui specific parameters. diff --git a/docs/contributing/getting-involved.md b/docs/contributing/getting-involved.md index 1ebb2a31..3d2ecc5c 100644 --- a/docs/contributing/getting-involved.md +++ b/docs/contributing/getting-involved.md @@ -6,15 +6,28 @@ Please submit your contributions or issue reports from our GitHub space at