@rspress/shared 0.0.0-nightly-20231023160422 → 0.0.0-nightly-20231024115511

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.d.ts +6 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -220,7 +220,7 @@ interface SocialLink {
220
220
  mode: 'link' | 'text' | 'img';
221
221
  content: string;
222
222
  }
223
- type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'twitter' | 'youtube' | 'weixin' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | {
223
+ type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'twitter' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | {
224
224
  svg: string;
225
225
  };
226
226
  interface Footer {
@@ -452,6 +452,10 @@ interface UserConfig<ThemeConfig = Config$1> {
452
452
  * Search options
453
453
  */
454
454
  search?: SearchOptions;
455
+ /**
456
+ * Whether to enable ssg, default is true
457
+ */
458
+ ssg?: boolean;
455
459
  /**
456
460
  * Whether to enable medium-zoom, default is true
457
461
  */
@@ -497,6 +501,7 @@ interface SiteData<ThemeConfig = NormalizedConfig> {
497
501
  };
498
502
  pages: BaseRuntimePageInfo[];
499
503
  search: SearchOptions;
504
+ ssg: boolean;
500
505
  markdown: {
501
506
  showLineNumbers: boolean;
502
507
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "0.0.0-nightly-20231023160422",
3
+ "version": "0.0.0-nightly-20231024115511",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",