Compare commits

..

1 Commits

8 changed files with 10 additions and 10 deletions

View File

@ -435,7 +435,7 @@ export const extra_css = ['navbars.css']
</nav>
<div>
<div class="bg-body-tertiary p-5 rounded">
<div class="bg-body-tertiaryp-5 rounded">
<div class="col-sm-8 mx-auto">
<h1>Navbar examples</h1>
<p>This example is a quick exercise to illustrate how the navbar and its contents work. Some navbars extend the width of the viewport, others are confined within a <code>.container</code>. For positioning of navbars, checkout the <a href={getVersionedDocsPath('/examples/navbar-static/')}>top</a> and <a href={getVersionedDocsPath('/examples/navbar-fixed/')}>fixed top</a> examples.</p>

View File

@ -40,7 +40,7 @@ try {
content = matches[1]
// Fix the indentation by removing extra spaces at the beginning of each line
// Fix the identation by removing extra spaces at the beginning of each line
const lines = content.split('\n')
const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0

View File

@ -42,7 +42,7 @@ try {
content = matches[1].replaceAll(' !default', '')
// Fix the indentation by removing extra spaces at the beginning of each line
// Fix the identation by removing extra spaces at the beginning of each line
const lines = content.split('\n')
const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0

View File

@ -120,7 +120,7 @@ function bootstrap_auto_import() {
const autoImportedComponentDefinition = `/**
* DO NOT EDIT THIS FILE MANUALLY.
*
* This file is automatically generated by the Bootstrap Astro Integration.
* This file is automatically generated by the Boostrap Astro Integration.
* It contains the type definitions for the components that are auto imported in all pages.
* @see site/src/libs/astro.ts
*/

View 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. 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.
// `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.
// @see https://github.com/withastro/astro/issues/5802
export function validateVersionedDocsPaths(distUrl: URL) {
const { docs_version } = getConfig()

View File

@ -215,13 +215,13 @@ export interface PlaceholderOptions {
*/
markup: 'img' | 'svg'
/**
* The text to show in the image. You can explicitly pass the `false` boolean value (and not the string "false") to
* The text to show in the image. You can explicitely 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 explicitly pass the `false` boolean value (and not the string "false") to
* Used in the SVG `title` tag. You can explicitely pass the `false` boolean value (and not the string "false") to
* hide the title.
* @default "Placeholder"
*/

View File

@ -56,7 +56,7 @@ export const remarkBsConfig: Plugin<[], Root> = function () {
}
}
// A remark plugin to add versioned docs links in markdown (or MDX) files.
// A remark plugin to add versionned 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.

View File

@ -1,7 +1,7 @@
/**
* DO NOT EDIT THIS FILE MANUALLY.
*
* This file is automatically generated by the Bootstrap Astro Integration.
* This file is automatically generated by the Boostrap Astro Integration.
* It contains the type definitions for the components that are auto imported in all pages.
* @see site/src/libs/astro.ts
*/