-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28b32c9
commit ad09d42
Showing
15 changed files
with
390 additions
and
45 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
const gaScript = ` | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', 'G-EZSJ3YF2RG'); | ||
` | ||
|
||
export default defineConfig({ | ||
lang: 'en-US', | ||
title: 'ast-grep', | ||
titleTemplate: 'ligthning fast code tool', | ||
base: '/ast-grep/', | ||
description: 'ast-grep(sg) is a ligthning fast and user friendly tool for code searching, linting, rewriting at large scale.', | ||
// head: [ | ||
// ['script', {async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-EZSJ3YF2RG'}], | ||
// ['script', {}, gaScript], | ||
// ], | ||
outDir: './dist', | ||
themeConfig: { | ||
logo: 'logo.svg', | ||
nav: [ | ||
{ text: 'Guide', link: '/guide' }, | ||
{ text: 'Playground', link: '/playground' }, | ||
], | ||
}, | ||
}) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: home | ||
|
||
hero: | ||
name: ast-grep | ||
text: Write Code to Match Code | ||
tagline: ast-grep(sg) is a ligthning fast and user friendly tool for code searching, linting, rewriting at large scale. | ||
image: | ||
src: ../logo.svg | ||
alt: VitePress | ||
actions: | ||
- theme: brand | ||
text: Get Started | ||
link: /guide/introduction | ||
- theme: alt | ||
text: View on GitHub | ||
link: https://github.com/HerringtonDarkholme/ast-grep | ||
|
||
features: | ||
- icon: ⚡️ | ||
title: Performant | ||
details: Lorem ipsum... | ||
- icon: ⚡️ | ||
title: Progressive | ||
details: Lorem ipsum... | ||
- icon: 🛠️ | ||
title: Pragmatic | ||
details: Lorem ipsum... | ||
|
||
--- |
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,9 @@ | ||
--- | ||
layout: page | ||
--- | ||
|
||
<script setup> | ||
import App from './src/App.vue' | ||
</script> | ||
|
||
<App/> |
Oops, something went wrong.