@wtf/project-docs 5.1.1 → 5.2.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.
Files changed (335) hide show
  1. package/api/.generated +4 -0
  2. package/api/@wtf/project-astro/README.md +3 -1
  3. package/api/@wtf/project-astro/config/functions/baseConfig.md +1 -1
  4. package/api/@wtf/project-astro/config/functions/baseOf.md +1 -1
  5. package/api/@wtf/project-astro/config/functions/siteOf.md +1 -1
  6. package/api/@wtf/project-astro/config/type-aliases/BaseOptions.md +6 -6
  7. package/api/@wtf/project-astro/config/type-aliases/Env.md +1 -1
  8. package/api/@wtf/project-astro/errors/classes/BrokenLinksError.md +5 -5
  9. package/api/@wtf/project-astro/errors/classes/InvalidRedirectError.md +6 -6
  10. package/api/@wtf/project-astro/errors/classes/RedirectedLinksError.md +5 -5
  11. package/api/@wtf/project-astro/errors/classes/SiteError.md +4 -4
  12. package/api/@wtf/project-astro/index/README.md +4 -2
  13. package/api/@wtf/project-astro/index/type-aliases/AstroPlatform.md +1 -1
  14. package/api/@wtf/project-astro/index/type-aliases/BrokenLink.md +3 -3
  15. package/api/@wtf/project-astro/index/type-aliases/IgnoredLine.md +4 -4
  16. package/api/@wtf/project-astro/index/type-aliases/RedirectInput.md +2 -2
  17. package/api/@wtf/project-astro/index/type-aliases/RedirectMatch.md +3 -3
  18. package/api/@wtf/project-astro/index/type-aliases/RedirectRule.md +5 -5
  19. package/api/@wtf/project-astro/index/type-aliases/RedirectStatus.md +1 -1
  20. package/api/@wtf/project-astro/index/type-aliases/RedirectedLink.md +2 -2
  21. package/api/@wtf/project-astro/index/type-aliases/Redirects.md +3 -3
  22. package/api/@wtf/project-astro/index/type-aliases/RouteParams.md +36 -0
  23. package/api/@wtf/project-astro/links/functions/brokenLinksIn.md +1 -1
  24. package/api/@wtf/project-astro/links/functions/links.md +1 -1
  25. package/api/@wtf/project-astro/links/functions/redirectedLinksIn.md +1 -1
  26. package/api/@wtf/project-astro/links/type-aliases/LinksOptions.md +2 -2
  27. package/api/@wtf/project-astro/links/variables/LINKS.md +1 -1
  28. package/api/@wtf/project-astro/pages/functions/fixSearchUrlsIn.md +1 -1
  29. package/api/@wtf/project-astro/pages/functions/moveConflictingPages.md +1 -1
  30. package/api/@wtf/project-astro/pages/functions/pages.md +1 -1
  31. package/api/@wtf/project-astro/pages/functions/prefixedLocaleOf.md +1 -1
  32. package/api/@wtf/project-astro/pages/functions/redirectBaseToLocaleIn.md +1 -1
  33. package/api/@wtf/project-astro/pages/functions/slashFolderLinksIn.md +1 -1
  34. package/api/@wtf/project-astro/pages/type-aliases/I18n.md +1 -1
  35. package/api/@wtf/project-astro/pages/type-aliases/PagesOptions.md +2 -2
  36. package/api/@wtf/project-astro/pages/variables/PAGES.md +1 -1
  37. package/api/@wtf/project-astro/preview/functions/files.md +1 -1
  38. package/api/@wtf/project-astro/preview/functions/listen.md +1 -1
  39. package/api/@wtf/project-astro/preview/functions/notFound.md +1 -1
  40. package/api/@wtf/project-astro/preview/functions/pagesOf.md +1 -1
  41. package/api/@wtf/project-astro/preview/functions/previewOf.md +1 -1
  42. package/api/@wtf/project-astro/preview/type-aliases/FilesOptions.md +2 -2
  43. package/api/@wtf/project-astro/preview/type-aliases/Handler.md +1 -1
  44. package/api/@wtf/project-astro/preview/type-aliases/ListenOptions.md +4 -4
  45. package/api/@wtf/project-astro/preview/type-aliases/Listening.md +5 -5
  46. package/api/@wtf/project-astro/preview/type-aliases/Pages.md +3 -3
  47. package/api/@wtf/project-astro/preview/type-aliases/Preview.md +4 -4
  48. package/api/@wtf/project-astro/preview/type-aliases/PreviewOptions.md +3 -3
  49. package/api/@wtf/project-astro/redirects/functions/formatRedirects.md +1 -1
  50. package/api/@wtf/project-astro/redirects/functions/matchRedirect.md +1 -1
  51. package/api/@wtf/project-astro/redirects/functions/parseRedirects.md +1 -1
  52. package/api/@wtf/project-astro/redirects/variables/MAX_PARTS.md +1 -1
  53. package/api/@wtf/project-astro/redirects/variables/MAX_RULES.md +1 -1
  54. package/api/@wtf/project-astro/redirects/variables/MAX_SIZE.md +1 -1
  55. package/api/@wtf/project-astro/routes/README.md +32 -0
  56. package/api/@wtf/project-astro/routes/functions/routeParams.md +26 -0
  57. package/api/@wtf/project-astro/routes/type-aliases/RouteParamsOptions.md +23 -0
  58. package/api/@wtf/project-astro/schema/functions/astroSchemaWith.md +1 -1
  59. package/api/@wtf/project-astro/schema/type-aliases/AstroSection.md +1 -1
  60. package/api/@wtf/project-astro/schema/type-aliases/JsonSchema.md +12 -12
  61. package/api/@wtf/project-astro/schema/type-aliases/OptionsSchema.md +1 -1
  62. package/api/@wtf/project-astro/schema/variables/astroProperties.md +1 -1
  63. package/api/@wtf/project-astro/schema/variables/astroSchema.md +1 -1
  64. package/api/@wtf/project-config/define/functions/defineConfig.md +1 -1
  65. package/api/@wtf/project-config/env/functions/envNameOf.md +1 -1
  66. package/api/@wtf/project-config/env/functions/envPrefixOf.md +1 -1
  67. package/api/@wtf/project-config/env/functions/jsonSchemaOf.md +1 -1
  68. package/api/@wtf/project-config/env/functions/variablesOf.md +1 -1
  69. package/api/@wtf/project-config/env/functions/withEnvironment.md +1 -1
  70. package/api/@wtf/project-config/env/type-aliases/Environment.md +1 -1
  71. package/api/@wtf/project-config/env/type-aliases/EnvironmentValue.md +3 -3
  72. package/api/@wtf/project-config/env/type-aliases/WithEnvironment.md +3 -3
  73. package/api/@wtf/project-config/errors/classes/ConfigError.md +4 -4
  74. package/api/@wtf/project-config/errors/classes/ConfigFileMismatchError.md +6 -6
  75. package/api/@wtf/project-config/errors/classes/ConfigInCodeError.md +5 -5
  76. package/api/@wtf/project-config/errors/classes/ConfigPathError.md +5 -5
  77. package/api/@wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md +6 -6
  78. package/api/@wtf/project-config/errors/classes/InvalidConfigFileError.md +5 -5
  79. package/api/@wtf/project-config/errors/classes/InvalidSectionError.md +7 -7
  80. package/api/@wtf/project-config/errors/classes/NamedError.md +12 -12
  81. package/api/@wtf/project-config/errors/classes/NoConfigFileError.md +5 -5
  82. package/api/@wtf/project-config/errors/classes/NoConfigValueError.md +6 -6
  83. package/api/@wtf/project-config/errors/classes/SyncSchemaError.md +5 -5
  84. package/api/@wtf/project-config/errors/classes/UnwritableConfigFileError.md +5 -5
  85. package/api/@wtf/project-config/errors/type-aliases/NamedErrorCode.md +1 -1
  86. package/api/@wtf/project-config/errors/type-aliases/NamedErrorDetails.md +9 -9
  87. package/api/@wtf/project-config/index/type-aliases/ConfigDefaults.md +3 -3
  88. package/api/@wtf/project-config/index/type-aliases/ConfigEnvironment.md +4 -4
  89. package/api/@wtf/project-config/index/type-aliases/ConfigIssue.md +3 -3
  90. package/api/@wtf/project-config/index/type-aliases/ConfigNames.md +4 -4
  91. package/api/@wtf/project-config/index/type-aliases/ConfigPath.md +1 -1
  92. package/api/@wtf/project-config/index/type-aliases/ConfigPlatform.md +1 -1
  93. package/api/@wtf/project-config/index/type-aliases/ConfigSection.md +1 -1
  94. package/api/@wtf/project-config/index/type-aliases/ConfigSource.md +3 -3
  95. package/api/@wtf/project-config/index/type-aliases/ConfigWrite.md +10 -10
  96. package/api/@wtf/project-config/index/type-aliases/ImportModule.md +1 -1
  97. package/api/@wtf/project-config/index/type-aliases/JsonSchema.md +1 -1
  98. package/api/@wtf/project-config/index/type-aliases/LocatedConfig.md +4 -4
  99. package/api/@wtf/project-config/index/type-aliases/NamespaceConfig.md +2 -2
  100. package/api/@wtf/project-config/index/type-aliases/ResolvedConfig.md +9 -9
  101. package/api/@wtf/project-config/index/type-aliases/SectionSchema.md +1 -1
  102. package/api/@wtf/project-config/index/type-aliases/SectionsOf.md +1 -1
  103. package/api/@wtf/project-config/index/type-aliases/ValidateSection.md +1 -1
  104. package/api/@wtf/project-config/load/functions/ignoredWarning.md +1 -1
  105. package/api/@wtf/project-config/load/functions/importFileModule.md +1 -1
  106. package/api/@wtf/project-config/load/functions/loadConfig.md +1 -1
  107. package/api/@wtf/project-config/load/type-aliases/LoadLayers.md +3 -3
  108. package/api/@wtf/project-config/load/type-aliases/LoadOptions.md +3 -3
  109. package/api/@wtf/project-config/load/type-aliases/LoadPlatform.md +1 -1
  110. package/api/@wtf/project-config/locate/functions/configFilesOf.md +1 -1
  111. package/api/@wtf/project-config/locate/functions/configNamesOf.md +1 -1
  112. package/api/@wtf/project-config/locate/functions/jsonFilesOf.md +1 -1
  113. package/api/@wtf/project-config/locate/functions/locateConfig.md +1 -1
  114. package/api/@wtf/project-config/locate/functions/projectRootOf.md +1 -1
  115. package/api/@wtf/project-config/locate/type-aliases/LocateNames.md +2 -2
  116. package/api/@wtf/project-config/locate/type-aliases/LocateOptions.md +2 -2
  117. package/api/@wtf/project-config/locate/type-aliases/NamespaceNames.md +2 -2
  118. package/api/@wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md +1 -1
  119. package/api/@wtf/project-config/named/functions/factoryOf.md +1 -1
  120. package/api/@wtf/project-config/named/functions/namedSchema.md +1 -1
  121. package/api/@wtf/project-config/named/functions/namedSetSchema.md +1 -1
  122. package/api/@wtf/project-config/named/functions/resolveNamed.md +1 -1
  123. package/api/@wtf/project-config/named/functions/resolveNamedSet.md +1 -1
  124. package/api/@wtf/project-config/named/type-aliases/LoadModule.md +1 -1
  125. package/api/@wtf/project-config/named/type-aliases/ModuleReference.md +3 -3
  126. package/api/@wtf/project-config/named/type-aliases/NamedCheckOptions.md +5 -5
  127. package/api/@wtf/project-config/named/type-aliases/NamedEntries.md +1 -1
  128. package/api/@wtf/project-config/named/type-aliases/NamedFactory.md +1 -1
  129. package/api/@wtf/project-config/named/type-aliases/NamedOptions.md +1 -1
  130. package/api/@wtf/project-config/named/type-aliases/NamedReference.md +1 -1
  131. package/api/@wtf/project-config/named/type-aliases/NamedResolveOptions.md +3 -3
  132. package/api/@wtf/project-config/named/type-aliases/NamedSchema.md +1 -1
  133. package/api/@wtf/project-config/named/type-aliases/NamedSchemaOptions.md +4 -4
  134. package/api/@wtf/project-config/named/type-aliases/NamedSet.md +1 -1
  135. package/api/@wtf/project-config/named/type-aliases/NamedSetOptions.md +2 -2
  136. package/api/@wtf/project-config/named/type-aliases/NamedSetSchemaOptions.md +3 -3
  137. package/api/@wtf/project-config/named/type-aliases/NamedSets.md +1 -1
  138. package/api/@wtf/project-config/named/type-aliases/NamedUse.md +1 -1
  139. package/api/@wtf/project-config/path/functions/configPathOf.md +1 -1
  140. package/api/@wtf/project-config/path/functions/textOfConfigPath.md +1 -1
  141. package/api/@wtf/project-config/path/functions/valueAt.md +1 -1
  142. package/api/@wtf/project-config/placeholder/functions/expandPlaceholders.md +1 -1
  143. package/api/@wtf/project-config/placeholder/functions/expandString.md +1 -1
  144. package/api/@wtf/project-config/schema/functions/namespaceSchema.md +1 -1
  145. package/api/@wtf/project-config/schema/functions/sectionIdOf.md +1 -1
  146. package/api/@wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md +3 -3
  147. package/api/@wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md +1 -1
  148. package/api/@wtf/project-config/section/functions/issuesOf.md +1 -1
  149. package/api/@wtf/project-config/section/functions/issuesOfSync.md +1 -1
  150. package/api/@wtf/project-config/section/functions/mergeSection.md +1 -1
  151. package/api/@wtf/project-config/section/functions/sectionOf.md +1 -1
  152. package/api/@wtf/project-config/section/type-aliases/Checked.md +3 -3
  153. package/api/@wtf/project-config/write/functions/setConfigValue.md +1 -1
  154. package/api/@wtf/project-config/write/functions/unsetConfigValue.md +1 -1
  155. package/api/@wtf/project-config/write/type-aliases/WriteOptions.md +2 -2
  156. package/api/@wtf/project-oxfmt/config/functions/oxfmtConfig.md +1 -1
  157. package/api/@wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md +1 -1
  158. package/api/@wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md +6 -6
  159. package/api/@wtf/project-oxfmt/config/variables/default.md +1 -1
  160. package/api/@wtf/project-oxfmt/schema/variables/oxfmtSchema.md +1 -1
  161. package/api/@wtf/project-oxlint/config/functions/oxlintConfig.md +1 -1
  162. package/api/@wtf/project-oxlint/config/type-aliases/OxlintOptions.md +1 -1
  163. package/api/@wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md +17 -17
  164. package/api/@wtf/project-oxlint/config/variables/default.md +1 -1
  165. package/api/@wtf/project-oxlint/schema/variables/oxlintSchema.md +1 -1
  166. package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
  167. package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
  168. package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
  169. package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
  170. package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
  171. package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
  172. package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
  173. package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
  174. package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
  175. package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
  176. package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
  177. package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
  178. package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
  179. package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
  180. package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
  181. package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
  182. package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
  183. package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
  184. package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
  185. package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
  186. package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
  187. package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
  188. package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
  189. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
  190. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
  191. package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
  192. package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
  193. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
  194. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
  195. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
  196. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
  197. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
  198. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
  199. package/api/@wtf/project-storybook/config/functions/escapeAttribute.md +1 -1
  200. package/api/@wtf/project-storybook/config/functions/folderOf.md +1 -1
  201. package/api/@wtf/project-storybook/config/functions/metaTags.md +1 -1
  202. package/api/@wtf/project-storybook/config/functions/refsOf.md +1 -1
  203. package/api/@wtf/project-storybook/config/functions/storybookConfig.md +1 -1
  204. package/api/@wtf/project-storybook/config/type-aliases/ComposedRef.md +3 -3
  205. package/api/@wtf/project-storybook/config/type-aliases/StorybookConfig.md +8 -8
  206. package/api/@wtf/project-storybook/config/type-aliases/StorybookOptions.md +13 -13
  207. package/api/@wtf/project-storybook/config/type-aliases/StorybookRef.md +4 -4
  208. package/api/@wtf/project-storybook/config/type-aliases/VersionLabel.md +4 -4
  209. package/api/@wtf/project-storybook/manager/functions/registerVersion.md +1 -1
  210. package/api/@wtf/project-storybook/manager/type-aliases/VersionOptions.md +2 -2
  211. package/api/@wtf/project-storybook/schema/type-aliases/StorybookSection.md +1 -1
  212. package/api/@wtf/project-storybook/schema/variables/storybookSchema.md +1 -1
  213. package/api/@wtf/project-storybook/versions/functions/labelOf.md +1 -1
  214. package/api/@wtf/project-storybook/versions/functions/versionsOf.md +1 -1
  215. package/api/@wtf/project-storybook/versions/type-aliases/Label.md +5 -5
  216. package/api/@wtf/project-storybook/versions/type-aliases/ListedVersion.md +4 -4
  217. package/api/@wtf/project-storybook/versions/variables/META.md +5 -5
  218. package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
  219. package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
  220. package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
  221. package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +7 -7
  222. package/api/@wtf/project-typedoc/config/type-aliases/TypedocPlatform.md +2 -2
  223. package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
  224. package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
  225. package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
  226. package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +4 -4
  227. package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
  228. package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +4 -4
  229. package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
  230. package/api/@wtf/project-typedoc/schema/type-aliases/TypedocSection.md +2 -2
  231. package/api/@wtf/project-typedoc/schema/variables/typedocSchema.md +1 -1
  232. package/api/@wtf/project-vite/config/functions/baseConfig.md +4 -4
  233. package/api/@wtf/project-vite/config/functions/buildsSite.md +1 -1
  234. package/api/@wtf/project-vite/config/functions/compress.md +1 -1
  235. package/api/@wtf/project-vite/config/functions/conditionsOf.md +1 -1
  236. package/api/@wtf/project-vite/config/functions/fromDist.md +1 -1
  237. package/api/@wtf/project-vite/config/type-aliases/BaseOptions.md +3 -3
  238. package/api/@wtf/project-vite/config/type-aliases/CompressOptions.md +4 -4
  239. package/api/@wtf/project-vite/config/variables/CLIENT_CONDITIONS.md +1 -1
  240. package/api/@wtf/project-vite/config/variables/COMPRESSIBLE.md +1 -1
  241. package/api/@wtf/project-vite/config/variables/THRESHOLD.md +1 -1
  242. package/api/@wtf/project-vite/schema/type-aliases/ViteSection.md +1 -1
  243. package/api/@wtf/project-vite/schema/variables/viteSchema.md +1 -1
  244. package/api/@wtf/project-vitest/browser/functions/browserConfig.md +1 -1
  245. package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +1 -1
  246. package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +4 -4
  247. package/api/@wtf/project-vitest/config/functions/fromDist.md +1 -1
  248. package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
  249. package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
  250. package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
  251. package/api/@wtf/project-vitest/config/type-aliases/PackageOptions.md +2 -2
  252. package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
  253. package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +8 -8
  254. package/api/@wtf/project-vitest/config/type-aliases/VitestPlatform.md +4 -4
  255. package/api/@wtf/project-vitest/config/type-aliases/VitestRootPlatform.md +1 -1
  256. package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
  257. package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
  258. package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
  259. package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
  260. package/api/@wtf/project-vitest/schema/type-aliases/VitestSection.md +1 -1
  261. package/api/@wtf/project-vitest/schema/variables/vitestSchema.md +1 -1
  262. package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +1 -1
  263. package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +2 -2
  264. package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
  265. package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
  266. package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
  267. package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
  268. package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
  269. package/api/@wtf/project-wpt/checkout/functions/execOf.md +1 -1
  270. package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
  271. package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
  272. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
  273. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
  274. package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
  275. package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
  276. package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
  277. package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
  278. package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
  279. package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
  280. package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
  281. package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
  282. package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
  283. package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
  284. package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
  285. package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
  286. package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
  287. package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
  288. package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
  289. package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
  290. package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
  291. package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
  292. package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
  293. package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
  294. package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
  295. package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
  296. package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
  297. package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
  298. package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
  299. package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
  300. package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
  301. package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
  302. package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
  303. package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
  304. package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
  305. package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
  306. package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
  307. package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
  308. package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
  309. package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +2 -2
  310. package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
  311. package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
  312. package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
  313. package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
  314. package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
  315. package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
  316. package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
  317. package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
  318. package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
  319. package/api/@wtf/project-wpt/node/type-aliases/NodeSystemPlatform.md +1 -1
  320. package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
  321. package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
  322. package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
  323. package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
  324. package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
  325. package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
  326. package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
  327. package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
  328. package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
  329. package/api/@wtf/project-wpt/schema/type-aliases/WptConfig.md +2 -2
  330. package/api/@wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md +2 -2
  331. package/api/@wtf/project-wpt/schema/variables/wptSchema.md +1 -1
  332. package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
  333. package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
  334. package/guides/astro.md +20 -0
  335. package/package.json +2 -2
package/api/.generated CHANGED
@@ -21,6 +21,7 @@
21
21
  @wtf/project-astro/index/type-aliases/RedirectStatus.md
22
22
  @wtf/project-astro/index/type-aliases/RedirectedLink.md
23
23
  @wtf/project-astro/index/type-aliases/Redirects.md
24
+ @wtf/project-astro/index/type-aliases/RouteParams.md
24
25
  @wtf/project-astro/links/README.md
25
26
  @wtf/project-astro/links/functions/brokenLinksIn.md
26
27
  @wtf/project-astro/links/functions/links.md
@@ -57,6 +58,9 @@
57
58
  @wtf/project-astro/redirects/variables/MAX_PARTS.md
58
59
  @wtf/project-astro/redirects/variables/MAX_RULES.md
59
60
  @wtf/project-astro/redirects/variables/MAX_SIZE.md
61
+ @wtf/project-astro/routes/README.md
62
+ @wtf/project-astro/routes/functions/routeParams.md
63
+ @wtf/project-astro/routes/type-aliases/RouteParamsOptions.md
60
64
  @wtf/project-astro/schema/README.md
61
65
  @wtf/project-astro/schema/functions/astroSchemaWith.md
62
66
  @wtf/project-astro/schema/type-aliases/AstroSection.md
@@ -10,12 +10,13 @@ to no page, or only through a redirect. `./preview` serves the build the way Git
10
10
 
11
11
  | Subpath | What you get |
12
12
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
13
- | `.` | The types: `AstroPlatform`, `RedirectRule`, `RedirectInput`, `IgnoredLine`, `Redirects`, `RedirectMatch`, `BrokenLink`, `RedirectedLink` |
13
+ | `.` | The types: `AstroPlatform`, `RedirectRule`, `RedirectInput`, `IgnoredLine`, `Redirects`, `RedirectMatch`, `BrokenLink`, `RedirectedLink`, `RouteParams` |
14
14
  | `./config` | `baseConfig({ platform, ...options })`: the base of an `astro.config.mjs`; `siteOf(env)` and `baseOf(env)`, of the URL of GitLab Pages |
15
15
  | `./pages` | `pages({ platform, ...options })`: the integration that makes the build serve on GitLab Pages; its passes, `moveConflictingPages`, `slashFolderLinksIn`, `fixSearchUrlsIn`, `redirectBaseToLocaleIn`; `prefixedLocaleOf(i18n)` |
16
16
  | `./links` | `links({ platform })`: the integration that fails the build on a link of no page, or of a redirect; `brokenLinksIn`, `redirectedLinksIn` |
17
17
  | `./redirects` | `parseRedirects(text)`, `formatRedirects(rules)` and `matchRedirect(rules, path)`: a `_redirects` file read, written, matched |
18
18
  | `./preview` | `previewOf(folder, { platform, base })`: a built folder to serve as GitLab Pages does, and its warnings; `listen`, on Node's server until its signal; `pagesOf`, `files`, `notFound` |
19
+ | `./routes` | `routeParams(slug, { dev })`: the params of a page on a route `[...path]/[name]`, a page named `index` built as a folder of its own |
19
20
  | `./schema` | `astroSchema`: the Standard Schema of the options of `baseConfig()`, which gives their JSON Schema; `astroProperties` and `astroSchemaWith`, to add options of your own to the section |
20
21
  | `./errors` | `SiteError`, `BrokenLinksError`, `RedirectedLinksError` and `InvalidRedirectError`, each with a stable `code` |
21
22
 
@@ -161,4 +162,5 @@ See [Astro sites](../../../guides/astro.md) in the guides.
161
162
  - [pages](pages/README.md)
162
163
  - [preview](preview/README.md)
163
164
  - [redirects](redirects/README.md)
165
+ - [routes](routes/README.md)
164
166
  - [schema](schema/README.md)
@@ -6,7 +6,7 @@
6
6
  function baseConfig(options): AstroUserConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/config.ts:103](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/config.ts#L103)
9
+ Defined in: [packages/project-astro/src/config.ts:103](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/config.ts#L103)
10
10
 
11
11
  The base config a site's `astro.config.mjs` starts from, by
12
12
  `mergeConfig(baseConfig(), yours)` of `astro/config`, which appends the site's integrations to
@@ -6,7 +6,7 @@
6
6
  function baseOf(env): string | undefined;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/env.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/env.ts#L37)
9
+ Defined in: [packages/project-astro/src/env.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/env.ts#L37)
10
10
 
11
11
  The base of the site, of `ASTRO_BASE` or else `CI_PAGES_URL` of `env`: the path of the URL,
12
12
  with a slash at each end, such as `/project/` of `https://group.gitlab.io/project`. None, of
@@ -6,7 +6,7 @@
6
6
  function siteOf(env): string | undefined;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/env.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/env.ts#L27)
9
+ Defined in: [packages/project-astro/src/env.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/env.ts#L27)
10
10
 
11
11
  The site's URL, of `ASTRO_BASE` or else `CI_PAGES_URL` of `env`: its origin, with a final
12
12
  slash, as Astro's `site` takes it, such as `https://group.gitlab.io/`. None, of neither.
@@ -6,7 +6,7 @@
6
6
  type BaseOptions = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/config.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/config.ts#L48)
9
+ Defined in: [packages/project-astro/src/config.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/config.ts#L48)
10
10
 
11
11
  What [baseConfig](../functions/baseConfig.md) takes.
12
12
 
@@ -18,7 +18,7 @@ What [baseConfig](../functions/baseConfig.md) takes.
18
18
  readonly optional links?: boolean;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/config.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/config.ts#L71)
21
+ Defined in: [packages/project-astro/src/config.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/config.ts#L71)
22
22
 
23
23
  Whether the build fails on a link of no page, or of a redirect, by `links()` of `./links`: by
24
24
  default.
@@ -31,7 +31,7 @@ default.
31
31
  readonly optional markdown?: UnifiedProcessorOptions;
32
32
  ```
33
33
 
34
- Defined in: [packages/project-astro/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/config.ts#L58)
34
+ Defined in: [packages/project-astro/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/config.ts#L58)
35
35
 
36
36
  The options of the markdown processor, `unified()` of `@astrojs/markdown-remark`: its remark
37
37
  and rehype plugins, among the rest. None by default.
@@ -44,7 +44,7 @@ and rehype plugins, among the rest. None by default.
44
44
  readonly optional pages?: boolean | PagesOptions;
45
45
  ```
46
46
 
47
- Defined in: [packages/project-astro/src/config.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/config.ts#L68)
47
+ Defined in: [packages/project-astro/src/config.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/config.ts#L68)
48
48
 
49
49
  Whether the build is made to serve on GitLab Pages, by `pages()` of `./pages`: by default. Its
50
50
  options, as `{ localeRedirect: false }`, run it of them.
@@ -57,7 +57,7 @@ options, as `{ localeRedirect: false }`, run it of them.
57
57
  readonly platform: AstroPlatform;
58
58
  ```
59
59
 
60
- Defined in: [packages/project-astro/src/config.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/config.ts#L53)
60
+ Defined in: [packages/project-astro/src/config.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/config.ts#L53)
61
61
 
62
62
  The platform the site is built on: its environment, which the site and its base are read of,
63
63
  and its file system, which `pages()` and `links()` read the build by.
@@ -70,7 +70,7 @@ and its file system, which `pages()` and `links()` read the build by.
70
70
  readonly optional vite?: Omit<BaseOptions, "platform">;
71
71
  ```
72
72
 
73
- Defined in: [packages/project-astro/src/config.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/config.ts#L63)
73
+ Defined in: [packages/project-astro/src/config.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/config.ts#L63)
74
74
 
75
75
  The options of `baseConfig()` of `@wtf/project-vite/config`, as `{ compress: false }`: each
76
76
  but its platform, which is this one's.
@@ -6,6 +6,6 @@
6
6
  type Env = Platform["env"];
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/env.ts:12](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/env.ts#L12)
9
+ Defined in: [packages/project-astro/src/env.ts:12](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/env.ts#L12)
10
10
 
11
11
  An environment, as a platform's `env` is.
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: BrokenLinksError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L29)
5
+ Defined in: [packages/project-astro/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L29)
6
6
 
7
7
  Each internal link of a build that leads to no page, as GitLab Pages serves the build.
8
8
 
@@ -18,7 +18,7 @@ Each internal link of a build that leads to no page, as GitLab Pages serves the
18
18
  new BrokenLinksError(links): BrokenLinksError;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/errors.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L33)
21
+ Defined in: [packages/project-astro/src/errors.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L33)
22
22
 
23
23
  #### Parameters
24
24
 
@@ -39,9 +39,9 @@ Defined in: [packages/project-astro/src/errors.ts:33](https://gitlab.com/wetryfu
39
39
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
40
40
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
41
41
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`SiteError`](SiteError.md).[`cause`](SiteError.md#property-cause) | - |
42
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L17) |
43
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L19) |
44
- | <a id="property-links"></a> `links` | `readonly` | readonly [`BrokenLink`](../../index/type-aliases/BrokenLink.md)[] | `undefined` | The links, each with its page. | - | [packages/project-astro/src/errors.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L31) |
42
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L17) |
43
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L19) |
44
+ | <a id="property-links"></a> `links` | `readonly` | readonly [`BrokenLink`](../../index/type-aliases/BrokenLink.md)[] | `undefined` | The links, each with its page. | - | [packages/project-astro/src/errors.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L31) |
45
45
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`message`](SiteError.md#property-message) | - |
46
46
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`name`](SiteError.md#property-name) | - |
47
47
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`stack`](SiteError.md#property-stack) | - |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: InvalidRedirectError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L64)
5
+ Defined in: [packages/project-astro/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L64)
6
6
 
7
7
  A rule of `_redirects` that GitLab Pages would ignore, and why, as it is written.
8
8
 
@@ -18,7 +18,7 @@ A rule of `_redirects` that GitLab Pages would ignore, and why, as it is written
18
18
  new InvalidRedirectError(rule, reason): InvalidRedirectError;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/errors.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L70)
21
+ Defined in: [packages/project-astro/src/errors.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L70)
22
22
 
23
23
  #### Parameters
24
24
 
@@ -40,12 +40,12 @@ Defined in: [packages/project-astro/src/errors.ts:70](https://gitlab.com/wetryfu
40
40
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
41
41
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
42
42
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`SiteError`](SiteError.md).[`cause`](SiteError.md#property-cause) | - |
43
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L17) |
44
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L19) |
43
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L17) |
44
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L19) |
45
45
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`message`](SiteError.md#property-message) | - |
46
46
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`name`](SiteError.md#property-name) | - |
47
- | <a id="property-reason"></a> `reason` | `readonly` | `string` | `undefined` | Why GitLab Pages would ignore it. | - | [packages/project-astro/src/errors.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L68) |
48
- | <a id="property-rule"></a> `rule` | `readonly` | `string` | `undefined` | The rule, as a line of the file, or what is too much of the file. | - | [packages/project-astro/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L66) |
47
+ | <a id="property-reason"></a> `reason` | `readonly` | `string` | `undefined` | Why GitLab Pages would ignore it. | - | [packages/project-astro/src/errors.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L68) |
48
+ | <a id="property-rule"></a> `rule` | `readonly` | `string` | `undefined` | The rule, as a line of the file, or what is too much of the file. | - | [packages/project-astro/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L66) |
49
49
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`stack`](SiteError.md#property-stack) | - |
50
50
  | <a id="property-stacktracelimit"></a> `stackTraceLimit` | `static` | `number` | `undefined` | The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or `Error.captureStackTrace(obj)`). The default value is `10` but may be set to any valid JavaScript number. Changes will affect any stack trace captured _after_ the value has been changed. If set to a non-number value, or set to a negative number, stack traces will not capture any frames. | [`SiteError`](SiteError.md).[`stackTraceLimit`](SiteError.md#property-stacktracelimit) | - |
51
51
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: RedirectedLinksError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L48)
5
+ Defined in: [packages/project-astro/src/errors.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L48)
6
6
 
7
7
  Each internal link of a build that leads to its page only through a redirect, which costs each
8
8
  reader a round trip: link to where it leads instead.
@@ -19,7 +19,7 @@ reader a round trip: link to where it leads instead.
19
19
  new RedirectedLinksError(links): RedirectedLinksError;
20
20
  ```
21
21
 
22
- Defined in: [packages/project-astro/src/errors.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L52)
22
+ Defined in: [packages/project-astro/src/errors.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L52)
23
23
 
24
24
  #### Parameters
25
25
 
@@ -40,9 +40,9 @@ Defined in: [packages/project-astro/src/errors.ts:52](https://gitlab.com/wetryfu
40
40
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
41
41
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
42
42
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`SiteError`](SiteError.md).[`cause`](SiteError.md#property-cause) | - |
43
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L17) |
44
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L19) |
45
- | <a id="property-links"></a> `links` | `readonly` | readonly [`RedirectedLink`](../../index/type-aliases/RedirectedLink.md)[] | `undefined` | The links, each with its page and where it leads. | - | [packages/project-astro/src/errors.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L50) |
43
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L17) |
44
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L19) |
45
+ | <a id="property-links"></a> `links` | `readonly` | readonly [`RedirectedLink`](../../index/type-aliases/RedirectedLink.md)[] | `undefined` | The links, each with its page and where it leads. | - | [packages/project-astro/src/errors.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L50) |
46
46
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`message`](SiteError.md#property-message) | - |
47
47
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`name`](SiteError.md#property-name) | - |
48
48
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`stack`](SiteError.md#property-stack) | - |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: SiteError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L16)
5
+ Defined in: [packages/project-astro/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L16)
6
6
 
7
7
  What this package throws: an Error with a stable SCREAMING_SNAKE `code` to match on in place of
8
8
  its message, and the `exitCode` a command that fails by it exits with, 1.
@@ -29,7 +29,7 @@ new SiteError(
29
29
  ): SiteError;
30
30
  ```
31
31
 
32
- Defined in: [packages/project-astro/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L21)
32
+ Defined in: [packages/project-astro/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L21)
33
33
 
34
34
  #### Parameters
35
35
 
@@ -54,8 +54,8 @@ Error.constructor
54
54
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
55
55
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
56
56
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | `Error.cause` | - |
57
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L17) |
58
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/errors.ts#L19) |
57
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L17) |
58
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/errors.ts#L19) |
59
59
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | `Error.message` | - |
60
60
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | `Error.name` | - |
61
61
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | `Error.stack` | - |
@@ -5,8 +5,9 @@
5
5
  The types of `@wtf/project-astro`: the platform a config, an integration and a preview read by
6
6
  ([AstroPlatform](type-aliases/AstroPlatform.md)); the rules of a `_redirects` file ([RedirectRule](type-aliases/RedirectRule.md),
7
7
  [IgnoredLine](type-aliases/IgnoredLine.md), [Redirects](type-aliases/Redirects.md), [RedirectMatch](type-aliases/RedirectMatch.md)), and the links of a built site
8
- that lead to no page, or only through a redirect ([BrokenLink](type-aliases/BrokenLink.md), [RedirectedLink](type-aliases/RedirectedLink.md)).
9
- Types only, with no code.
8
+ that lead to no page, or only through a redirect ([BrokenLink](type-aliases/BrokenLink.md), [RedirectedLink](type-aliases/RedirectedLink.md)); and
9
+ the params of a page of a route of its folder and its name ([RouteParams](type-aliases/RouteParams.md)). Types only, with
10
+ no code.
10
11
 
11
12
  ## Type Aliases
12
13
 
@@ -19,3 +20,4 @@ Types only, with no code.
19
20
  - [RedirectRule](type-aliases/RedirectRule.md)
20
21
  - [Redirects](type-aliases/Redirects.md)
21
22
  - [RedirectStatus](type-aliases/RedirectStatus.md)
23
+ - [RouteParams](type-aliases/RouteParams.md)
@@ -6,7 +6,7 @@
6
6
  type AstroPlatform = FilesPlatform & Pick<Platform, "env">;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L21)
9
+ Defined in: [packages/project-astro/src/index.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L22)
10
10
 
11
11
  The platform a site's config, its integrations and its preview read by, which the config file
12
12
  or the script, its entry point, builds and gives them, as `nodePlatform()` of
@@ -6,7 +6,7 @@
6
6
  type BrokenLink = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:78](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L78)
9
+ Defined in: [packages/project-astro/src/index.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L79)
10
10
 
11
11
  An internal link of a built page that leads to no page.
12
12
 
@@ -18,7 +18,7 @@ An internal link of a built page that leads to no page.
18
18
  readonly href: string;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/index.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L82)
21
+ Defined in: [packages/project-astro/src/index.ts:83](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L83)
22
22
 
23
23
  The link, as the page's `href` writes it.
24
24
 
@@ -30,6 +30,6 @@ The link, as the page's `href` writes it.
30
30
  readonly page: string;
31
31
  ```
32
32
 
33
- Defined in: [packages/project-astro/src/index.ts:80](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L80)
33
+ Defined in: [packages/project-astro/src/index.ts:81](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L81)
34
34
 
35
35
  The page, from the folder of the build, such as `/en/blog/hello.html`.
@@ -6,7 +6,7 @@
6
6
  type IgnoredLine = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L52)
9
+ Defined in: [packages/project-astro/src/index.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L53)
10
10
 
11
11
  A line of a `_redirects` file that is no rule GitLab Pages supports, and why.
12
12
 
@@ -18,7 +18,7 @@ A line of a `_redirects` file that is no rule GitLab Pages supports, and why.
18
18
  readonly line: number;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/index.ts:54](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L54)
21
+ Defined in: [packages/project-astro/src/index.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L55)
22
22
 
23
23
  The line, from 1; `0` for the whole file.
24
24
 
@@ -30,7 +30,7 @@ The line, from 1; `0` for the whole file.
30
30
  readonly reason: string;
31
31
  ```
32
32
 
33
- Defined in: [packages/project-astro/src/index.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L58)
33
+ Defined in: [packages/project-astro/src/index.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L59)
34
34
 
35
35
  Why GitLab Pages ignores it, and what it supports instead.
36
36
 
@@ -42,6 +42,6 @@ Why GitLab Pages ignores it, and what it supports instead.
42
42
  readonly text: string;
43
43
  ```
44
44
 
45
- Defined in: [packages/project-astro/src/index.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L56)
45
+ Defined in: [packages/project-astro/src/index.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L57)
46
46
 
47
47
  The text of the line, trimmed; empty for the whole file.
@@ -6,7 +6,7 @@
6
6
  type RedirectInput = Pick<RedirectRule, "from" | "to"> & object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L46)
9
+ Defined in: [packages/project-astro/src/index.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L47)
10
10
 
11
11
  A rule to write into a `_redirects` file: its status `301` by default, and of no line.
12
12
 
@@ -14,4 +14,4 @@ A rule to write into a `_redirects` file: its status `301` by default, and of no
14
14
 
15
15
  | Name | Type | Description | Defined in |
16
16
  | ------ | ------ | ------ | ------ |
17
- | `status?` | [`RedirectStatus`](RedirectStatus.md) | What the rule answers with: `301` by default, as GitLab Pages reads a rule of none. | [packages/project-astro/src/index.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L48) |
17
+ | `status?` | [`RedirectStatus`](RedirectStatus.md) | What the rule answers with: `301` by default, as GitLab Pages reads a rule of none. | [packages/project-astro/src/index.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L49) |
@@ -6,7 +6,7 @@
6
6
  type RedirectMatch = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L70)
9
+ Defined in: [packages/project-astro/src/index.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L71)
10
10
 
11
11
  The rule of `_redirects` that answers a path, and where it sends it.
12
12
 
@@ -18,7 +18,7 @@ The rule of `_redirects` that answers a path, and where it sends it.
18
18
  readonly location: string;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/index.ts:74](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L74)
21
+ Defined in: [packages/project-astro/src/index.ts:75](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L75)
22
22
 
23
23
  The rule's `to`, its placeholders and `:splat` put in: the `Location` of a redirect.
24
24
 
@@ -30,6 +30,6 @@ The rule's `to`, its placeholders and `:splat` put in: the `Location` of a redir
30
30
  readonly rule: RedirectRule;
31
31
  ```
32
32
 
33
- Defined in: [packages/project-astro/src/index.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L72)
33
+ Defined in: [packages/project-astro/src/index.ts:73](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L73)
34
34
 
35
35
  The first rule whose path matches.
@@ -6,7 +6,7 @@
6
6
  type RedirectRule = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L34)
9
+ Defined in: [packages/project-astro/src/index.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L35)
10
10
 
11
11
  A rule of a `_redirects` file: a request whose path matches `from` is sent to `to`. `from` is a
12
12
  path; each `:name` in it matches one part of a path, and a `*` at its end matches the rest, as
@@ -20,7 +20,7 @@ path; each `:name` in it matches one part of a path, and a `*` at its end matche
20
20
  readonly from: string;
21
21
  ```
22
22
 
23
- Defined in: [packages/project-astro/src/index.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L36)
23
+ Defined in: [packages/project-astro/src/index.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L37)
24
24
 
25
25
  The path a request's path matches, such as `/blog/:year/*`.
26
26
 
@@ -32,7 +32,7 @@ The path a request's path matches, such as `/blog/:year/*`.
32
32
  readonly line: number;
33
33
  ```
34
34
 
35
- Defined in: [packages/project-astro/src/index.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L42)
35
+ Defined in: [packages/project-astro/src/index.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L43)
36
36
 
37
37
  The line of the file the rule is on, from 1.
38
38
 
@@ -44,7 +44,7 @@ The line of the file the rule is on, from 1.
44
44
  readonly status: RedirectStatus;
45
45
  ```
46
46
 
47
- Defined in: [packages/project-astro/src/index.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L40)
47
+ Defined in: [packages/project-astro/src/index.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L41)
48
48
 
49
49
  What the rule answers with: a redirect, `301` or `302`, or a rewrite, `200`.
50
50
 
@@ -56,6 +56,6 @@ What the rule answers with: a redirect, `301` or `302`, or a rewrite, `200`.
56
56
  readonly to: string;
57
57
  ```
58
58
 
59
- Defined in: [packages/project-astro/src/index.ts:38](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L38)
59
+ Defined in: [packages/project-astro/src/index.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L39)
60
60
 
61
61
  Where the rule sends a request: a path, or a full URL of a redirect.
@@ -6,7 +6,7 @@
6
6
  type RedirectStatus = 200 | 301 | 302;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L27)
9
+ Defined in: [packages/project-astro/src/index.ts:28](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L28)
10
10
 
11
11
  The status of a rule of `_redirects`: `301 Moved Permanently` and `302 Found` redirect, and
12
12
  `200` rewrites, serving what is at the rule's `to` under the URL that was asked for.
@@ -6,7 +6,7 @@
6
6
  type RedirectedLink = BrokenLink & object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L86)
9
+ Defined in: [packages/project-astro/src/index.ts:87](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L87)
10
10
 
11
11
  An internal link of a built page that leads to its page only through a redirect.
12
12
 
@@ -14,4 +14,4 @@ An internal link of a built page that leads to its page only through a redirect.
14
14
 
15
15
  | Name | Type | Description | Defined in |
16
16
  | ------ | ------ | ------ | ------ |
17
- | `location` | `string` | Where GitLab Pages sends the link, such as `/en/guides/` of `/en/guides`. | [packages/project-astro/src/index.ts:88](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L88) |
17
+ | `location` | `string` | Where GitLab Pages sends the link, such as `/en/guides/` of `/en/guides`. | [packages/project-astro/src/index.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L89) |
@@ -6,7 +6,7 @@
6
6
  type Redirects = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L62)
9
+ Defined in: [packages/project-astro/src/index.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L63)
10
10
 
11
11
  A `_redirects` file, read: its rules, in order, and each line it ignored.
12
12
 
@@ -18,7 +18,7 @@ A `_redirects` file, read: its rules, in order, and each line it ignored.
18
18
  readonly ignored: readonly IgnoredLine[];
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/index.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L66)
21
+ Defined in: [packages/project-astro/src/index.ts:67](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L67)
22
22
 
23
23
  Each line GitLab Pages ignores, with why.
24
24
 
@@ -30,6 +30,6 @@ Each line GitLab Pages ignores, with why.
30
30
  readonly rules: readonly RedirectRule[];
31
31
  ```
32
32
 
33
- Defined in: [packages/project-astro/src/index.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/index.ts#L64)
33
+ Defined in: [packages/project-astro/src/index.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L65)
34
34
 
35
35
  The rules GitLab Pages reads, in the order of the file.
@@ -0,0 +1,36 @@
1
+ [Documentation](../../../../README.md) / [@wtf/project-astro](../../README.md) / [index](../README.md) / RouteParams
2
+
3
+ # Type Alias: RouteParams
4
+
5
+ ```ts
6
+ type RouteParams = object;
7
+ ```
8
+
9
+ Defined in: [packages/project-astro/src/index.ts:96](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L96)
10
+
11
+ The params of a page on a route of its folder and its name, `[...path]/[name].astro`, as
12
+ `routeParams` of `./routes` gives them.
13
+
14
+ ## Properties
15
+
16
+ ### name
17
+
18
+ ```ts
19
+ readonly name: string;
20
+ ```
21
+
22
+ Defined in: [packages/project-astro/src/index.ts:100](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L100)
23
+
24
+ The name of the page, the last segment of its slug.
25
+
26
+ ***
27
+
28
+ ### path
29
+
30
+ ```ts
31
+ readonly path: string | undefined;
32
+ ```
33
+
34
+ Defined in: [packages/project-astro/src/index.ts:98](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/index.ts#L98)
35
+
36
+ The folder of the page, of its slug; none of a page at the top.
@@ -6,7 +6,7 @@
6
6
  function brokenLinksIn(folder, base): Promise<BrokenLink[]>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/links.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/links.ts#L155)
9
+ Defined in: [packages/project-astro/src/links.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/links.ts#L155)
10
10
 
11
11
  Each internal link of the pages below `folder`, the folder of a built site served under `base`,
12
12
  that leads to no page, as GitLab Pages serves the folder: an `href` of a root-absolute path or a
@@ -6,7 +6,7 @@
6
6
  function links(__namedParameters): AstroIntegration;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/links.ts:203](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/links.ts#L203)
9
+ Defined in: [packages/project-astro/src/links.ts:203](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/links.ts#L203)
10
10
 
11
11
  The Astro integration that fails a site's build on an internal link that leads to no page, or
12
12
  that reaches its page only through a redirect, as GitLab Pages serves the build, `_redirects`
@@ -6,7 +6,7 @@
6
6
  function redirectedLinksIn(folder, base): Promise<RedirectedLink[]>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/links.ts:170](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/links.ts#L170)
9
+ Defined in: [packages/project-astro/src/links.ts:170](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/links.ts#L170)
10
10
 
11
11
  Each internal link of the pages below `folder`, the folder of a built site served under `base`,
12
12
  that GitLab Pages answers with a redirect: a link to a folder of an `index.html` without its
@@ -6,7 +6,7 @@
6
6
  type LinksOptions = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/links.ts:178](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/links.ts#L178)
9
+ Defined in: [packages/project-astro/src/links.ts:178](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/links.ts#L178)
10
10
 
11
11
  What [links](../functions/links.md) takes.
12
12
 
@@ -18,6 +18,6 @@ What [links](../functions/links.md) takes.
18
18
  readonly platform: Pick<AstroPlatform, "navigator" | "path" | "dirs">;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/links.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.1/packages/project-astro/src/links.ts#L180)
21
+ Defined in: [packages/project-astro/src/links.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-astro/src/links.ts#L180)
22
22
 
23
23
  The platform the build is read by: its file system, and its paths.