Skip to content

Commit 879d1d1

Browse files
Fix several typos in comments within TypeScript files in site/src/libs
1 parent 7d12ff7 commit 879d1d1

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

site/src/libs/astro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function bootstrap_auto_import() {
120120
const autoImportedComponentDefinition = `/**
121121
* DO NOT EDIT THIS FILE MANUALLY.
122122
*
123-
* This file is automatically generated by the Boostrap Astro Integration.
123+
* This file is automatically generated by the Bootstrap Astro Integration.
124124
* It contains the type definitions for the components that are auto imported in all pages.
125125
* @see site/src/libs/astro.ts
126126
*/

site/src/libs/path.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export function getVersionedDocsPath(docsPath: string): string {
2525
// This is useful to catch typos in docs paths.
2626
// Note: this function is only called during a production build.
2727
// Note: this could at some point be refactored to use Astro list of generated `routes` accessible in the
28-
// `astro:build:done` integration hook. Altho as of 03/14/2023, this is not possible due to the route's data only
29-
// containing informations regarding the last page generated page for dynamic routes.
28+
// `astro:build:done` integration hook. Although as of 03/14/2023, this is not possible due to the route's data only
29+
// containing information regarding the last page generated page for dynamic routes.
3030
// @see https://github.com/withastro/astro/issues/5802
3131
export function validateVersionedDocsPaths(distUrl: URL) {
3232
const { docs_version } = getConfig()

site/src/libs/placeholder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ export interface PlaceholderOptions {
215215
*/
216216
markup: 'img' | 'svg'
217217
/**
218-
* The text to show in the image. You can explicitely pass the `false` boolean value (and not the string "false") to
218+
* The text to show in the image. You can explicitly pass the `false` boolean value (and not the string "false") to
219219
* hide the text.
220220
* @default "${width}x{$height)"
221221
*/
222222
text: string | false
223223
/**
224-
* Used in the SVG `title` tag. You can explicitely pass the `false` boolean value (and not the string "false") to
224+
* Used in the SVG `title` tag. You can explicitly pass the `false` boolean value (and not the string "false") to
225225
* hide the title.
226226
* @default "Placeholder"
227227
*/

site/src/libs/remark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const remarkBsConfig: Plugin<[], Root> = function () {
5656
}
5757
}
5858

59-
// A remark plugin to add versionned docs links in markdown (or MDX) files.
59+
// A remark plugin to add versioned docs links in markdown (or MDX) files.
6060
// For example, [[docsref:/foo]] will be replaced with the `/docs/${docs_version}/foo` value with the `docs_version`
6161
// value being read from the `config.yml` file.
6262
// Note: this also works in frontmatter.

0 commit comments

Comments
 (0)