umberto 2.1.2 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umberto",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "CKSource Documentation builder",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -439,7 +439,8 @@ module.exports = class ApiBuilder {
439
439
  groups: this._groups,
440
440
  slug: this._projectSlug,
441
441
  customRanking: this._projectConfig.docsearch ? this._projectConfig.docsearch.customRanking : []
442
- } )
442
+ } ),
443
+ projectVersion: this._projectConfig.version
443
444
  };
444
445
  const view = new HtmlFile(
445
446
  this._tmplCol.renderTemplate(
@@ -69,6 +69,7 @@ module.exports = ( ctx, {
69
69
  repoUrl: config.repoUrl,
70
70
  og: config.og,
71
71
  projectSlug: config.slug,
72
+ projectVersion: config.version,
72
73
  navigationShowEmptyCategories
73
74
  };
74
75
  }
@@ -2,6 +2,7 @@
2
2
  - const shortPageUrl = page.path.split( '/' ).slice( 2 ).join( '/' )
3
3
  - const githubUrl = new URL( page.reportIssueWidget );
4
4
  - githubUrl.searchParams.set( 'title', 'Docs issue report from "' + shortPageUrl + '"' );
5
+ - githubUrl.searchParams.set( 'project-version', projectLocals.projectVersion );
5
6
 
6
7
  div.info-box.notice.notice__feedback
7
8
  p