@docusaurus/theme-classic 0.0.0-4789 → 0.0.0-4791

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.
@@ -5,6 +5,13 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
+ /* eslint-disable @typescript-eslint/triple-slash-reference */
9
+
10
+ /// <reference types="@docusaurus/module-type-aliases" />
11
+ /// <reference types="@docusaurus/plugin-content-docs" />
12
+ /// <reference types="@docusaurus/plugin-content-blog" />
13
+ /// <reference types="@docusaurus/plugin-content-pages" />
14
+
8
15
  declare module '@docusaurus/theme-classic' {
9
16
  export type Options = {
10
17
  customCss?: string | string[];
@@ -51,7 +51,7 @@ function DocItemContent(props) {
51
51
  toc_max_heading_level: tocMaxHeadingLevel,
52
52
  } = frontMatter;
53
53
  const {title} = metadata; // We only add a title if:
54
- // - user asks to hide it with front matter
54
+ // - user doesn't ask to hide it with front matter
55
55
  // - the markdown content does not already contain a top-level h1 heading
56
56
 
57
57
  const shouldAddTitle =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-classic",
3
- "version": "0.0.0-4789",
3
+ "version": "0.0.0-4791",
4
4
  "description": "Classic theme for Docusaurus",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-classic.d.ts",
@@ -21,15 +21,15 @@
21
21
  "format:lib-next": "prettier --config ../../.prettierrc --write \"lib-next/**/*.{js,ts,jsx,tsc}\""
22
22
  },
23
23
  "dependencies": {
24
- "@docusaurus/core": "0.0.0-4789",
25
- "@docusaurus/plugin-content-blog": "0.0.0-4789",
26
- "@docusaurus/plugin-content-docs": "0.0.0-4789",
27
- "@docusaurus/plugin-content-pages": "0.0.0-4789",
28
- "@docusaurus/theme-common": "0.0.0-4789",
29
- "@docusaurus/theme-translations": "0.0.0-4789",
30
- "@docusaurus/utils": "0.0.0-4789",
31
- "@docusaurus/utils-common": "0.0.0-4789",
32
- "@docusaurus/utils-validation": "0.0.0-4789",
24
+ "@docusaurus/core": "0.0.0-4791",
25
+ "@docusaurus/plugin-content-blog": "0.0.0-4791",
26
+ "@docusaurus/plugin-content-docs": "0.0.0-4791",
27
+ "@docusaurus/plugin-content-pages": "0.0.0-4791",
28
+ "@docusaurus/theme-common": "0.0.0-4791",
29
+ "@docusaurus/theme-translations": "0.0.0-4791",
30
+ "@docusaurus/utils": "0.0.0-4791",
31
+ "@docusaurus/utils-common": "0.0.0-4791",
32
+ "@docusaurus/utils-validation": "0.0.0-4791",
33
33
  "@mdx-js/react": "^1.6.22",
34
34
  "clsx": "^1.1.1",
35
35
  "copy-text-to-clipboard": "^3.0.1",
@@ -42,8 +42,8 @@
42
42
  "rtlcss": "^3.5.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@docusaurus/module-type-aliases": "0.0.0-4789",
46
- "@docusaurus/types": "0.0.0-4789",
45
+ "@docusaurus/module-type-aliases": "0.0.0-4791",
46
+ "@docusaurus/types": "0.0.0-4791",
47
47
  "@types/mdx-js__react": "^1.5.5",
48
48
  "@types/prismjs": "^1.26.0",
49
49
  "@types/rtlcss": "^3.1.2",
@@ -59,5 +59,5 @@
59
59
  "engines": {
60
60
  "node": ">=14"
61
61
  },
62
- "gitHead": "86d45a1daff5a4e5c79c3354ed7b389ed4cde659"
62
+ "gitHead": "9da6c653971be375ee68fd6eae6a4e09551c3a5f"
63
63
  }
@@ -47,7 +47,7 @@ function DocItemContent(props: Props): JSX.Element {
47
47
  const {title} = metadata;
48
48
 
49
49
  // We only add a title if:
50
- // - user asks to hide it with front matter
50
+ // - user doesn't ask to hide it with front matter
51
51
  // - the markdown content does not already contain a top-level h1 heading
52
52
  const shouldAddTitle =
53
53
  !hideTitle && typeof DocContent.contentTitle === 'undefined';
@@ -5,6 +5,13 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
+ /* eslint-disable @typescript-eslint/triple-slash-reference */
9
+
10
+ /// <reference types="@docusaurus/module-type-aliases" />
11
+ /// <reference types="@docusaurus/plugin-content-docs" />
12
+ /// <reference types="@docusaurus/plugin-content-blog" />
13
+ /// <reference types="@docusaurus/plugin-content-pages" />
14
+
8
15
  declare module '@docusaurus/theme-classic' {
9
16
  export type Options = {
10
17
  customCss?: string | string[];
package/lib/types.d.ts DELETED
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- /// <reference types="@docusaurus/module-type-aliases" />
9
- /// <reference types="@docusaurus/plugin-content-blog" />
10
- /// <reference types="@docusaurus/plugin-content-docs" />
11
- /// <reference types="@docusaurus/plugin-content-pages" />
package/src/types.d.ts DELETED
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- /// <reference types="@docusaurus/module-type-aliases" />
9
- /// <reference types="@docusaurus/plugin-content-blog" />
10
- /// <reference types="@docusaurus/plugin-content-docs" />
11
- /// <reference types="@docusaurus/plugin-content-pages" />