@rspress/shared 0.0.0-nightly-20241213160228 → 0.0.0-nightly-20241215160226

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.
@@ -440,6 +440,7 @@ type SSGConfig = boolean | {
440
440
  interface UserConfig<ThemeConfig = Config$1> {
441
441
  /**
442
442
  * The root directory of the site.
443
+ * @default 'docs'
443
444
  */
444
445
  root?: string;
445
446
  /**
@@ -451,10 +452,12 @@ interface UserConfig<ThemeConfig = Config$1> {
451
452
  };
452
453
  /**
453
454
  * The text of the logo in nav bar.
455
+ * @default ''
454
456
  */
455
457
  logoText?: string;
456
458
  /**
457
459
  * Base path of the site.
460
+ * @default '/'
458
461
  */
459
462
  base?: string;
460
463
  /**
@@ -462,15 +465,17 @@ interface UserConfig<ThemeConfig = Config$1> {
462
465
  */
463
466
  icon?: string;
464
467
  /**
465
- * Language of the site.
468
+ * Default language of the site.
466
469
  */
467
470
  lang?: string;
468
471
  /**
469
472
  * Title of the site.
473
+ * @default 'Rspress'
470
474
  */
471
475
  title?: string;
472
476
  /**
473
477
  * Description of the site.
478
+ * @default ''
474
479
  */
475
480
  description?: string;
476
481
  /**
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AdditionalPage, B as BaseRuntimePageInfo, r as Config, C as DefaultThemeConfig, O as DocFooter, K as EditLink, F as Feature, t as FilterConfig, V as Footer, i as FrontMatterMeta, H as Header, f as Hero, I as Image, m as LocalSearchOptions, L as Locale, s as LocaleConfig, X as LocaleLink, W as LocaleLinks, q as MarkdownOptions, M as MdxRsOptions, u as Nav, v as NavItem, x as NavItemWithChildren, w as NavItemWithLink, y as NavItemWithLinkAndChildren, N as NormalizedConfig, N as NormalizedDefaultThemeConfig, _ as NormalizedLocales, Z as NormalizedSidebar, Y as NormalizedSidebarGroup, j as PageData, P as PageIndexInfo, g as PageModule, h as PageType, R as Plugin, e as RemotePageInfo, n as RemoteSearchIndexInfo, o as RemoteSearchOptions, c as ReplaceRule, a as Route, b as RouteMeta, k as RouteOptions, R as RspressPlugin, S as SSGConfig, l as SearchHooks, p as SearchOptions, z as Sidebar, G as SidebarDivider, D as SidebarGroup, E as SidebarItem, J as SidebarSectionHeader, d as SiteData, Q as SocialLink, T as SocialLinkIcon, U as UserConfig } from './index-37dfa72c.js';
1
+ export { A as AdditionalPage, B as BaseRuntimePageInfo, r as Config, C as DefaultThemeConfig, O as DocFooter, K as EditLink, F as Feature, t as FilterConfig, V as Footer, i as FrontMatterMeta, H as Header, f as Hero, I as Image, m as LocalSearchOptions, L as Locale, s as LocaleConfig, X as LocaleLink, W as LocaleLinks, q as MarkdownOptions, M as MdxRsOptions, u as Nav, v as NavItem, x as NavItemWithChildren, w as NavItemWithLink, y as NavItemWithLinkAndChildren, N as NormalizedConfig, N as NormalizedDefaultThemeConfig, _ as NormalizedLocales, Z as NormalizedSidebar, Y as NormalizedSidebarGroup, j as PageData, P as PageIndexInfo, g as PageModule, h as PageType, R as Plugin, e as RemotePageInfo, n as RemoteSearchIndexInfo, o as RemoteSearchOptions, c as ReplaceRule, a as Route, b as RouteMeta, k as RouteOptions, R as RspressPlugin, S as SSGConfig, l as SearchHooks, p as SearchOptions, z as Sidebar, G as SidebarDivider, D as SidebarGroup, E as SidebarItem, J as SidebarSectionHeader, d as SiteData, Q as SocialLink, T as SocialLinkIcon, U as UserConfig } from './index-270a5d98.js';
2
2
  import '@rsbuild/core';
3
3
  import 'unified';
4
4
 
@@ -1,4 +1,4 @@
1
- import { U as UserConfig } from './index-37dfa72c.js';
1
+ import { U as UserConfig } from './index-270a5d98.js';
2
2
  import '@rsbuild/core';
3
3
  import 'unified';
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "0.0.0-nightly-20241213160228",
3
+ "version": "0.0.0-nightly-20241215160226",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",