umberto 8.3.1 → 8.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
## [8.3.3](https://github.com/cksource/umberto/compare/v8.3.2...v8.3.3) (October 15, 2025)
|
|
5
|
+
|
|
6
|
+
### Bug fixes
|
|
7
|
+
|
|
8
|
+
* Link validator should not fail on links containing the word "latest", if they are not part of a version number.
|
|
9
|
+
* Fixed links being unstyled in Kapa.ai answers.
|
|
10
|
+
* Fix broken page sidebar layout on `959px` resolution.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [8.3.2](https://github.com/cksource/umberto/compare/v8.3.1...v8.3.2) (September 16, 2025)
|
|
14
|
+
|
|
15
|
+
### Other changes
|
|
16
|
+
|
|
17
|
+
* Update to TypeScript 5.3.
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
## [8.3.1](https://github.com/cksource/umberto/compare/v8.3.0...v8.3.1) (September 4, 2025)
|
|
5
21
|
|
|
6
22
|
### Bug fixes
|
|
@@ -28,24 +44,6 @@ Changelog
|
|
|
28
44
|
|
|
29
45
|
Umberto configuration can now specify the `kapa` key that allows loading the Kapa button and widget.
|
|
30
46
|
|
|
31
|
-
|
|
32
|
-
## [8.1.0](https://github.com/cksource/umberto/compare/v8.0.3...v8.1.0) (August 12, 2025)
|
|
33
|
-
|
|
34
|
-
### Features
|
|
35
|
-
|
|
36
|
-
* Added support for relative paths in `packagesDir` option.
|
|
37
|
-
|
|
38
|
-
### Bug fixes
|
|
39
|
-
|
|
40
|
-
* Updated how `<iframe>` elements are created to fix issues with automated tests using Chrome v139.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## [8.0.3](https://github.com/cksource/umberto/compare/v8.0.2...v8.0.3) (August 5, 2025)
|
|
44
|
-
|
|
45
|
-
### Bug fixes
|
|
46
|
-
|
|
47
|
-
* The backticks in the XML components parser were not escaped correctly, causing issues with parsing XML content. This fix ensures that backticks are properly escaped, allowing the parser to handle XML content containing backticks without errors.
|
|
48
|
-
|
|
49
47
|
---
|
|
50
48
|
|
|
51
49
|
To see all releases, visit the [release page](https://github.com/cksource/umberto/releases).
|
package/README.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# Umberto
|
|
2
2
|
|
|
3
3
|
## Installation
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
> [!NOTE]
|
|
6
|
+
> This project requires **pnpm v10** or higher. You can check your version with `pnpm --version` and update if needed with `npm install -g pnpm@latest`.
|
|
7
|
+
|
|
8
|
+
`pnpm install -D umberto`
|
|
5
9
|
|
|
6
10
|
## Building documentation of a single project
|
|
11
|
+
|
|
7
12
|
Note: The only documentation type supported at the moment is JSDoc.
|
|
8
13
|
|
|
9
14
|
**Step 1:** Create the `umberto.json` configuration file in the project's root directory or in the `docs` directory. This file will tell Umberto how to build documentation for this project.
|
|
@@ -230,10 +235,10 @@ For the example above, project-logo.svg should be located in common files direct
|
|
|
230
235
|
|
|
231
236
|
```
|
|
232
237
|
cd umberto
|
|
233
|
-
|
|
238
|
+
pnpm link --global # Creates a global link.
|
|
234
239
|
|
|
235
240
|
cd ../bigbang-docs.ckeditor.com
|
|
236
|
-
|
|
241
|
+
pnpm link umberto # link-install the package
|
|
237
242
|
```
|
|
238
243
|
|
|
239
244
|
## Shortcuts
|
|
@@ -870,7 +875,7 @@ Before you start, you need to prepare the changelog entries.
|
|
|
870
875
|
|
|
871
876
|
1. Make sure the `#master` branch is up-to-date: `git fetch && git checkout master && git pull`.
|
|
872
877
|
1. Prepare a release branch: `git checkout -b release-[YYYYMMDD]` where `YYYYMMDD` is the current day.
|
|
873
|
-
1. Generate the changelog entries: `
|
|
878
|
+
1. Generate the changelog entries: `pnpm run release:prepare-changelog`.
|
|
874
879
|
* You can specify the release date by passing the `--date` option, e.g., `--date=2025-06-11`.
|
|
875
880
|
* By passing the `--dry-run` option, you can check what the script will do without actually modifying the files.
|
|
876
881
|
* Read all the entries, correct poor wording and other issues, wrap code names in backticks to format them, etc.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umberto",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
4
4
|
"description": "CKSource Documentation builder",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
"webpack": "^5.94.0"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
|
-
"node": ">=22.0.0"
|
|
56
|
+
"node": ">=22.0.0",
|
|
57
|
+
"pnpm": ">=10.14.0",
|
|
58
|
+
"yarn": "\n\n┌─────────────────────────┐\n│ Hey, we use pnpm now! │\n└─────────────────────────┘\n\n"
|
|
57
59
|
},
|
|
58
60
|
"author": "CKSource (http://cksource.com/)",
|
|
59
61
|
"license": "MIT",
|
|
@@ -102,12 +102,12 @@ function validateChunk( { chunk, links, options } ) {
|
|
|
102
102
|
continue;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
if ( resolvedPath.includes( 'latest' ) ) {
|
|
105
|
+
if ( resolvedPath.includes( '/latest/' ) ) {
|
|
106
106
|
const projectInfo = options.projectsInfo ?
|
|
107
107
|
options.projectsInfo.find( i => resolvedPath.includes( `/${ i.slug }/` ) ) :
|
|
108
108
|
null;
|
|
109
109
|
const projectVersion = projectInfo ? projectInfo.version : 'latest';
|
|
110
|
-
resolvedPath = resolvedPath.replace( 'latest', projectVersion );
|
|
110
|
+
resolvedPath = resolvedPath.replace( '/latest/', `/${ projectVersion }/` );
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
if ( options.projectsInfo ) {
|
|
@@ -11,11 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
/* Style for hyperlinks inside the AI's answer. */
|
|
13
13
|
#kapa-modal-content
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
> div:nth-of-type(1)
|
|
17
|
-
> div:nth-of-type(2)
|
|
18
|
-
> h5 + div
|
|
14
|
+
.scrollable-container
|
|
15
|
+
.mantine-Title-root + div
|
|
19
16
|
a
|
|
20
17
|
{
|
|
21
18
|
font-weight: normal !important;
|