@brillout/docpress 0.4.4 → 0.4.5

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -54,7 +54,8 @@ function getTitle({
54
54
  href,
55
55
  noBreadcrumb,
56
56
  pageContext,
57
- doNotInferSectionTitle
57
+ doNotInferSectionTitle,
58
+ titleNormalCase
58
59
  }) {
59
60
  let urlHash = null;
60
61
  let hrefWithoutHash = href;
@@ -96,7 +97,9 @@ function getTitle({
96
97
  !doNotInferSectionTitle,
97
98
  `Page section title not found for <Link href="\`${href}\`" doNotInferSectionTitle={true} />.`
98
99
  );
99
- sectionTitle = determineSectionTitle(href, pageContext.config.titleNormalCase);
100
+ if (titleNormalCase === void 0)
101
+ titleNormalCase = pageContext.config.titleNormalCase;
102
+ sectionTitle = determineSectionTitle(href, titleNormalCase);
100
103
  }
101
104
  breadcrumbs.push(sectionTitle);
102
105
  }
@@ -267,6 +270,9 @@ var inlang_default = "/assets/inlang-GFRWND6X.png";
267
270
 
268
271
  // src/components/Sponsors/sponsorsList.ts
269
272
  var individuals = [
273
+ {
274
+ username: "alexturpin"
275
+ },
270
276
  {
271
277
  username: "gu-stav"
272
278
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "scripts": {
5
5
  "// Check types while developing": "",
6
6
  "types": "tsc --noEmit --watch",