Skip to content

Commit 9f137d3

Browse files
committed
init commit post-cleanup
0 parents  commit 9f137d3

File tree

401 files changed

+44032
-0
lines changed

Some content is hidden

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

401 files changed

+44032
-0
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
insert_final_newline = true

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALGOLIA_APP_ID=I9A62UQS9Z
2+
ALGOLIA_WRITE_API_KEY=
3+
ALGOLIA_INDEX_NAME=docs-test

.eslintignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
dist
2+
.cache
3+
.test
4+
node_modules
5+
.github
6+
.changeset
7+
src/features/redirects/redirects.json
8+
scripts/reference/chainsToBe.json
9+
src/scripts/reference/linkNameSymbol.json
10+
src/scripts/reference/chains.json
11+
scripts/reference/chains.json
12+
scripts/**/*.js
13+
data-source
14+
typechain-types
15+
.eleventy
16+
public/snippets
17+
public/search-index.json
18+
public/samples
19+
package.json
20+
package-lock.json
21+
vercel.json

.eslintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
node: true,
6+
},
7+
extends: ["standard", "eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
8+
parser: "@typescript-eslint/parser",
9+
parserOptions: {
10+
ecmaVersion: "latest",
11+
sourceType: "module",
12+
},
13+
plugins: ["@typescript-eslint", "prettier"],
14+
rules: {
15+
"prettier/prettier": [2],
16+
},
17+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
body:
3+
- attributes:
4+
value: 'Thanks for taking the time to help out make Scroll Documentation better!'
5+
type: markdown
6+
- attributes:
7+
description: 'A clear and concise description of what the bug is.'
8+
label: 'Describe the bug'
9+
placeholder: 'Tell us what you see!'
10+
id: describe-bug
11+
type: textarea
12+
validations:
13+
required: true
14+
- attributes:
15+
description: 'Steps to reproduce the behavior (If applicable, add screenshots to help explain your problem).'
16+
label: 'To Reproduce'
17+
value: |
18+
1. Go to '...'
19+
2. Click on '....'
20+
3. See error
21+
id: to-reproduce
22+
type: textarea
23+
validations:
24+
required: true
25+
- attributes:
26+
description: 'Copy the links of the concerned pages.'
27+
label: URLs
28+
value: |
29+
- https://docs.scroll.io/..
30+
- ...
31+
id: urls
32+
type: textarea
33+
validations:
34+
required: true
35+
- attributes:
36+
description: 'A clear and concise description of what you expected to happen.'
37+
label: 'Expected behavior'
38+
id: expected-behavior
39+
type: textarea
40+
validations:
41+
required: false
42+
- attributes:
43+
description: 'Add any other context about the problem here.'
44+
label: 'Additional context'
45+
id: additional-context
46+
type: textarea
47+
validations:
48+
required: false
49+
description: 'File a bug report'
50+
labels:
51+
- bug
52+
- triage
53+
name: 'Bug Report'
54+
title: '[Bug]: <your-title-here>'

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/enhance.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
body:
3+
- attributes:
4+
value: 'Thanks for taking the time to help out make Scroll Documentation better!'
5+
type: markdown
6+
- attributes:
7+
description: 'A clear and concise description of what would you like us to improve.'
8+
label: 'What would you like us to improve?'
9+
id: to-improve
10+
type: textarea
11+
validations:
12+
required: true
13+
- attributes:
14+
description: 'A clear and concise description of how important for the users it is?'
15+
label: 'How important it is?'
16+
id: importance
17+
type: textarea
18+
validations:
19+
required: true
20+
description: 'Enhancement of existing docs'
21+
labels:
22+
- enhancement
23+
- triage
24+
name: 'Enhancement'
25+
title: '[Enhancement]: <your-title-here>'
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
body:
3+
- attributes:
4+
value: 'Thanks for taking the time to help out make Scroll Documentation better!'
5+
type: markdown
6+
- attributes:
7+
description: 'A clear and concise description of what is missing.'
8+
label: 'What would you like us to add?'
9+
id: what-is-missing
10+
type: textarea
11+
validations:
12+
required: true
13+
- attributes:
14+
description: 'A clear and concise description of how important for the users it is?'
15+
label: 'How important it is?'
16+
id: importance
17+
type: textarea
18+
validations:
19+
required: true
20+
description: 'File a new content request'
21+
labels:
22+
- new content
23+
- triage
24+
name: 'New Content'
25+
title: '[New Content]: <your-title-here>'

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
**IMPORTANT: Please do not create a Pull Request without creating an issue first.Any change needs to be discussed before proceeding.**
2+
3+
## Closing issues
4+
5+
<!-- Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). -->
6+
7+
closes #ISSUE_NUMBER_GOES_HERE
8+
9+
...
10+
11+
## Description
12+
13+
<!-- Please provide enough information so that others can review your pull request: -->
14+
15+
...
16+
17+
## Changes
18+
19+
<!--Explain the **details** for making this change. What existing problem does the pull request solve? -->
20+
21+
- High level
22+
- changes that
23+
- you made
24+
- ...
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Update algolia index
2+
3+
on: [push]
4+
5+
jobs:
6+
update-prod-index:
7+
if: ${{ github.ref == 'refs/heads/main' }}
8+
name: Update algolia index
9+
runs-on: ubuntu-latest
10+
env:
11+
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
12+
ALGOLIA_WRITE_API_KEY: ${{ secrets.ALGOLIA_WRITE_API_KEY }}
13+
ALGOLIA_INDEX_NAME: docs-ui
14+
defaults:
15+
run:
16+
working-directory: ./
17+
steps:
18+
- name: Checkout Repo
19+
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
20+
- name: Install Dependencies
21+
run: npm i
22+
- name: Build
23+
run: npm run build
24+
- name: Update index
25+
run: npm run update-algolia-index

0 commit comments

Comments
 (0)