Commit Graph

7238 Commits

Author SHA1 Message Date
mDuo13
07350c031f Bump Redocly to Realm v0.74.3 2024-01-31 16:10:33 -08:00
mDuo13
134c80f583 Add frontmatter to homepage 2024-01-31 16:10:32 -08:00
mDuo13
a0004af536 Fix duplicate description frontmatter error 2024-01-31 16:10:32 -08:00
mDuo13
8259fdffe1 Add dev tools' frontmatter 2024-01-31 16:10:32 -08:00
mDuo13
cf100679c5 Mass-replace blurb with seo:description in frontmatter 2024-01-31 16:10:32 -08:00
mDuo13
a92c76d352 Update contributor documentation for Realm 2024-01-31 16:10:32 -08:00
mDuo13
098f0ea4d9 Add tutorials landing & components 2024-01-31 16:10:32 -08:00
Rome Reginelli
23cd5cc826 Add footer and frontmatter for custom pages (#2347)
Fix #2330
2024-01-31 16:10:32 -08:00
Amarantha Kulkarni
b4489f8649 Migrate dev-blog to Redocly (#2346)
* Step 1 to migrate the blog - Add blog pages from the dev-blog repo

* Add blog-specific sidebar (& update contents)

* Add new dev reflections blog post from 01-23-2024

* Blog migration: fix markdoc errors and broken links

* Remove community pages from the sidebar

---------

Co-authored-by: mDuo13 <mduo13@gmail.com>
2024-01-31 16:10:32 -08:00
mDuo13
33cd1f54a5 Remove badges > ~2yrs old
Version 1.8.0 of rippled was released in late 2021, so any changes prior
to that are historical and no longer need badges.

Fixes #1978
2024-01-31 16:10:32 -08:00
mDuo13
20c7f5d0b1 Remove obsolete validation_seed method page 2024-01-31 16:10:32 -08:00
mDuo13
9b49c9f8c9 Remove py-quickstart-intro.md (duplicate of send-payments-using-python.md) 2024-01-31 16:10:32 -08:00
mDuo13
7b958df22c Add typescript logo to code-samples page 2024-01-31 16:10:32 -08:00
mDuo13
6d881b372d Disable sidebars on About + Community pages 2024-01-31 16:10:32 -08:00
mDuo13
16eed400d2 Bump Redocly to realm 0.74.2 2024-01-31 16:10:32 -08:00
mDuo13
3eb752159b Add not-enabled component 2024-01-31 16:10:32 -08:00
mDuo13
f98a23b9c2 Markdoc: add badge component
[FOLD] Add badge class to badges
2024-01-31 16:10:32 -08:00
mDuo13
732f7d5aa5 Fix Redocly ignores stanza 2024-01-31 16:10:32 -08:00
mDuo13
acf1d6e39b Bump Redocly to realm 0.74.1 2024-01-31 16:10:32 -08:00
mDuo13
caa4ed3c57 Remove inline partial from ledger_data 2024-01-31 16:10:32 -08:00
mDuo13
9fd5c2a135 Remove redocly-incompatible syntax from checks tutorials 2024-01-31 16:10:32 -08:00
mDuo13
7367f119e4 Remove more redocly-incompatible syntax 2024-01-31 16:10:32 -08:00
mDuo13
ee8acbbd22 Migrate interactive tutorials (post realm v0.70)
Attempt migrating interactive tutorial again

Migrate interactive tutorial snippet syntax

Interactive tutorials: partially migrate send-xrp, no-freeze to new syntax

Fix Send XRP interactive tutorial

Interactive tutorials: fixes for Redocly incl. localization challenges

Interactive tutorials: switch defaultValue back to value in anticipation of Redocly bugfix

Fix document.ready→window.onRouteChange, cyclers, etc. in interactive
tutorials.
2024-01-31 16:10:32 -08:00
mDuo13
4c9a8c0bf9 Move XRPLoader component to better place 2024-01-31 16:10:32 -08:00
JST5000
b5608415ca Update domain-verifier
Add manifest outputs and cleaned up log

fix graceful handling of manifest errors and react key attribute

Update Domain Verifier sidebar entry
2024-01-31 16:10:32 -08:00
akcodez
607a3fbf16 Update Redocly versions of Events/Community/Use Cases
updates events page to latest v

add keys to maps

community work

completes contribute/communnity page

uses page

use cases updates

Update content/community/events.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

Update content/community/events.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

q changes

fix errors

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

package lock revert

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

Update content/community/index.page.tsx

Co-authored-by: Rome Reginelli <rome@ripple.com>

qa changes

moves uses into about

fix dupe key errors rm console log

fix wrong import
2024-01-31 16:10:32 -08:00
mDuo13
81f92733ac Bump realm to 0.71.1 2024-01-31 16:10:32 -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
mDuo13
e7978ae247 Remove incompatible sidebar frontmatter 2024-01-31 16:10:32 -08:00
mDuo13
b1f1f1155d Fix redocly/portal→realm import paths 2024-01-31 16:10:32 -08:00
mDuo13
c181de74d7 Fix crash on undefined child-pages 2024-01-31 16:10:32 -08:00
mDuo13
a875171815 Bump Realm to 0.70.0 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
mDuo13
4bb290c74d Bump Redocly to v0.69.4 2024-01-31 16:10:31 -08:00
mDuo13
3c090c73e7 Improve code samples ignore 2024-01-31 16:10:31 -08:00
mDuo13
b06a5039c9 Add working ignores 2024-01-31 16:10:31 -08:00
mDuo13
b057003bac Bump Redocly to v0.69.3 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
mDuo13
0f7457bc28 Fix FAQ location issues 2024-01-31 16:10:31 -08:00
mDuo13
3365219dd4 Move about/resources/community pages appropriately 2024-01-31 16:10:31 -08:00
akcodez
ec28d8fee8 Migrate marketing pages to Redocly
adds events page, updates convert-template script

adds proper filter logic to events page, adds moment

converts history page

converts impact and xrpl-ledger-overview page

try getting animation on impact to work

converts xrp overview page and logic

adds contribute page, still needs typeform integration and animations

converts developer funding page

adds dev tools page

add missing image

adds code samples py conversion to js

adds hook to read current theme, adds animations to impact page

adds careers animations

adds correct animations for contribute page

adds light mode v of animations on contribute page

adds animations to uses page

adds modal logos and uses modal logic

completes uses page

more changes

Fix casing issues with use case files

fix grid issue on uses
2024-01-31 16:10:31 -08:00
mDuo13
65106dd0b5 Restore some tsx pages to sidebars 2024-01-31 16:10:31 -08:00
mDuo13
edde51cc70 Fix Redocly build 2024-01-31 16:10:31 -08:00
mDuo13
554a3732d4 Migrate content syntax via script
The changes in this commit were auto-generated by running

tool/migrate.sh

Following this commit, the Dactyl build no longer works but the Redocly
build (mostly) should.
2024-01-31 16:09:41 -08:00
mDuo13
96121303b2 Create script to migrate links and content syntax
Add tool/migrate.sh as a one-stop conversion script for the whole repo.
This script's duties include:

- Changing all links from their old (.html) paths to new paths
- Converting most Dactyl-specific syntax to Redocly equivalents
- Generating Redocly sidebar and redirects YAML files

This script is meant to be run from the repo top. It replaces syntax
in-place. Unless this is the final migration phase, the results of
running the migration script should be committed in a separate commit
whose message starts with '[DROP]' so it can be re-run on the latest
version of the master branch during rebasing.

Many commits have been squashed into this one, including:

- Add tool/migrate_links.sh as a one-stop conversion script for links.
- Enable the update_links filter in dactyl config but make it inactive
  unless you pass the appropriate vars
- Hack include_svg script to assume content/img instead of img

[FOLD] Migration scripting improvements:

- Roll scripting into all-in-one tool/migrate.sh
- Script moving/renaming Japanese snippets into @i18n
- Link replacment in snippets
- Handle links with query params
- Handle ref-links with anchors
- Remove some macro syntax that breaks Redocly
- Follow internal redirects in link replacement
- Handle links to some non-md pages

[FOLD] Migration script: handle more reflinks & imgs

[FOLD] tweak link migration

[FOLD] Fix substitution of reflinks

Add sidebar script

[FOLD] Fix link migration and whitespace noisiness

[FOLD] Link migration: auto-generate better link replacements

[FOLD] Convert badge syntax

[FOLD] Migration script: handle :not_enabled: syntax

[FOLD] Script generation of redirects

[FOLD] Migration script: make reusable common links

[FOLD] Fix common links code & conversion script comments

[FOLD] Add more non-md links

[FOLD] Fix filter_update_links syntax

[FOLD] Fix script's common links include placement

[FOLD] Migration script: update badge replacement to work w/ common-links

[FOLD] Fix ordering of converting common-links vs partials

[FOLD] Fix link substitution in common-links and fix trailing /index in redirects
2024-01-31 16:07:14 -08:00
mDuo13
65320d793f Deconditionalize common links for conversion 2024-01-31 16:07:14 -08:00
mDuo13
7a04dc326e Disable link subs for better link substitution 2024-01-31 16:07:14 -08:00
mDuo13
9c9898aa45 Commit package-lock to repo 2024-01-31 16:07:14 -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