Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Updated documentation app for performance (#245)
Browse files Browse the repository at this point in the history
* update old files

* updated theme

* added docs files

* add gitignore

* remove old logo

* remove toc in all pages

* adjusted algolia settings

* upgraded docs

* remove unused file

* remove files

* stash changes

* update branch

* merge file

* updated files

* update files

* added neccessary files

* update files

* updated files

* install dependencies

* add replacer file

* restructure files

* updated breakline

* enable image preview

* add community links

* switch navbar item

* increase font-weight

* add period

* update placeholder

* remove writing time

* updated styles

* update css styles

* updated file

* stash changes

* updated files

* fixed horizontal scroll bar issue

* remove unused files

* updated zksync logo

* remove breaking tag

* correct wrong tag

* added link to matterlabs

* updated wrong tag

* fix logo alignment

* stash changes

* updated files

* update styles

* remove unneccessary files

* add import files

* correct typo

* corrected code copy issues

* remove redudant copy icon

* remove wrong tag

* updated the homepage

* updated link

* update link

* updated icon

* stash changes

* updated files

* updated logo

* stash changes

* updated files

* add image to homepage

* update footer

* remove horizonta scroll

* updated color

* remove error file

* update styles

* update style

* updated styles

* updated homepage

* update intro text

* update navbar

* add period to sentence

* fixed breadcrumb issue

* replace zkSync 2.0 to zkSync Era

* change typography

* updated files

* fix issues

* removing unused references to toc, adjusting toc css and removing unused files

* improving landing page and fixing more things

* update contributors

* update contributors

* update python file

* more improvements

* updating image

* more updates

* removing redirect to /dev

* yet more fixes

* fix broken links

* fix typo

* updated testnet info

* revert devOps to see docs state

* fixing lots of paths

* updated testnet info

* updated intro page

* added hidden section

* some css improvements, including fixing footer to the bottom

* fixing dead links, and more updated to zksync era and lite

* addressing igor comments

* made hidden sidebar content visible

* fix toc structure

* removes warning paymaster tut

* removes warning aa tut

* updates warning under review

* adjusting page transition time

* git overview page

* added hyperscaling images

* fix all broken links

* update minor typo

* hid text without info

* adjustments to hardhat verify

---------

Co-authored-by: Ramon Canales <[email protected]>
Co-authored-by: Antonio <[email protected]>
  • Loading branch information
3 people authored Feb 16, 2023
1 parent cc93242 commit 4e199e7
Show file tree
Hide file tree
Showing 355 changed files with 13,422 additions and 16,961 deletions.
2 changes: 1 addition & 1 deletion .github/.github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ Add any other context or screenshots about the feature request here.
* Browser Name and version:
* Operating System and version (desktop or mobile):

> Link to your issue / project:
> Link to your issue / project:
5 changes: 4 additions & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
run: |
yarn set version 3.1.1
yarn install
- name: "Generate rinkeby dist"
run: yarn run docs:build

- name: "Copy 404"
run: |
cp ./dist/docs/404.html ./dist/404.html
- name: "Deploy preview"
uses: matter-labs/action-hosting-deploy@main
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ jobs:
run: |
yarn set version 3.1.1
yarn install
- name: "Deploy production"
run: yarn run docs:build

- name: "Copy 404"
run: |
cp ./dist/docs/404.html ./dist/404.html
- uses: matter-labs/action-hosting-deploy@main
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ jobs:
run: |
yarn set version 3.1.1
yarn install
- name: "Deploy target: rinkeby-staging"
run: yarn run docs:build

- name: "Copy 404"
run: |
cp ./dist/docs/404.html ./dist/404.html
- uses: matter-labs/action-hosting-deploy@main
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will do a clean installation of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: "CI: releasing version"
"on":
push:
Expand Down Expand Up @@ -29,10 +26,9 @@ jobs:
run: |
yarn set version 3.1.1
yarn install
- name: "Semantic release"
run: yarn semantic-release
env:
HUSKY: 0
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
dist/
node_modules/
/.pnp
.temp/
.temp
Expand Down Expand Up @@ -41,6 +41,10 @@ lib
/report.txt
/tokens.txt

# unignore
!.yarn/releases/*
!.yarn/plugins/*
.cache/
.temp/
.temp

.DS_Store
2 changes: 1 addition & 1 deletion .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
_
_
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
npx --no-install commitlint --edit $1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"

CI="1"
npx lint-staged
npx lint-staged
76 changes: 38 additions & 38 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"default": true,
"line_length": {
"line_length": 250,
"tables": false,
"code_blocks": false
},
"fenced-code-language": false,
"no-duplicate-header": false,
"first-header-h1": false,
"first-line-h1": false,
"no-inline-html": false,
"ol-prefix": false,
"MD026": {
"punctuation": ".,;:!。,;:!:"
},
"MD013": {
"indent": 2,
"headings": false,
"line_length": 250,
"tables": false,
"code_blocks": false
},
"MD003": {
"indent": 2,
"code_blocks": false,
"headings": false,
"line_length": 250,
"tables": false
},
"MD007": {
"indent": 2,
"code_blocks": false,
"headings": false,
"line_length": 250,
"tables": false
},
"no-hard-tabs": false,
"whitespace": false
"default": true,
"line_length": {
"line_length": 250,
"tables": false,
"code_blocks": false
},
"fenced-code-language": false,
"no-duplicate-header": false,
"first-header-h1": false,
"first-line-h1": false,
"no-inline-html": false,
"ol-prefix": false,
"MD026": {
"punctuation": ".,;:!。,;:!:"
},
"MD013": {
"indent": 2,
"headings": false,
"line_length": 250,
"tables": false,
"code_blocks": false
},
"MD003": {
"indent": 2,
"code_blocks": false,
"headings": false,
"line_length": 250,
"tables": false
},
"MD007": {
"indent": 2,
"code_blocks": false,
"headings": false,
"line_length": 250,
"tables": false
},
"no-hard-tabs": false,
"whitespace": false
}
Loading

0 comments on commit 4e199e7

Please sign in to comment.