message: docs(theme): improve config docs
diff: @@ -67,21 +67,58 @@ Global default author.
  ```ts
  interface TextItem {
  + /**
  + * Text of item
  + */
  text: string;
  +
  + /**
  + * Icon of item
  + */
  icon?: string;
  +
  + /**
  + * Aria label of item
  + */
  ariaLabel?: string;
  }
  interface AutoLink extends TextItem {
  + /**
  + * link of item
  + */
  link: string;
  +
  + /**
  + * Rel of `<a>` tag
  + */
  rel?: string;
  +
  + /**
  + * Target of `<a>` tag
  + */
  target?: string;
  +
  + /**
  + * Regexp mode to be active
  + */
  activeMatch?: string;
  }
  interface HopeThemeNavGroup<T> extends TextItem {
  + /**
  + * Link prefix of current group
  + */
  prefix?: string;
  +
  + /**
  + * Link of current group
  + */
  link?: string;
  +
  + /**
  + * Children of current group
  + */
  children: T[];
  }
  @@ -106,24 +143,67 @@ Navbar config
  ```ts
  interface TextItem {
  + /**
  + * Text of item
  + */
  text: string;
  +
  + /**
  + * Icon of item
  + */
  icon?: string;
  +
  + /**
  + * Aria label of item
  + */
  ariaLabel?: string;
  }
  interface AutoLink extends TextItem {
  + /**
  + * link of item
  + */
  link: string;
  +
  + /**
  + * Rel of `<a>` tag
  + */
  rel?: string;
  +
  + /**
  + * Target of `<a>` tag
  + */
  target?: string;
  +
  + /**
  + * Regexp mode to be active
  + */
  activeMatch?: string;
  }
  type HopeThemeSidebarPageItem = AutoLink;
  interface HopeThemeSidebarGroupItem extends TextItem {
  + /**
  + * Link prefix of current group
  + */
  prefix?: string;
  +
  + /**
  + * Link of current group
  + */
  link?: string;
  +
  + /**
  + * Whether current group is collapsible
  + *
  + * @default false
  + */
  collapsible?: boolean;
  +
  + /**
  + * Children of current group
  + */
  children: (
  | HopeThemeSidebarPageItem
  | HopeThemeSidebarGroupItem
  @@ -133,9 +213,23 @@ Navbar config
  }
  interface HopeThemeSidebarStructureItem extends TextItem {
  - prefix: string;
  + /**
  + * Link prefix of current group
  + */
  + prefix?: string;
  +
  + /**
  + * Link of current group
  + */
  link?: string;
  +
  + /**
  + * Whether current group is collapsible
  + *
  + * @default false
  + */
  collapsible?: boolean;
  +
  children: "structure";
  }
  @@ -164,5 +258,7 @@ Sidebar config
  ## locales
  - Type: `Record<string, HopeThemeLocaleOptions>`
  +- Details:
  + - [Theme I18n Config](./i18n.md)
  I18n config of the theme, where you can set options for each language separately.
  