umberto 8.3.2 → 8.3.4
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.4](https://github.com/cksource/umberto/compare/v8.3.3...v8.3.4) (October 20, 2025)
|
|
5
|
+
|
|
6
|
+
### Other changes
|
|
7
|
+
|
|
8
|
+
* Bump dependencies (including `hexo` to version `8.0.0`).
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## [8.3.3](https://github.com/cksource/umberto/compare/v8.3.2...v8.3.3) (October 15, 2025)
|
|
12
|
+
|
|
13
|
+
### Bug fixes
|
|
14
|
+
|
|
15
|
+
* Link validator should not fail on links containing the word "latest", if they are not part of a version number.
|
|
16
|
+
* Fixed links being unstyled in Kapa.ai answers.
|
|
17
|
+
* Fix broken page sidebar layout on `959px` resolution.
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
## [8.3.2](https://github.com/cksource/umberto/compare/v8.3.1...v8.3.2) (September 16, 2025)
|
|
5
21
|
|
|
6
22
|
### Other changes
|
|
@@ -26,26 +42,6 @@ Changelog
|
|
|
26
42
|
* Added custom styling for the [Kapa.ai](https://www.kapa.ai/) service.
|
|
27
43
|
* The source script of the [Kapa.ai](https://www.kapa.ai/) service must be defined in the `kapa.widgetOptions.src` key in the Umberto configuration.
|
|
28
44
|
|
|
29
|
-
|
|
30
|
-
## [8.2.0](https://github.com/cksource/umberto/compare/v8.1.0...v8.2.0) (August 29, 2025)
|
|
31
|
-
|
|
32
|
-
### Features
|
|
33
|
-
|
|
34
|
-
* Added integration with the [Kapa.ai](https://www.kapa.ai/) service.
|
|
35
|
-
|
|
36
|
-
Umberto configuration can now specify the `kapa` key that allows loading the Kapa button and widget.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## [8.1.0](https://github.com/cksource/umberto/compare/v8.0.3...v8.1.0) (August 12, 2025)
|
|
40
|
-
|
|
41
|
-
### Features
|
|
42
|
-
|
|
43
|
-
* Added support for relative paths in `packagesDir` option.
|
|
44
|
-
|
|
45
|
-
### Bug fixes
|
|
46
|
-
|
|
47
|
-
* Updated how `<iframe>` elements are created to fix issues with automated tests using Chrome v139.
|
|
48
|
-
|
|
49
45
|
---
|
|
50
46
|
|
|
51
47
|
To see all releases, visit the [release page](https://github.com/cksource/umberto/releases).
|
package/LICENSE.md
CHANGED
|
@@ -23,7 +23,7 @@ The following libraries are included in Umberto under the [MIT license](https://
|
|
|
23
23
|
* hexo-generator-category - Copyright (c) 2014 Tommy Chen
|
|
24
24
|
* hexo-generator-index - Copyright (c) 2014 Tommy Chen
|
|
25
25
|
* hexo-generator-tag - Copyright (c) 2014 Tommy Chen
|
|
26
|
-
* hexo-
|
|
26
|
+
* hexo-renderer-pug - Copyright (c) 2012 Tommy Chen
|
|
27
27
|
* hexo-renderer-markdown-it-plus - Copyright (c) 2017 CHENXCHEN
|
|
28
28
|
* htmlparser2 - Copyright 2010, 2011, Chris Winberry <chris@winberry.net>
|
|
29
29
|
* javascript-stringify - Copyright (c) 2013 Blake Embrey (hello@blakeembrey.com)
|
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.4",
|
|
4
4
|
"description": "CKSource Documentation builder",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"fs-extra": "^11.0.0",
|
|
24
24
|
"fuse.js": "^7.1.0",
|
|
25
25
|
"glob": "^11.0.2",
|
|
26
|
-
"hexo": "^
|
|
26
|
+
"hexo": "^8.0.0",
|
|
27
27
|
"hexo-generator-archive": "^2.0.0",
|
|
28
28
|
"hexo-generator-category": "^2.0.0",
|
|
29
29
|
"hexo-generator-index": "^4.0.0",
|
|
30
30
|
"hexo-generator-tag": "^2.0.0",
|
|
31
|
-
"hexo-
|
|
31
|
+
"hexo-renderer-pug": "^3.0.0",
|
|
32
32
|
"hexo-renderer-markdown-it-plus": "^1.0.5",
|
|
33
33
|
"htmlparser2": "^10.0.0",
|
|
34
34
|
"javascript-stringify": "^2.1.0",
|
|
@@ -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;
|