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

Infobar build fix #214

Merged
merged 4 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const config = {
announcementBar: {
id: "mainnet",
content:
`Cartesi Rollups is Mainnet Ready! Over 1M in CTSI is up for grabs... if you can <a href="https://honeypot.cartesi.io/" target="_blank" rel="noopener noreferrer">hack Cartesi Rollups</a>.`,
'Cartesi Rollups is Mainnet Ready! {{balance}} in {{symbol}} is up for grabs... if you can <a href="https://honeypot.cartesi.io/" target="_blank" rel="noopener noreferrer">hack Cartesi Rollups</a>.',

backgroundColor: "rgba(0, 0, 0, 0.7)",
textColor: "#FFFFFF",
Expand Down Expand Up @@ -357,7 +357,7 @@ const config = {
],
},
versions: {
"1.5": {
1.5: {
label: "1.5",
path: "1.5",
},
Expand All @@ -374,12 +374,12 @@ const config = {
from: "/cartesi-rollups/",
},
{
to:"/cartesi-rollups/1.5/development/cli-commands/",
from:"/cartesi-rollups/1.5/development/node-configuration/"
to: "/cartesi-rollups/1.5/development/cli-commands/",
from: "/cartesi-rollups/1.5/development/node-configuration/",
},
{
to:"/cartesi-rollups/1.3/",
from:"/cartesi-rollups/overview"
to: "/cartesi-rollups/1.3/",
from: "/cartesi-rollups/overview",
},
{
to: "/cartesi-machine/",
Expand Down Expand Up @@ -434,7 +434,7 @@ const config = {
),
existingPath.replace(
"/cartesi-rollups/1.5/development/node-configuration/",
"/cartesi-rollups/1.5/development/cli-commands/",
"/cartesi-rollups/1.5/development/cli-commands/"
),
existingPath.replace(
"/cartesi-rollups/1.0/main-concepts",
Expand Down Expand Up @@ -513,15 +513,19 @@ const config = {
config: {
backEndApi: {
// Note: petstore key is treated as the <id> and can be used to specify an API doc instance when using CLI commands
specPath: "cartesi-rollups_versioned_docs/version-1.5/rollups-apis/rollup.yaml", // Path to designated spec file
outputDir: "cartesi-rollups_versioned_docs/version-1.5/rollups-apis/rollup", // Output directory for generated .mdx docs
specPath:
"cartesi-rollups_versioned_docs/version-1.5/rollups-apis/rollup.yaml", // Path to designated spec file
outputDir:
"cartesi-rollups_versioned_docs/version-1.5/rollups-apis/rollup", // Output directory for generated .mdx docs
sidebarOptions: {
groupPathsBy: "tag",
},
},
frontEndApi: {
specPath: "cartesi-rollups_versioned_docs/version-1.5/rollups-apis/inspect.yaml",
outputDir: "cartesi-rollups_versioned_docs/version-1.5/rollups-apis/inspect",
specPath:
"cartesi-rollups_versioned_docs/version-1.5/rollups-apis/inspect.yaml",
outputDir:
"cartesi-rollups_versioned_docs/version-1.5/rollups-apis/inspect",
},
},
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"react-dom": "^17.0.1",
"react-tooltip": "^5.21.4",
"sass": "^1.72.0",
"tailwindcss": "^3.1.7"
"tailwindcss": "^3.1.7",
"viem": "^2.19.4"
},
"browserslist": {
"production": [
Expand Down
Loading
Loading