Commit ed605c8
Two long-tail CMS rendering problems addressed together.
#82 -- landing-page modules and legacy URLs:
Rewrites legacy URL prefixes in MDX content to match the migrated
/documentation/* tree (same sweep style as #88 did for /dev/*):
/userguide -> /documentation/userguide
/dev -> /documentation/dev
/cite -> /documentation/cite
/icon-info -> /documentation/icon-info
/linking-to-us -> /documentation/linking-to-us
Catches relative, paren-wrapped, angle-bracket-wrapped, and absolute
(https://reactome.org/X) variants. Touches 46 .mdx files.
Three landing pages had a `#### __[ Label ](URL)` heading pattern
that rendered as literal `__` text because the underscores sat
outside the link, so addJumpCards.ts couldn't pick them up. Flips
them to `#### [__Label](URL)` so the underscore-prefix-inside-link
pattern (the same one graph-database etc. already use) triggers
the link-icon transform. Affects:
content/documentation/index.mdx (3 modules)
content/community/index.mdx (3 modules)
content/documentation/userguide.mdx (3 training links)
Verified with chromium --headless --dump-dom: /documentation now
renders 3 .link-icon instances on the page where there were 0.
#76 -- accept .md as well as .mdx:
content.service.ts now tries .mdx first, then falls back to .md.
Single-line additive change with rxjs catchError. So the CMS
pipeline accepts either file extension without forcing renames.
npm run check:nav-options stays green.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9e2aa83 commit ed605c8
48 files changed
Lines changed: 88 additions & 85 deletions
File tree
- projects/website-angular
- content
- about/news
- community
- documentation
- dev
- content-service
- diagram
- faq
- analysis
- fiviz
- general
- general-website
- userguide
- tools
- src/services
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments