-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Zilliqa/dev-portal
- Loading branch information
Showing
195 changed files
with
1,598 additions
and
471 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
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 |
---|---|---|
|
@@ -54,5 +54,5 @@ target/ | |
cache/** | ||
!cache/.gitkeep | ||
# Used for rendering API docs. | ||
zq2/docs/apis/** | ||
zq2/docs/api/** | ||
docgen/target |
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 |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml | ||
version: 0.1 | ||
cli: | ||
version: 1.22.1 | ||
version: 1.22.3 | ||
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) | ||
plugins: | ||
sources: | ||
- id: trunk | ||
ref: v1.5.0 | ||
ref: v1.6.2 | ||
uri: https://github.com/trunk-io/plugins | ||
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) | ||
runtimes: | ||
|
@@ -17,22 +17,25 @@ runtimes: | |
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) | ||
lint: | ||
enabled: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- git-diff-check | ||
- [email protected] | ||
- [email protected] | ||
- markdownlint@0.40.0 | ||
- osv-scanner@1.7.3 | ||
- [email protected].1 | ||
- prettier@3.2.5 | ||
- ruff@0.4.4 | ||
- markdownlint@0.41.0 | ||
- osv-scanner@1.8.4 | ||
- [email protected].2 | ||
- prettier@3.3.3 | ||
- ruff@0.6.2 | ||
- [email protected] | ||
- trivy@0.51.2 | ||
- trufflehog@3.76.3 | ||
- trivy@0.54.1 | ||
- trufflehog@3.81.9 | ||
- [email protected] | ||
ignore: | ||
- linters: [gitleaks] | ||
|
@@ -47,6 +50,7 @@ lint: | |
- zq1/docs/exchanges | ||
- linters: [markdownlint] | ||
paths: | ||
- zq1/** # Not worth fixing. | ||
- zq2/docs/ecosystem/index.md # multiple headers | ||
- zq2/docs/zilevm/tools/remix.md # Don't care about line length | ||
- README.md | ||
|
@@ -58,7 +62,11 @@ lint: | |
- Dockerfile # Annoying, but trunk is now very opinionated on how you write dockerfiles. | ||
- zq2/docs/js/** # trunk does not know this is looking for metamask in the user's browser. | ||
- zq2/docs/index.md # contains legitimate empty links | ||
- zq2/docs/nodes/** | ||
- .trunk/*out/** | ||
- cd/base/deployment.yaml | ||
- zq1/** # Legacy | ||
|
||
|
||
actions: | ||
enabled: | ||
|
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
{ | ||
} | ||
{} |
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
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ metadata: | |
spec: | ||
timeoutSec: 120 | ||
healthCheck: | ||
requestPath: /zilliqa2/ | ||
requestPath: /health |
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 |
---|---|---|
|
@@ -29,5 +29,5 @@ spec: | |
memory: 100Mi | ||
readinessProbe: | ||
httpGet: | ||
path: /zilliqa2/ | ||
path: /health | ||
port: 80 |
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
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,28 @@ | ||
server { | ||
listen 80; | ||
server_name localhost; | ||
|
||
|
||
port_in_redirect off; | ||
server_name_in_redirect off; | ||
absolute_redirect off; | ||
rewrite ^/docs/(.*)$ /$1 permanent; | ||
rewrite ^/$ /zilliqa1/ permanent; | ||
rewrite ^/zilliqa1$ /zilliqa1/ permanent; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html; | ||
|
||
try_files $uri $uri/index.html =404; | ||
} | ||
location /health { | ||
return 200 'healthcheck'; | ||
} | ||
|
||
error_page 404 /zilliqa1/404.html; | ||
|
||
# redirect server error pages to the static page /50x.html | ||
# | ||
error_page 500 502 503 504 /zilliqa1/50x.html; | ||
} |
Oops, something went wrong.