Skip to content

Commit 7aedb1d

Browse files
build(deps): bump DavidAnson/markdownlint-cli2-action from 19 to 20 (#1273)
* build(deps): bump DavidAnson/markdownlint-cli2-action from 19 to 20 Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 19 to 20. - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](DavidAnson/markdownlint-cli2-action@v19...v20) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-version: '20' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix new lints in markdownlint@v20 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Leon Matthes <[email protected]>
1 parent f78f09e commit 7aedb1d

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

.github/workflows/github-cxx-qt-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
runs-on: ubuntu-24.04
6060
steps:
6161
- uses: actions/checkout@v4
62-
- uses: DavidAnson/markdownlint-cli2-action@v19
62+
- uses: DavidAnson/markdownlint-cli2-action@v20
6363
with:
6464
globs: '**/*.md'
6565

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The following CMake source files are available under the BSD-3-Clause
155155

156156
* [cmake/CompilerCaching.cmake](./cmake/CompilerCaching.cmake) - a helper for using sccache
157157

158-
# About KDAB
158+
## About KDAB
159159

160160
CXX-Qt is supported and maintained by Klarälvdalens Datakonsult AB (KDAB).
161161

book/src/concepts/casting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SPDX-License-Identifier: MIT OR Apache-2.0
1010
With the [base](../bridge/attributes.md) attribute, it is possible to inherit from another type.
1111
In order to access this parent class, we provide an API to cast up or down.
1212
Currently, this is supported for objects in both `extern "RustQt"` *and* `extern "C++Qt"` blocks, which have either a `#[qobject]` attribute,
13-
or a `#[base = T]` attribute. see [here](../bridge/attributes.md) for more details on these attributes.
13+
or a `#[base = T]` attribute. See the [attributes documentation](../bridge/attributes.md) for more details on these attributes.
1414
> Note: Types in "C++Qt" blocks are **required** to have the `#[qobject]` attribute
1515
1616
## Accessing the base class

book/src/concepts/wasm-builds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CXX-Qt and applications written with it can be compiled for WebAssembly, with a
1111

1212
You will need to have Qt for WebAssembly installed. The next section shows versions that have been tested.
1313

14-
Additionally, if you haven't already, clone the `emsdk` git repo from [here](https://github.com/emscripten-core/emsdk).
14+
Additionally, if you haven't already, clone the [`emsdk` git repo from Github](https://github.com/emscripten-core/emsdk).
1515

1616
## Using Correct Versions
1717

@@ -200,4 +200,4 @@ error[E0433]: failed to resolve: use of undeclared type `IovLen`
200200

201201
`socket2` is a dependency of `async-io`, which is a dependency of `async-std`.
202202

203-
There is discussion around supporting wasm in the GitHub repository for `async-std`, and the progress is being tracked [here](https://github.com/async-rs/async-std/issues/220).
203+
There is discussion around supporting wasm in the GitHub repository for `async-std`, and the progress is being tracked [in this issue](https://github.com/async-rs/async-std/issues/220).

book/src/internals/build-system.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ We want to make the generated headers available, not just to CMake, but also wit
2525

2626
For this we need to export them to a stable directory so that both CMake and Cargo can find them.
2727

28-
# (Optional) Integration with CMake
28+
### (Optional) Integration with CMake
2929

3030
Somehow, all of this should be compatible with both CMake, and Cargo-only builds.
3131

32-
# The plan (for now)
32+
## The plan (for now)
3333

3434
After many rounds of refactoring this, we believe that we need to be able to share data between build scripts for this to work halfway ergonomically.
3535

36-
We want to use a similar approach to CXX, which uses Cargos `links` key to ensure a correct build order (see the documentation [here](https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key)).
36+
We want to use a similar approach to CXX, which uses Cargos `links` key to ensure a correct build order (see the [links key documentation](https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key)).
3737
When building with cxx-qt-build, you may simply specify that your code depends on another crate.
3838
Cargo will then make sure that the build scripts of the dependencies have run **before** the build script of this crate.
3939

4040
We can additionally pass metadata between build scripts, which we use to find the `manifest.json` of each crate and the path to their "target" directory.
4141

42-
## The "target" directory
42+
### The "target" directory
4343

4444
Each build script can export artifacts into a folder with a well-known layout.
4545
It is also required to export a `manifest.json` file that tells downstream dependencies which of these artifacts to include and how to configure their own build.
@@ -68,7 +68,7 @@ Next to the crates directory, there should be a `qml_modules` directory, which c
6868

6969
Each module should include a `plugin_init.o`, `.qmltypes`, `qmldir`, and any other necessary files.
7070

71-
## Initializers with Cargo and CMake
71+
### Initializers with Cargo and CMake
7272

7373
There are multiple ways to solve the issues presented by static initializers:
7474

@@ -99,7 +99,7 @@ In CMake we mirror Qts behavior, which is to build the static initializer as an
9999
The initializer functions themselves are still built into the Rust static library and the `OBJECT` library must therefore link to it.
100100
This is taken care of by the `cxx_qt_import_crate`/`_import_qml_module` functions.
101101

102-
## Integration with CMake
102+
### Integration with CMake
103103

104104
Via the `CXXQT_EXPORT_DIR` environment variable CMake should be able to change the location of the "target" directory.
105105
CMake can then expect required artifacts to exist at pre-defined locations, which can be added as dependency, include directories, objects, etc. to the Crate target.

book/src/internals/crate-organization.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This page lays out the goal of each crate and how it is differentiated from the
2020
- [🦾 `qt-build-utils` - Building with Qt](#qt-build-utils)
2121
- [🤝 `cxx-qt-cmake` - Handoff to CMake](#cxx-qt-cmake)
2222

23-
# <a name="cxx-qt"></a>⭐ `cxx-qt` - The Star of the Show
23+
## <a name="cxx-qt"></a>⭐ `cxx-qt` - The Star of the Show
2424

2525
The main crate of CXX-Qt.
2626

@@ -39,7 +39,7 @@ Apart from a few extremely basic types that are needed for this goal, wrapping t
3939

4040
This should also allow `cxx-qt-lib` and `cxx-qt-lib-extras` to be used without the user needing to use the `cxx-qt` crate itself, which is why they're explicitly seperated.
4141

42-
# <a name="cxx-qt-build"></a> 👷 `cxx-qt-build` - The Construction Worker
42+
## <a name="cxx-qt-build"></a> 👷 `cxx-qt-build` - The Construction Worker
4343

4444
`cxx-qt-build` provides the user-accessible API for building applications with CXX-Qt.
4545

@@ -51,7 +51,7 @@ For CMake, it exposes the required artifacts into a well-known directory and str
5151

5252
The access to Qts build tooling has actually been made available as a separate crate: `qt-build-utils`, which `cxx-qt-build` uses internally
5353

54-
# <a name="cxx-qt-gen"></a> 💚 `cxx-qt-gen` - The Heart of CXX-Qt
54+
## <a name="cxx-qt-gen"></a> 💚 `cxx-qt-gen` - The Heart of CXX-Qt
5555

5656
This crate contains the "main functionality" of CXX-Qt.
5757

@@ -68,7 +68,7 @@ This transpiler is then used by the `#[cxx_qt::bridge]` macro via `cxx-qt-macro`
6868
6969
> TODO: Add a documentation of the cxx-qt-gen stages and architecture in a separate page
7070
71-
# <a name="cxx-qt-lib"></a> 📖 `cxx-qt-lib` - The "standard" Library
71+
## <a name="cxx-qt-lib"></a> 📖 `cxx-qt-lib` - The "standard" Library
7272

7373
`cxx-qt-lib` is to `cxx-qt`, what Rusts `std` library is to `rustc`.
7474

@@ -92,7 +92,7 @@ Additional types can be added into a separate, less maintained, crate (namely: `
9292

9393
This leads us to the concrete policy for including types in `cxx-qt-lib`:
9494

95-
## `cxx-qt-lib` inclusion policy
95+
### `cxx-qt-lib` inclusion policy
9696

9797
- Default to adding anything you think may be useful to `cxx-qt-lib-extras`
9898
- Only add types to `cxx-qt-lib` directly, if they're either:
@@ -101,7 +101,7 @@ This leads us to the concrete policy for including types in `cxx-qt-lib`:
101101

102102
We can then always promote types from -lib-extras to -lib, if/when it turns out this type is used regularly.
103103

104-
# <a name="cxx-qt-lib-extras"></a> 📚 `cxx-qt-lib-extras` - The Bookshelf
104+
## <a name="cxx-qt-lib-extras"></a> 📚 `cxx-qt-lib-extras` - The Bookshelf
105105

106106
As mentioned in the `cxx-qt-lib` library, we do not aim to maintain wrappers for the entire Qt API.
107107
However, it would still be useful to have a place where the community can share and collect bindings for whatever they have wrapped of the Qt API.
@@ -137,19 +137,19 @@ Simply copying individual files out of the crate into your own crate is also a r
137137

138138
We only ask that you contribute your own wrappers and fixes back to -lib-extras so the wider ecosystem can benefit.
139139

140-
# <a name="cxx-qt-macro"></a> 💻 `cxx-qt-macro` - Frontend for cxx-qt-gen
140+
## <a name="cxx-qt-macro"></a> 💻 `cxx-qt-macro` - Frontend for cxx-qt-gen
141141

142142
For technical reasons within Cargo, procedural macros need to be a special type of crate.
143143

144144
`cxx-qt-macro` wraps the bridge macro, which is then re-exported by the `cxx-qt` crate.
145145

146-
# <a name="qt-build-utils"></a> 🦾 `qt-build-utils` - Building with Qt
146+
## <a name="qt-build-utils"></a> 🦾 `qt-build-utils` - Building with Qt
147147

148148
This crate wraps Qts custom build tooling like moc.
149149

150150
It is mostly used by `cxx-qt-build`. But because it may be useful to other crates in the Qt ecosystem as well, we have decided to split it into its own crate.
151151

152-
# <a name="cxx-qt-cmake"></a> 🤝 [`cxx-qt-cmake`](https://github.com/kdab/cxx-qt-cmake) - Handoff to CMake
152+
## <a name="cxx-qt-cmake"></a> 🤝 [`cxx-qt-cmake`](https://github.com/kdab/cxx-qt-cmake) - Handoff to CMake
153153

154154
Whilst this is not a crate, it's a separate "project", as it lives in another repository.
155155
`cxx-qt-cmake` simply contains the bits of CMake code that encapsulate the integration of `cxx-qt-build` artifacts into CMake.

0 commit comments

Comments
 (0)