Commit Graph

21 Commits

Author SHA1 Message Date
mDuo13
f841ef173c More Redocly style & key warning fixes:
- Fix unique key warnings on Dev Tools and Docs pages
- Fix active code tab colors in light mode
- Fix dev tools padding
- Fix dev tools cards in light mode
- Fix tx sender sidebar in light mode
- Fix domain verifier example code in light mode
2024-01-31 16:10:33 -08:00
mDuo13
18b2dea128 Fix broken links in partials and tutorials index
- Partials using common links need to be included as raw-partials
- xrpl-card href values need to use the production path, not the MD file
  path.
2024-01-31 16:10:33 -08:00
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
ba4f4f5d30 Fix code samples 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
mDuo13
098f0ea4d9 Add tutorials landing & components 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
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
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
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
7eaa382409 Add missing final newlines 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
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
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