Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding docusaurus docs project #164

Closed
wants to merge 105 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
3a854a9
feat: adding docusaurus docs project
amelnytskyi Feb 6, 2024
1eb9b86
feat: adding docusaurus docs project
amelnytskyi Feb 7, 2024
a8c48ad
add job workflow for build testing docs
otani88 Feb 7, 2024
a6a0dd8
add job workflow for build testing docs
otani88 Feb 7, 2024
b869be4
add job workflow for build testing docs
otani88 Feb 7, 2024
f853eb8
change docusaurus config for deploy
otani88 Feb 8, 2024
9abf1d8
re-configure build for use custom dns
otani88 Feb 8, 2024
8b2a695
re-configure build for use custom dns
otani88 Feb 8, 2024
24cbda2
add workflow for build and publish test docs
otani88 Feb 8, 2024
39d875f
adding instructions to readme
amelnytskyi Feb 15, 2024
f6e4083
test: fix package build on CI in docs workflow
pcheremu Apr 8, 2024
2b6bdc5
test: debug npm build
pcheremu Apr 8, 2024
cdf730c
test: debug npm build without husky
pcheremu Apr 8, 2024
fa31def
test: test build
pcheremu Apr 8, 2024
9515464
test: test build
pcheremu Apr 8, 2024
9a0ad84
test: build docs
pcheremu Apr 8, 2024
d6cfac3
test: build docs
pcheremu Apr 8, 2024
518b5ec
test: workable run of doc, do not run npm i for testing-docs
pcheremu Apr 8, 2024
a5e6603
test: fix node dependencies (#223)
pcheremu Apr 9, 2024
2d78da9
test: tests migration from allure
pcheremu Apr 12, 2024
37256b1
test: added migration script
pcheremu Apr 12, 2024
27763fd
test: remove extra symbols to avoid 404 pages redirection (#229)
olehbairak Apr 12, 2024
4e4b9e8
test: fixing folders structure for BE docs in docusaurus project (#227)
amelnytskyi Apr 12, 2024
e280432
test: test docs deployment
pcheremu Apr 13, 2024
76bf685
test: test docs deployment
pcheremu Apr 13, 2024
99bd720
test: debug docs workflow
pcheremu Apr 15, 2024
0b6bd0f
test: debug docs workflow
pcheremu Apr 15, 2024
3d7a26e
test: debug docs workflow
pcheremu Apr 15, 2024
d300972
test: return some workflows
pcheremu Apr 15, 2024
d819b92
test: return workflows
pcheremu Apr 15, 2024
867d163
test: fixing structure and broken page
amelnytskyi Apr 15, 2024
d8c0611
test: fixed docs and added screenshots for UAT and Fields TCs
amelnytskyi Apr 15, 2024
c95c9db
test: remove Debugger test cases from FE and move to archived folder …
olehbairak Apr 16, 2024
c2ed426
test: new formatting and screenshots addition (#234)
olehbairak Apr 16, 2024
800ab77
test: new formatting for Pages - 404 + Account pages (#235)
olehbairak Apr 16, 2024
ec1b186
test: new formatting for Pages - Block + Blocks pages (#236)
olehbairak Apr 16, 2024
19afafc
test: new formatting for Pages - Contracts + Common pages part) (#238)
olehbairak Apr 16, 2024
e561eff
test: new formatting and screenshots addition for Transaction page (#…
amelnytskyi Apr 16, 2024
4f9db56
test: new formatting for Pages - Error Page +Dashboard pages part) (#…
olehbairak Apr 16, 2024
27cd1ab
test: added logo removed extra folder
pcheremu Apr 16, 2024
d99b8e2
test: new formatting for Pages - TransactionsLogs + Maintenance + Tok…
olehbairak Apr 17, 2024
25d20d7
test: new formatting for Pages - Batch and Batches (#244)
amelnytskyi Apr 17, 2024
549be8c
feat: new footer links and logo + favicon image (#245)
olehbairak Apr 17, 2024
36078d4
feat: adding readme block with instructions to main page (#246)
amelnytskyi Apr 17, 2024
41dcac7
feat: fix Goerli mentioned/links/formatting of lists/ remove links to…
olehbairak Apr 17, 2024
ca4696a
test: refactoring main page
pcheremu Apr 18, 2024
8fbe8e9
test: refactoring
pcheremu Apr 18, 2024
03b54f4
test: refactoring
pcheremu Apr 18, 2024
3f0b219
test: return e2e settings back
pcheremu Apr 18, 2024
a3a7b6d
test: refactoring
pcheremu Apr 18, 2024
02d00d9
feat: implement Active tag for all test cases for count purpose (#248)
olehbairak Apr 18, 2024
c094d99
fix: rename root hash to block hash (#249)
vasyl-ivanchuk Apr 23, 2024
479e935
feat: adding docusaurus docs project
amelnytskyi Feb 6, 2024
d68b620
feat: adding docusaurus docs project
amelnytskyi Feb 7, 2024
ac7cc93
add job workflow for build testing docs
otani88 Feb 7, 2024
d410dab
add job workflow for build testing docs
otani88 Feb 7, 2024
8c0d250
add job workflow for build testing docs
otani88 Feb 7, 2024
72a839b
change docusaurus config for deploy
otani88 Feb 8, 2024
c5bfbba
re-configure build for use custom dns
otani88 Feb 8, 2024
a45c1e9
re-configure build for use custom dns
otani88 Feb 8, 2024
a5e43ef
add workflow for build and publish test docs
otani88 Feb 8, 2024
af7f9e7
adding instructions to readme
amelnytskyi Feb 15, 2024
82a77f0
test: fix package build on CI in docs workflow
pcheremu Apr 8, 2024
c7a2c05
test: debug npm build
pcheremu Apr 8, 2024
f2f4f2f
test: debug npm build without husky
pcheremu Apr 8, 2024
8735e97
test: test build
pcheremu Apr 8, 2024
0eab573
test: test build
pcheremu Apr 8, 2024
75a784c
test: build docs
pcheremu Apr 8, 2024
21f8c6f
test: build docs
pcheremu Apr 8, 2024
f17ee1c
test: workable run of doc, do not run npm i for testing-docs
pcheremu Apr 8, 2024
f94339f
test: fix node dependencies (#223)
pcheremu Apr 9, 2024
f8f1908
test: tests migration from allure
pcheremu Apr 12, 2024
27accd4
test: added migration script
pcheremu Apr 12, 2024
fab3962
test: remove extra symbols to avoid 404 pages redirection (#229)
olehbairak Apr 12, 2024
6c0bbf9
test: fixing folders structure for BE docs in docusaurus project (#227)
amelnytskyi Apr 12, 2024
d9a1263
test: test docs deployment
pcheremu Apr 13, 2024
c62432d
test: test docs deployment
pcheremu Apr 13, 2024
46b85d0
test: debug docs workflow
pcheremu Apr 15, 2024
e202e08
test: debug docs workflow
pcheremu Apr 15, 2024
e7a31a2
test: debug docs workflow
pcheremu Apr 15, 2024
4164e40
test: return some workflows
pcheremu Apr 15, 2024
a9e838b
test: return workflows
pcheremu Apr 15, 2024
b00f90d
test: fixing structure and broken page
amelnytskyi Apr 15, 2024
3cb2104
test: fixed docs and added screenshots for UAT and Fields TCs
amelnytskyi Apr 15, 2024
31c0333
test: remove Debugger test cases from FE and move to archived folder …
olehbairak Apr 16, 2024
4e60ff3
test: new formatting and screenshots addition (#234)
olehbairak Apr 16, 2024
96c3672
test: new formatting for Pages - 404 + Account pages (#235)
olehbairak Apr 16, 2024
e3e4501
test: new formatting for Pages - Block + Blocks pages (#236)
olehbairak Apr 16, 2024
a8189f3
test: new formatting for Pages - Contracts + Common pages part) (#238)
olehbairak Apr 16, 2024
9cc85b6
test: new formatting and screenshots addition for Transaction page (#…
amelnytskyi Apr 16, 2024
9121612
test: new formatting for Pages - Error Page +Dashboard pages part) (#…
olehbairak Apr 16, 2024
672cea1
test: added logo removed extra folder
pcheremu Apr 16, 2024
b8a9dee
test: new formatting for Pages - TransactionsLogs + Maintenance + Tok…
olehbairak Apr 17, 2024
8f66482
test: new formatting for Pages - Batch and Batches (#244)
amelnytskyi Apr 17, 2024
6a7ed66
feat: new footer links and logo + favicon image (#245)
olehbairak Apr 17, 2024
d11d3b5
feat: adding readme block with instructions to main page (#246)
amelnytskyi Apr 17, 2024
dff3cad
feat: fix Goerli mentioned/links/formatting of lists/ remove links to…
olehbairak Apr 17, 2024
6da838b
test: refactoring main page
pcheremu Apr 18, 2024
6e642f2
test: refactoring
pcheremu Apr 18, 2024
3c131b4
test: refactoring
pcheremu Apr 18, 2024
009552e
test: return e2e settings back
pcheremu Apr 18, 2024
ef590d6
test: refactoring
pcheremu Apr 18, 2024
95eb7ce
feat: implement Active tag for all test cases for count purpose (#248)
olehbairak Apr 18, 2024
bb17a08
Merge branch 'QA-613-add-docusaurus-docs-project' of github.com:matte…
pcheremu May 2, 2024
7959fd7
test: skip in draft
pcheremu May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/api-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
runE2ETests:
if: github.event.pull_request.draft == false
name: Run E2E tests
timeout-minutes: 10
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/app-deploy-feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: pull_request

jobs:
build:
if: github.event.pull_request.draft == false
name: Build and Test App
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
entryPoint: ./packages/app

mainnet:
if: github.event.pull_request.draft == false
needs: build
name: Feature on Mainnet + Sepolia
uses: ./.github/workflows/app-e2e.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/app-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: Deploy App to Preview
default: "v2.0.0"
jobs:
deploy:
if: github.event.pull_request.draft == false
name: Deploy
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:
echo "Block explorer app has been deployed to: ${{ steps.deploy.outputs.details_url }}"

mainnet:
if: github.event.pull_request.draft == false
needs: deploy
name: Staging on Mainnet + Sepolia
uses: ./.github/workflows/app-e2e.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/app-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: Deploy App to Production
default: "v2.0.0"
jobs:
deploy:
if: github.event.pull_request.draft == false
name: Deploy
runs-on: ubuntu-latest
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/app-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,4 @@ jobs:
run: |
LINK1="${{ vars.ALLURE_ENDPOINT }}project/${{ vars.ALLURE_PROJECT_ID }}/launches?search=${{ env.BASE64_SEARCH_REQUEST }}"
LINK2="https://raw.githack.com/matter-labs/block-explorer/gh-pages/${{ github.run_number }}/index.html"
echo "Allure [Private]($LINK1) and [Public]($LINK2) links:rocket: in git run #${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY
echo "Allure [Test results]($LINK2) link:rocket: in git run #${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY
26 changes: 26 additions & 0 deletions .github/workflows/docs-test-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Documentation build

on:
pull_request:

permissions:
contents: read

jobs:
build:
name: Build docusaurus docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build website
working-directory: ./packages/testing-docs
run: npm run build

41 changes: 41 additions & 0 deletions .github/workflows/docs-test-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Deploy to GitHub Pages

on:
pull_request:
push:
branches:
- main
- '[0-9]+.*'

permissions:
contents: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: matter-labs/block-explorer
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BE_TEST_DOCS_DEPLOY_KEY }}
- name: Install dependencies
run: npm ci
- name: Deploy to GitHub Pages
working-directory: ./packages/testing-docs
env:
USE_SSH: true
run: |
git config --global user.email "[email protected]"
git config --global user.name "gh-actions"
npm run deploy
2 changes: 2 additions & 0 deletions .github/workflows/nodejs-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ env:

jobs:
generate-matrix:
if: github.event.pull_request.draft == false
name: Lists modules
runs-on: ubuntu-latest
permissions:
Expand All @@ -43,6 +44,7 @@ jobs:
id: set-matrix

license-check:
if: github.event.pull_request.draft == false
needs: [generate-matrix]
runs-on: ubuntu-latest
permissions:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
createReleaseVersion:
if: github.event.pull_request.draft == false
name: Create Release Version
runs-on: ubuntu-latest
permissions:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
label:
if: github.event.pull_request.draft == false
name: Validate PR title
runs-on: ubuntu-latest
permissions:
Expand All @@ -22,6 +23,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}

build:
if: github.event.pull_request.draft == false
name: Build and Test
runs-on: ubuntu-latest
permissions:
Expand Down
Loading
Loading