@umijs/plugin-docs 4.0.0-canary.20220425.1 → 4.0.0-canary.20220425.2

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.
@@ -44,7 +44,10 @@ export default (props: any) => {
44
44
  location: props.location,
45
45
  }}
46
46
  >
47
- <div className="flex flex-col dark:bg-gray-900 min-h-screen transition-all">
47
+ <div
48
+ className="flex flex-col dark:bg-gray-900 min-h-screen transition-all"
49
+ id={isHomePage ? 'home-page' : 'doc-page'}
50
+ >
48
51
  <div
49
52
  id="head-container"
50
53
  className="z-30 sticky top-0 dark:before:bg-gray-800 before:bg-white before:bg-opacity-[.85]
@@ -14,7 +14,10 @@ export default () => {
14
14
  <img src={Logo} className="w-8 h-8" alt="logo" />
15
15
  )}
16
16
  {typeof Logo === 'function' && <Logo />}
17
- <div className="text-xl font-extrabold ml-2 dark:text-white">
17
+ <div
18
+ id="header-title"
19
+ className="text-xl font-extrabold ml-2 dark:text-white"
20
+ >
18
21
  {themeConfig.title}
19
22
  </div>
20
23
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/plugin-docs",
3
- "version": "4.0.0-canary.20220425.1",
3
+ "version": "4.0.0-canary.20220425.2",
4
4
  "description": "@umijs/plugin-docs",
5
5
  "homepage": "https://github.com/umijs/umi-next/tree/master/packages/plugin-docs#readme",
6
6
  "bugs": "https://github.com/umijs/umi-next/issues",
@@ -39,7 +39,7 @@
39
39
  "rehype-slug": "5.0.1",
40
40
  "remark-gfm": "^3.0.1",
41
41
  "tailwindcss": "^3.0.23",
42
- "umi": "4.0.0-canary.20220425.1"
42
+ "umi": "4.0.0-canary.20220425.2"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"