Commit Graph

9 Commits

Author SHA1 Message Date
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
c181de74d7 Fix crash on undefined child-pages 2024-01-31 16:10:32 -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