]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix several typos in comments within TypeScript files in `site/src/libs`
authorJulien Déramond <juderamond@gmail.com>
Tue, 1 Jul 2025 21:06:58 +0000 (23:06 +0200)
committerJulien Déramond <juderamond@gmail.com>
Tue, 1 Jul 2025 21:06:58 +0000 (23:06 +0200)
site/src/libs/astro.ts
site/src/libs/path.ts
site/src/libs/placeholder.ts
site/src/libs/remark.ts

index 01b4f6b1069def1d38c75b7dbb67fead165af60a..09555e78992b471541a0654f13b7ac2a58bb23b0 100644 (file)
@@ -120,7 +120,7 @@ function bootstrap_auto_import() {
   const autoImportedComponentDefinition = `/**
  * DO NOT EDIT THIS FILE MANUALLY.
  *
- * This file is automatically generated by the Boostrap Astro Integration.
+ * This file is automatically generated by the Bootstrap Astro Integration.
  * It contains the type definitions for the components that are auto imported in all pages.
  * @see site/src/libs/astro.ts
  */
index d1d32547b539beab23159205613a864f5e6068dd..cbbbca2c90bfff66ba852d8e72dab7d1953135f5 100644 (file)
@@ -25,8 +25,8 @@ export function getVersionedDocsPath(docsPath: string): string {
 // This is useful to catch typos in docs paths.
 // Note: this function is only called during a production build.
 // Note: this could at some point be refactored to use Astro list of generated `routes` accessible in the
-// `astro:build:done` integration hook. Altho as of 03/14/2023, this is not possible due to the route's data only
-// containing informations regarding the last page generated page for dynamic routes.
+// `astro:build:done` integration hook. Although as of 03/14/2023, this is not possible due to the route's data only
+// containing information regarding the last page generated page for dynamic routes.
 // @see https://github.com/withastro/astro/issues/5802
 export function validateVersionedDocsPaths(distUrl: URL) {
   const { docs_version } = getConfig()
index ef5da3e217b9b8ed740b324eaf4c6698d228914b..2096ac9870afa592d697f6c64073f4350f5a84fb 100644 (file)
@@ -215,13 +215,13 @@ export interface PlaceholderOptions {
    */
   markup: 'img' | 'svg'
   /**
-   * The text to show in the image. You can explicitely pass the `false` boolean value (and not the string "false") to
+   * The text to show in the image. You can explicitly pass the `false` boolean value (and not the string "false") to
    * hide the text.
    * @default "${width}x{$height)"
    */
   text: string | false
   /**
-   * Used in the SVG `title` tag. You can explicitely pass the `false` boolean value (and not the string "false") to
+   * Used in the SVG `title` tag. You can explicitly pass the `false` boolean value (and not the string "false") to
    * hide the title.
    * @default "Placeholder"
    */
index ab8129c05eca806dbb82e9bc6104a04c68a30f65..9d532be42da9e2bf29ecafe3d05c9ec95349cdb5 100644 (file)
@@ -56,7 +56,7 @@ export const remarkBsConfig: Plugin<[], Root> = function () {
   }
 }
 
-// A remark plugin to add versionned docs links in markdown (or MDX) files.
+// A remark plugin to add versioned docs links in markdown (or MDX) files.
 // For example, [[docsref:/foo]] will be replaced with the `/docs/${docs_version}/foo` value with the `docs_version`
 // value being read from the `config.yml` file.
 // Note: this also works in frontmatter.