Skip to content

Commit

Permalink
new changes'
Browse files Browse the repository at this point in the history
  • Loading branch information
novaknole committed Nov 25, 2024
2 parents d04d7cc + d99adf8 commit b44fe07
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 15 deletions.
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<br/>

# Aragon OSx Developer Portal
# Aragon OSx Developer Portal.

Aragon's Developer Portal holds all documentation developers need to kickstart their journey building with the Aragon OSx stack. You can find it in production [here](https://devs.aragon.org).

Expand Down
2 changes: 1 addition & 1 deletion components/home/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ The core plugins currently supported by Aragon are:

=== Governance Tooling

Other description here.
Other description here.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"build:no-fetch": "bash scripts/build.sh playbook.yml",
"build:local": "bash scripts/build.sh playbook-local-only.yml",
"serve:all-optimized": "yarn && yarn optimize-svg && yarn build && yarn serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"optimize-svg": "svgo -rf ./static/img -o ./static/optimized-svg",
"build:theme": "yarn --cwd ui build",
"prepare": "yarn build:theme",
"serve": "live-server build/site",
"watch:local": "fgbg 'nodemon -e yml,adoc,css,scss,js -w components -w ui --ignore ui/theme/dist -x sh scripts/watch-local-build.sh' 'live-server build/site'",
"typecheck": "tsc",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix"
},
Expand All @@ -24,7 +26,7 @@
},
"devDependencies": {
"fgbg": "^0.1.5",
"live-server": "^1.2.1",
"live-server": "1.2.1",
"nodemon": "^2.0.6",
"which": "^2.0.2"
},
Expand Down
19 changes: 19 additions & 0 deletions playbook-local-only.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
site:
title: OpenZeppelin Docs
url: https://docs.openzeppelin.com
start_page: ROOT::index.adoc
keys:
google_analytics: 'UA-85043059-1'
content:
sources:
- url: .
branches: HEAD
start_path: components/home
ui:
bundle:
url: ./ui/theme
asciidoc:
attributes:
idprefix: ''
urls:
redirect_facility: netlify
3 changes: 3 additions & 0 deletions scripts/watch-local-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
yarn build:theme
cp -r ui/theme/dist build/site/_/
yarn build:local
2 changes: 1 addition & 1 deletion ui/src/css/article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
visibility: visible;
}
}

.listingblock.nopadding {
pre code {
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion ui/theme/dist/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/theme/dist/index.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/theme/dist/index.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ colorette@^2.0.7:
resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a"
integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==

colors@1.4.0:
colors@latest:
version "1.4.0"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
Expand Down Expand Up @@ -1404,13 +1404,13 @@ kind-of@^6.0.2:
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==

live-server@^1.2.1:
version "1.2.2"
resolved "https://registry.yarnpkg.com/live-server/-/live-server-1.2.2.tgz#20b4fe5c2ca886faa61813310e28680804f48dad"
integrity sha512-t28HXLjITRGoMSrCOv4eZ88viHaBVIjKjdI5PO92Vxlu+twbk6aE0t7dVIaz6ZWkjPilYFV6OSdMYl9ybN2B4w==
[email protected]:
version "1.2.1"
resolved "https://registry.yarnpkg.com/live-server/-/live-server-1.2.1.tgz#670630dd409d22fe9c513ab1c1894686c757153e"
integrity sha512-Yn2XCVjErTkqnM3FfTmM7/kWy3zP7+cEtC7x6u+wUzlQ+1UW3zEYbbyJrc0jNDwiMDZI0m4a0i3dxlGHVyXczw==
dependencies:
chokidar "^2.0.4"
colors "1.4.0"
colors latest
connect "^3.6.6"
cors latest
event-stream "3.3.4"
Expand Down

0 comments on commit b44fe07

Please sign in to comment.