Skip to content

Commit 45ef97a

Browse files
committed
Merge branch 'astro'
2 parents 44e6fba + 6995b60 commit 45ef97a

File tree

114 files changed

+4223
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+4223
-86
lines changed

Diff for: .editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
; https://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 2
9+
indent_style = space
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

Diff for: .github/workflows/deploy.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout your repository using git
19+
uses: actions/checkout@v4
20+
- name: Install, build, and upload your site
21+
uses: withastro/action@v3
22+
with:
23+
node-version: 18
24+
package-manager: npm
25+
26+
deploy:
27+
needs: build
28+
runs-on: ubuntu-latest
29+
environment:
30+
name: github-pages
31+
url: ${{ steps.deployment.outputs.page_url }}
32+
steps:
33+
- name: Deploy to GitHub Pages
34+
id: deployment
35+
uses: actions/deploy-pages@v4

Diff for: .github/workflows/static.yml

-43
This file was deleted.

Diff for: .gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# build output
2+
dist/
3+
.output/
4+
5+
# dependencies
6+
node_modules/
7+
8+
# logs
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
pnpm-debug.log*
13+
yarn.lock
14+
package-lock.json
15+
16+
17+
# environment variables
18+
.env
19+
.env.production
20+
21+
# macOS-specific files
22+
.DS_Store
23+
24+
# ignore .astro directory
25+
.astro

Diff for: .markdownlint.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"MD033": false,
3+
"MD013": false
4+
}

Diff for: .prettierrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"overrides": [
3+
{
4+
"files": ["*.astro"],
5+
"options": {
6+
"parser": "astro"
7+
}
8+
}
9+
]
10+
}

Diff for: .vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"]
3+
}

Diff for: .vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"*.mdx": "markdown"
4+
}
5+
}

Diff for: 404.html

-5
This file was deleted.

Diff for: LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2024 Devcontainer Community
3+
Copyright (c) 2023 - Present, Themefisher
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# devcontainer-community.github.io
1+
# [devcontainer-community.github.io](https://devcontainer.community)

Diff for: astro.config.mjs

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import mdx from "@astrojs/mdx";
2+
import react from "@astrojs/react";
3+
import sitemap from "@astrojs/sitemap";
4+
import tailwind from "@astrojs/tailwind";
5+
import AutoImport from "astro-auto-import";
6+
import { defineConfig } from "astro/config";
7+
import remarkCollapse from "remark-collapse";
8+
import remarkToc from "remark-toc";
9+
import config from "./src/config/config.json";
10+
11+
// https://astro.build/config
12+
export default defineConfig({
13+
site: config.site.base_url ? config.site.base_url : "http://devcontainer.community",
14+
base: config.site.base_path ? config.site.base_path : "/",
15+
trailingSlash: config.site.trailing_slash ? "always" : "never",
16+
integrations: [
17+
react(),
18+
sitemap(),
19+
tailwind({
20+
config: {
21+
applyBaseStyles: false,
22+
},
23+
}),
24+
AutoImport({
25+
imports: [
26+
"@/shortcodes/Button",
27+
"@/shortcodes/Accordion",
28+
"@/shortcodes/Notice",
29+
"@/shortcodes/Video",
30+
"@/shortcodes/Youtube",
31+
"@/shortcodes/Tabs",
32+
"@/shortcodes/Tab",
33+
],
34+
}),
35+
mdx(),
36+
],
37+
markdown: {
38+
remarkPlugins: [
39+
remarkToc,
40+
[
41+
remarkCollapse,
42+
{
43+
test: "Table of contents",
44+
},
45+
],
46+
],
47+
shikiConfig: {
48+
theme: "one-dark-pro",
49+
wrap: true,
50+
},
51+
extendDefaultPlugins: true,
52+
},
53+
});

Diff for: awesome/index.html

-5
This file was deleted.

Diff for: code-of-conduct/index.html

-5
This file was deleted.

Diff for: discussions/index.html

-5
This file was deleted.

Diff for: features/index.html

-5
This file was deleted.

Diff for: images/index.html

-5
This file was deleted.

Diff for: index.html

-5
This file was deleted.

Diff for: package.json

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "bookworm-light-astro",
3+
"version": "3.0.0",
4+
"license": "MIT",
5+
"scripts": {
6+
"dev": "astro dev",
7+
"build": "astro build",
8+
"preview": "astro preview",
9+
"format": "prettier -w ."
10+
},
11+
"dependencies": {
12+
"@astrojs/check": "^0.9.4",
13+
"@astrojs/mdx": "4.0.6",
14+
"@astrojs/react": "4.1.5",
15+
"@astrojs/rss": "4.0.11",
16+
"@astrojs/sitemap": "^3.2.1",
17+
"@astrojs/tailwind": "5.1.4",
18+
"astro": "5.1.7",
19+
"astro-auto-import": "^0.4.4",
20+
"astro-font": "^0.1.81",
21+
"date-fns": "^4.1.0",
22+
"fuse.js": "^7.0.0",
23+
"gray-matter": "^4.0.3",
24+
"marked": "^15.0.6",
25+
"react": "^19.0.0",
26+
"react-dom": "^19.0.0",
27+
"react-icons": "^5.4.0",
28+
"react-lite-youtube-embed": "^2.4.0",
29+
"remark-collapse": "^0.1.2",
30+
"remark-toc": "^9.0.0"
31+
},
32+
"devDependencies": {
33+
"@tailwindcss/forms": "^0.5.10",
34+
"@tailwindcss/typography": "^0.5.16",
35+
"@types/github-slugger": "^1.3.0",
36+
"@types/marked": "^5.0.2",
37+
"@types/react": "^19.0.7",
38+
"postcss": "^8.5.1",
39+
"prettier": "^3.4.2",
40+
"prettier-plugin-astro": "^0.14.1",
41+
"prettier-plugin-tailwindcss": "^0.6.10",
42+
"sass": "^1.83.4",
43+
"sharp": "0.33.5",
44+
"tailwind-bootstrap-grid": "^5.1.0",
45+
"tailwindcss": "^3.4.17",
46+
"typescript": "^5.7.3"
47+
}
48+
}

Diff for: postcss.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
};

0 commit comments

Comments
 (0)