Commit Graph

4355 Commits

Author SHA1 Message Date
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
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
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
65320d793f Deconditionalize common links for conversion 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
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
0d0187b4ee Migrate the tx-sender page to Redocly
Update convert-template

Add basic page

Add it to the sidebar

Fix a broken link

Fix translate usage and add linebreaks

Fix indents

Add basic sidebar

Port over init button logic

Migrate submit_and_notify and start dest addr

Get the payment button working

Componentize the Send XRP Payment button

Add basic escrow button

Componentize payment channel

Migrate Trust For

Migrate Send Issued Currency

Add partial payment progres bar logic

Use the component for the partial payment

Add support for escrow finish

Log transactions in sidebar

Debugging partial payment setup

Add support for changing destinationAddress

Finish adding bootstrap growl notifications

Use 'client' instead of 'api'

Move DestinationAddressInput to component and remove ids

Split the page into separate files

Remove the old files for this page

Update links

Add space

Add comment deprecating bootstrap-growl jquery

Fix typing errors

PR Comments Pt 1

Small PR fixes

Encapsulate isValidDestinationAddress
2024-01-31 16:07:14 -08:00
Jackson Mills
64a91fc0a8 Migrate the faucet page to Redocly (#2243)
* Get basic HTML loading for faucet page

* Add xrpl.js implementation

* Add sidebar and fix throbber

* Add translates

* Try to format sidebar

* Fix formatting

* Support xrpl.js

* Fix links

* Comment out XRPLGuard for now

* Make AMM Devnet faucet work

* Improve readability

* Update all instances of link + fix topnav

* Remove unnecessary file

* Use a more current version of xrpl

* Add missing loader while keys are generating

* Type with xrpl and remove unnecessary script

* Use string interpolation instead of multiple trans

* Move faucets into a json file

* Remove the old faucet code

* Use xrpl-beta directly

* Use dropsToXRP

* Support hooks natively

* Remove AMM-Devnet

* Revert changes to link path

* Revert link changes pt 2

* Revert pt 3

* Use XRPLoader for loading icon

* Fix small mistakes

* Remove unnecessary changes
2024-01-31 16:07:14 -08:00
mDuo13
7eaa382409 Add missing final newlines 2024-01-31 16:07:14 -08:00
mDuo13
5ed797dd16 Fix broken images in some pages 2024-01-31 16:07:14 -08:00
Roman Hotsiy
fc626fcae5 chore: basic impl of code-samples page 2024-01-31 16:07:14 -08:00
mDuo13
5de9b90610 Fix multicode typo in rhel install 2024-01-31 16:07:14 -08:00
mDuo13
d63ae20c3e Rename DepositAuth table to md for compatibility 2024-01-31 16:07:14 -08:00
mDuo13
817ea3732f Markdown syntax migration script
Script replacing include_code with code-snippet

Migration script: partials, some variables

Add variables to conversion script

draft repo-link component

Complete repo-link component

Migration script: handle github links

Draft include_svg→inline-svg (non-functional)

Currently doesn't work due to image path issues.
Also, captions and custom classes (for inlining) not implemented yet.

Conversion script: refactor & add code-page-name

Custom code-page-name component works around Markdoc limitation where
vars can't be used in `inline code` sections.

Migrate script: Handle more code includes correctly

Migration script: tabs and tabbed code samples

Child pages macro & conversion script

Adapted from 70cffa67ed

Migration script: update with some partial fixes

Migration script: callouts→admonitions

Fix auto-generation of index pages

Migration script: fix SVG migration

Migration scripting: fix code block prefixes & indentation

- Use the Redocly 0.66 feature for code block prefixes
- Update the script for converting indented code blocks to fences with
  Roman's latest fixes (now uses 4 spaces per level, for consistency)
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
3830b779e5 Updated redocly sidebar generation 2024-01-31 16:07:14 -08:00
mDuo13
3bbca515c1 Temporary notes for resolving some Redocly errors 2024-01-31 16:07:13 -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
Roman Hotsiy
400f638859 chore: fix docs page after migration 2024-01-31 16:04:34 -08:00
Amarantha Kulkarni
c566aa9401 Convert page-docs.html.jinja to tsx using the convert-template.cjs script 2024-01-31 16:04:34 -08:00
Roman Hotsiy
f480162b4d chore: small fix in the plugin 2024-01-31 16:04:34 -08:00
Roman Hotsiy
595b470679 chore: basic menu migration, not finished 2024-01-31 16:04:34 -08:00
Roman Hotsiy
0e181b3790 chore: index page plugin 2024-01-31 16:04:33 -08:00
Roman Hotsiy
c5e0e07cf3 chore: add convert template script and convert index page 2024-01-31 16:04:33 -08:00
Roman Hotsiy
f6be0f0956 Add basic Redocly config 2024-01-31 16:04:33 -08:00
tequ
f108b3312d [JA] update system-requirements 2024-01-30 16:14:19 +09:00
Rome Reginelli
cc064db648 Merge pull request #2319 from XRPLF/server_state-Clio
Update server_state docs for Clio
2024-01-22 17:54:03 -08:00
Rome Reginelli
e400baf60e Merge pull request #2343 from XRPLF/dependabot/pip/content/_code-samples/airgapped-wallet/py/pillow-10.2.0
Bump pillow from 10.0.1 to 10.2.0 in /content/_code-samples/airgapped-wallet/py
2024-01-22 17:53:38 -08:00
Rome Reginelli
ee5890dec2 Merge pull request #2342 from XRPLF/dependabot/npm_and_yarn/content/_code-samples/build-a-browser-wallet/js/vite-4.5.2
Bump vite from 4.1.5 to 4.5.2 in /content/_code-samples/build-a-browser-wallet/js
2024-01-22 17:53:03 -08:00
Rome Reginelli
4e0efe26ba Merge pull request #2340 from XRPLF/api-v2-updates
First round of API v2 updates.
2024-01-22 17:52:29 -08:00
dependabot[bot]
f88be7a867 Bump pillow in /content/_code-samples/airgapped-wallet/py
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.1 to 10.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.1...10.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 22:07:40 +00:00
dependabot[bot]
2f67983c1b Bump vite in /content/_code-samples/build-a-browser-wallet/js
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.5 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 23:19:00 +00:00
Oliver Eggert
1d610ea5e5 apply reviewer suggestions 2024-01-19 13:44:55 -08:00
Rome Reginelli
5d9d3039ca Merge pull request #2334 from lathanbritz/master
up the example default delete to 30,000
2024-01-17 12:32:45 -08:00
oeggert
9476083220 Merge pull request #2341 from XRPLF/2.0-misc-updates
Additional 2.0 doc updates.
2024-01-17 11:29:25 -08:00
Oliver Eggert
c52ef75137 fix links 2024-01-17 10:41:54 -08:00
Oliver Eggert
00262880b9 additional 2.0 doc updates 2024-01-12 01:09:01 -08:00
Oliver Eggert
1b32202fd6 first round of apiv2 updates 2024-01-11 19:32:47 -08:00
tequ
29700e7657 [JA] #2304 2024-01-12 12:11:34 +09:00
tequ
d678d5d150 [JA] #2320 2024-01-12 12:06:47 +09:00
Lathan Britz
5b8783e0ab up the example default delete to 30,000 as lower values have shown issues in production 2024-01-11 16:24:54 -03:00