Commit Graph

13 Commits

Author SHA1 Message Date
mDuo13
63a1a4828b CSS: Fix colors, footer styling 2024-01-31 16:10:33 -08:00
mDuo13
9265b0bfee Fix CSS styles
- Move docs graphics to appropriate place
- Fix spacing of header anchors
- Fix display of card grids in md
- Fix display of badges
- Fix theme-aware diagram coloring
- Fix left table columns being line-broken too aggressively
2024-01-31 16:10:33 -08:00
mDuo13
ec121f2b3e Fix top nav mobile styles 2024-01-31 16:10:33 -08:00
mDuo13
34986e8ce7 Fix top nav in Redocly 2024-01-31 16:10:33 -08:00
Caleb Kniffen
5a9b40e8c8 Migrate WebSocket Tool to Redocly
Recreate branch from base, add react-query-params, fix permalinks, fix sidebar

use correct params library and upgrade redocly.

Fix command text not working with permalink and move more modal logic out of main component.

Moved more connection selection logic to connection modal
Removed many `data-*` attributes previously used by bootstrap modal css

Created a shared modal component which removed 38 lines.

WS Tool: Fix Link import

fix UL error

toggle CurlModal to show/hide on button clicks

resolve error: <div> cannot appear as a descendant of <p>

remove <span>

WS tool: sidebar fixes
2024-01-31 16:10:32 -08:00
JST5000
0f53f35a2c Migrate toml checker tool
Add baseline html

Add script tags

WIP fetchWallet

Make basic page with account step 1 work

Add decodeHex and helpers to update logs

Add fetchFile to access toml from domain

Copy over code & comment out migrated pieces

Add toml parsing

WIP: Add types and uncomment new code

Update the parseToml function to share code

Mostly migrate the validateDomain function

Fix bug by using for instead of foreach

Clean up code part 1

Refactor into separate files

Translate everything

Componentize the buttons

Split out code into separate files

Update package-lock

Fix spacing and uncomment code

Fix indentation

Fix direct import of xrpl

Fix import

cleaned up log entry handling to not build an array of elements

moved to resource folder and update css.

Move shared components and fix small errors

Move file and update sidebars

Fix slow load of long list of addresses

toml checker - sidebar/width fixes
2024-01-31 16:10:31 -08:00
Caleb Kniffen
9ca9a69ab2 feat: migrate rpc-tool to redocly
Differences between original:
- react18-json-view used for responses
- cleaned up markup for expand and collapse

Original work on this was done by @khancode

Co-authored-by: Omar Khan <khancodegt@gmail.com>

Fix RPC sidebar and width
2024-01-31 16:10:31 -08:00
Caleb Kniffen
2b6e9be7a4 fix: font-awesome font loading take 2
Some of the changes in #2295 are missing
2024-01-31 16:10:31 -08:00
Caleb Kniffen
e314ebb76c Use @uiw/react-codemirror and react@18
Updating redocly to latest and leveraging `@uiw/react-codemirror` which
it also uses.
2024-01-31 16:07:14 -08:00
Caleb Kniffen
1902ec1f6d Move styles building up to the project root
This will make development much easier by having all commands at the
project root. This also removes the deprecated `node-sass`

Fix build-css-watch
2024-01-31 16:07:14 -08:00
JST5000
cb9f332d78 Fix top-nav padding 2024-01-31 16:07:14 -08:00
Caleb Kniffen
ac0f524a21 Move font-awesome css to better reflect relative paths 2024-01-31 16:07:14 -08:00
mDuo13
e4ceb8b37b Temporary: move static files into content
During migration, while we launch Redocly with -d content, the static
files need to be in content. Eventually, when we stop using -d, we need
to move the files again.

Previously:
/assets : static assets used by templates
/img : images used in documentation (mostly)

Now:
/content/static : static assets used by templates
/img : images used in documentation (mostly)

Eventually:
/static : static assets used by templates
/docs/img : images used in documentation
2024-01-31 16:04:58 -08:00