Skip to content

Commit 1130ade

Browse files
committed
Docs Proto 0
0 parents  commit 1130ade

File tree

25 files changed

+4095
-0
lines changed

25 files changed

+4095
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Landing Page Deployment
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: 20
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Build project
26+
run: npm run build
27+
28+
- name: Deploy to GitHub Pages
29+
uses: peaceiris/actions-gh-pages@v3
30+
with:
31+
personal_token: ${{ secrets.GRAPHSCRIPT_DEPLOYMENTS }}
32+
publish_dir: ./dist
33+
publish_branch: gh-pages
34+
user_name: AttAditya
35+
user_email: attaditya@users.noreply.github.com

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 📘 GraphScript Docs
2+
3+
Documentation for the GraphScript ecosystem - a visual, flow-based scripting IDE that redefines how logic is written, shared, and executed.
4+
5+
> Focused. Evolving. Developer-friendly.
6+
7+
## 🌐 What is GraphScript?
8+
9+
GraphScript is a visual scripting language and IDE built to simplify logic construction and improve readability, without losing the power of traditional code.
10+
11+
## 📚 About This Repo
12+
13+
This repository contains:
14+
15+
- Official documentation for GraphScript.
16+
- Guides for the engine, editor, and ecosystem tools.
17+
- APIs, scripting references, and custom module guidelines.
18+
19+
## 🛠 Contribute
20+
21+
Found something unclear or outdated? Open an issue or PR — contributions are welcome.
22+
23+
## 🔗 Live Docs
24+
25+
[docs.graphscript.tech](https://docs.graphscript.tech) *(if hosted)*
26+
27+
---

eslint.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import js from '@eslint/js'
2+
import globals from 'globals'
3+
import reactHooks from 'eslint-plugin-react-hooks'
4+
import reactRefresh from 'eslint-plugin-react-refresh'
5+
6+
export default [
7+
{ ignores: ['dist'] },
8+
{
9+
files: ['**/*.{js,jsx}'],
10+
languageOptions: {
11+
ecmaVersion: 2020,
12+
globals: globals.browser,
13+
parserOptions: {
14+
ecmaVersion: 'latest',
15+
ecmaFeatures: { jsx: true },
16+
sourceType: 'module',
17+
},
18+
},
19+
plugins: {
20+
'react-hooks': reactHooks,
21+
'react-refresh': reactRefresh,
22+
},
23+
rules: {
24+
...js.configs.recommended.rules,
25+
...reactHooks.configs.recommended.rules,
26+
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
27+
'react-refresh/only-export-components': [
28+
'warn',
29+
{ allowConstantExport: true },
30+
],
31+
},
32+
},
33+
]

index.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
7+
<title>GraphScript</title>
8+
<link rel="icon" type="image/svg+xml" href="/GraphScript.png" />
9+
10+
<meta name="title" content="GraphScript">
11+
<meta name="description" content="GraphScript is a general-purpose visual scripting editor that lets you build logic by connecting visual nodes. No code, just flow.">
12+
13+
<meta property="og:type" content="website">
14+
<meta property="og:url" content="https://graphscript-labs.github.io/">
15+
<meta property="og:title" content="GraphScript">
16+
<meta property="og:description" content="GraphScript is a general-purpose visual scripting editor that lets you build logic by connecting visual nodes. No code, just flow.">
17+
<meta property="og:image" content="https://github.com/GraphScript-Labs/.github/blob/main/Banner.png?raw=true">
18+
19+
<meta name="twitter:card" content="summary_large_image">
20+
<meta name="twitter:url" content="https://graphscript-labs.github.io/">
21+
<meta name="twitter:title" content="GraphScript">
22+
<meta name="twitter:description" content="GraphScript is a general-purpose visual scripting editor that lets you build logic by connecting visual nodes. No code, just flow.">
23+
<meta name="twitter:image" content="https://github.com/GraphScript-Labs/.github/blob/main/Banner.png?raw=true">
24+
</head>
25+
<body>
26+
<div id="root"></div>
27+
28+
<script>
29+
document.addEventListener("contextmenu", (event) => {
30+
event.preventDefault();
31+
});
32+
</script>
33+
34+
<script type="module" src="/src/main.jsx"></script>
35+
</body>
36+
</html>

0 commit comments

Comments
 (0)