@brillout/docpress 0.3.3 → 0.3.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.
@@ -108,13 +108,10 @@ function findParentHeadings(heading, headings) {
108
108
  return parentHeadings;
109
109
  }
110
110
  function assertHeadingsUrl(headings) {
111
- const urls = {};
112
111
  headings.forEach((heading) => {
113
112
  if (heading.url) {
114
113
  const { url } = heading;
115
114
  assert(url.startsWith("/"));
116
- assert(!urls[url], { url });
117
- urls[url] = true;
118
115
  }
119
116
  });
120
117
  }
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  isRepoLink,
5
5
  parseTitle,
6
6
  usePageContext
7
- } from "./chunk-YNTER77S.js";
7
+ } from "./chunk-PH6CNUIS.js";
8
8
  import {
9
9
  FeatureList
10
10
  } from "./chunk-NVJING6T.js";
@@ -97,6 +97,11 @@ body {
97
97
  font-style: oblique 0deg 12deg;
98
98
  src: url(../Inter-Var-IOAEQULN.ttf) format("truetype-variations");
99
99
  }
100
+ em,
101
+ i {
102
+ font-variation-settings: "slnt" -10;
103
+ font-style: normal;
104
+ }
100
105
 
101
106
  /* src/css/code/inline.css */
102
107
  code {
@@ -4,7 +4,7 @@ import {
4
4
  getHeadings,
5
5
  parseTitle,
6
6
  usePageContext
7
- } from "../chunk-YNTER77S.js";
7
+ } from "../chunk-PH6CNUIS.js";
8
8
  import {
9
9
  Emoji,
10
10
  jsxToTextContent,
@@ -315,7 +315,7 @@ function DetachedPageNote() {
315
315
  style: {
316
316
  opacity: 0.8
317
317
  }
318
- }, " ", "\u2014 this page isn't listed in the navigation menu below."));
318
+ }, " ", "\u2014 this page isn't listed in the navigation below."));
319
319
  }
320
320
 
321
321
  // src/MobileHeader.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "exports": {
5
5
  "./renderer/_default.page.server.js": "./dist/renderer/_default.page.server.js",
6
6
  "./renderer/_default.page.client.js": "./dist/renderer/_default.page.client.js",