@lexibase/rdx-types 1.1.1 → 2.0.0

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.
package/dist/config.d.ts CHANGED
@@ -127,7 +127,7 @@ export type RdxHomepage = {
127
127
  */
128
128
  export type RdxMetadata = {
129
129
  /**
130
- * Absolute HTTP(S) deployment URL used to resolve relative metadata URLs.
130
+ * Absolute HTTP(S) deployment URL used for sitemap entries and relative metadata URLs.
131
131
  * Set this to the real public site URL when deploying; no domain is assumed.
132
132
  * @example 'https://docs.example.com'
133
133
  */
@@ -187,13 +187,6 @@ export type RdxMetadata = {
187
187
  * @example '/site.webmanifest'
188
188
  */
189
189
  manifest?: string
190
- /** Optional crawler directives; these do not protect content from access. */
191
- robots?: {
192
- /** Whether search engines are instructed to index the page. */
193
- index?: boolean
194
- /** Whether search engines are instructed to follow links on the page. */
195
- follow?: boolean
196
- }
197
190
  /** Optional Open Graph link previews. No fixed URL is applied to every page. */
198
191
  openGraph?: {
199
192
  /** Site preview title; defaults to applicationName. Docs pages use their page title. */
package/dist/plugins.d.ts CHANGED
@@ -7,6 +7,8 @@ export type RdxContentSource = {
7
7
  docsDir: string
8
8
  routePrefix: string
9
9
  badge?: string
10
+ /** Canonical route prefix to redirect this historical source to. */
11
+ redirectTo?: string
10
12
  }
11
13
 
12
14
  export type RdxPluginContext = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lexibase/rdx-types",
3
- "version": "1.1.1",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "description": "Shared TypeScript types for RDX documentation projects.",
6
6
  "types": "./dist/index.d.ts",