forked from twbs/bootstrap
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: remove useless astro script and fix package.json indentation * fix: remove default template content * feat: refactor layouts * feat: move new site src & dist folders * feat: load configm from config.yml * feat: add prettier * fix: config type * feat: add astro check * feat: add typecheck to lint script * fix: eqeqeq * feat: rename and move DocsNavbar & DocsVersions * feat: move skippy * feat: move scripts & icons * feat: add head component * feat: add header component * fix: stricten layout type in components * fix: add missing docs layout * feat: add canonical url * feat: refactor navigation links * chore: add todo * refactor: production check to avoid a string * refactor: versioned docs path * fix: docsearch doc version * feat: page title * chore: add todo * feat: add social * chore: add todos * feat: load styles * fix: disable prettier in base layout * chore: add todos * refactor: move style imports
- Loading branch information
Showing
58 changed files
with
2,718 additions
and
716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,6 @@ Thumbs.db | |
# Folders to ignore | ||
/js/coverage/ | ||
/node_modules/ | ||
|
||
# TODO(HiDeoo) Rename or remove later | ||
/dist-site-new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Prettier is only used for the webite | ||
|
||
# TODO(HiDeoo) rename later | ||
site-new/scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import { defineConfig } from "astro/config"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({}); | ||
export default defineConfig({ | ||
// TODO(HiDeoo) Rename later | ||
srcDir: "./site-new", | ||
// TODO(HiDeoo) Rename or remove later | ||
outDir: "./dist-site-new", | ||
site: "https://getbootstrap.com/", | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/prettierrc", | ||
"arrowParens": "always", | ||
"printWidth": 120, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
Oops, something went wrong.