Skip to content

Commit 2c1dfe2

Browse files
Merge pull request #32 from TaskarCenterAtUW/feat/docs-events/2903-add-placeholder-pages
Create NDA-Vancouver placeholder pages
2 parents 13115cb + fada830 commit 2c1dfe2

File tree

51 files changed

+14429
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+14429
-14
lines changed

docs/events/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ _Content will be added as it becomes available._
2828

2929
---
3030

31+
### Nondrivers Alliance: Clark County Walk/Roll Event
32+
33+
**Time:** January 20th, 2026 | 12:00 PM PT - 4:30 PM PT
34+
35+
**Location:** Vancouver, WA
36+
37+
**Related Content:**
38+
39+
Visit the [Clark County Walk/Roll Event](nda-vancouver/index.md) page to access resources and more information!
40+
41+
---
42+
3143
### OpenThePaths 2026
3244

3345
**Time:** February 26th & 27th, 2026 | 9:00 AM PT – 4:00 PM PT
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: AccessMap Guide
3+
tags:
4+
- Guide
5+
- External
6+
- User
7+
# exclude-from-parent-guides-list
8+
# exclude-from-main-guides-list
9+
---
10+
11+
<!-- @format -->
12+
13+
# AccessMap Guide
14+
15+
This page contains information about accessing and using AccessMap at the [Clark County Walk/Roll Event](index.md).
16+
17+
---
18+
19+
_Coming soon!_
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: AVIV ScoutRoute Guide
3+
tags:
4+
- Guide
5+
- External
6+
- User
7+
# exclude-from-parent-guides-list
8+
# exclude-from-main-guides-list
9+
---
10+
11+
<!-- @format -->
12+
13+
# AVIV ScoutRoute Guide
14+
15+
This page contains information about installing and using the AVIV ScoutRoute mobile application at the [Clark County Walk/Roll Event](index.md).
16+
17+
---
18+
19+
_Coming soon!_

docs/events/nda-vancouver/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Clark County Walk/Roll Event
3+
---
4+
5+
<!-- @format -->
6+
7+
# Clark County Walk/Roll Event
8+
9+
The Clark County Walk/Roll Event is an in-person event led by the [Nondrivers Alliance](https://nondrivers.org/) (NDA) in coordination with the Taskar Center for Accessible Technology (TCAT).
10+
11+
## Resources
12+
13+
### AccessMap
14+
15+
Visit the [AccessMap Guide](accessmap.md) for information about accessing and using AccessMap at this event.
16+
17+
### AVIV ScoutRoute
18+
19+
Visit the [AVIV ScoutRoute Guide](aviv-scoutroute.md) for information about installing and using the AVIV ScoutRoute mobile application at this event.

docs/javascripts/extra.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const titleMapSource = {
2424
"guides list": "Guides List",
2525
"user manual": "User Manual",
2626
"tcat wiki": "TCAT Wiki",
27+
"nda vancouver": "Clark County Walk/Roll Event",
2728
};
2829

2930
/**
@@ -43,11 +44,13 @@ const titleMap = Object.fromEntries(
4344

4445
/**
4546
* Converts a string to Title Case.
47+
* Handles slash-separated words (e.g., "Walk/Roll") correctly.
4648
* @param {string} str - The string to convert
4749
* @returns {string} - The string in Title Case
4850
*/
4951
function toTitleCase(str) {
50-
return str.replace(/\w\S*/g, (word) => {
52+
// Match word characters, treating / as a word boundary
53+
return str.replace(/\w+/g, (word) => {
5154
return word.charAt(0).toUpperCase() + word.substr(1).toLowerCase();
5255
});
5356
}
@@ -75,13 +78,29 @@ function applyTitleCapitalization(text) {
7578
// Track which parts have been replaced by titleMap entries
7679
const replacements = [];
7780

81+
// First, protect any titleMapSource VALUES that appear in the text
82+
// (e.g., if text already contains "Clark County Walk/Roll Event" from frontmatter)
83+
for (const value of Object.values(titleMapSource)) {
84+
// Escape special regex characters in the value
85+
const escapedValue = value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
86+
const regex = new RegExp(escapedValue, "gi");
87+
result = result.replace(regex, (match) => {
88+
// If the match has correct casing, preserve it; otherwise use the canonical value
89+
replacements.push({
90+
original: match,
91+
replacement: match === value ? value : value,
92+
});
93+
return `\x00${replacements.length - 1}\x00`;
94+
});
95+
}
96+
97+
// Then, match titleMapSource KEYS and replace with their values
7898
for (const [key, value] of Object.entries(titleMapSource)) {
7999
// Create regex to match the key with spaces or dashes interchangeably
80100
const pattern = key.replace(/ /g, "[- ]");
81101
const regex = new RegExp(`\\b${pattern}\\b`, "gi");
82102
result = result.replace(regex, (match) => {
83103
replacements.push({ original: match, replacement: value });
84-
// Use a placeholder to protect this from Title Case transformation
85104
return `\x00${replacements.length - 1}\x00`;
86105
});
87106
}

includes/abbreviations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
*[NACTO]: National Association of City Transportation Officials
6262
*[NCHRP]: National Cooperative Highway Research Program
6363
*[NC-BPAID]: National Collaboration on Bicycle, Pedestrian, and Accessibility Infrastructure Data
64+
*[NDA]: Nondrivers Alliance
6465
*[NEMT]: Non-Emergency Medical Transportation
6566
*[NHS]: National Highway System
6667
*[NHTSA]: National Highway Traffic Safety Administration

site/404.html

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,8 @@
960960

961961

962962

963+
964+
963965

964966

965967

@@ -994,6 +996,11 @@
994996

995997
</a>
996998

999+
1000+
<label class="md-nav__link " for="__nav_5" id="__nav_5_label" tabindex="0">
1001+
<span class="md-nav__icon md-icon"></span>
1002+
</label>
1003+
9971004
</div>
9981005

9991006
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
@@ -1009,6 +1016,141 @@
10091016

10101017

10111018

1019+
1020+
1021+
1022+
1023+
1024+
1025+
1026+
1027+
1028+
1029+
1030+
1031+
1032+
1033+
1034+
1035+
1036+
1037+
1038+
1039+
1040+
1041+
1042+
1043+
1044+
1045+
<li class="md-nav__item md-nav__item--nested">
1046+
1047+
1048+
1049+
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_2" >
1050+
1051+
1052+
<div class="md-nav__link md-nav__container">
1053+
<a href="/tcat-wiki/events/nda-vancouver/" class="md-nav__link ">
1054+
1055+
1056+
1057+
<span class="md-ellipsis">
1058+
1059+
1060+
Nda vancouver
1061+
1062+
1063+
1064+
</span>
1065+
1066+
1067+
1068+
</a>
1069+
1070+
1071+
<label class="md-nav__link " for="__nav_5_2" id="__nav_5_2_label" tabindex="0">
1072+
<span class="md-nav__icon md-icon"></span>
1073+
</label>
1074+
1075+
</div>
1076+
1077+
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_2_label" aria-expanded="false">
1078+
<label class="md-nav__title" for="__nav_5_2">
1079+
<span class="md-nav__icon md-icon"></span>
1080+
1081+
1082+
Nda vancouver
1083+
1084+
1085+
</label>
1086+
<ul class="md-nav__list" data-md-scrollfix>
1087+
1088+
1089+
1090+
1091+
1092+
1093+
1094+
1095+
1096+
<li class="md-nav__item">
1097+
<a href="/tcat-wiki/events/nda-vancouver/accessmap/" class="md-nav__link">
1098+
1099+
1100+
1101+
<span class="md-ellipsis">
1102+
1103+
1104+
AccessMap Guide
1105+
1106+
1107+
1108+
</span>
1109+
1110+
1111+
1112+
</a>
1113+
</li>
1114+
1115+
1116+
1117+
1118+
1119+
1120+
1121+
1122+
1123+
1124+
<li class="md-nav__item">
1125+
<a href="/tcat-wiki/events/nda-vancouver/aviv-scoutroute/" class="md-nav__link">
1126+
1127+
1128+
1129+
<span class="md-ellipsis">
1130+
1131+
1132+
AVIV ScoutRoute Guide
1133+
1134+
1135+
1136+
</span>
1137+
1138+
1139+
1140+
</a>
1141+
</li>
1142+
1143+
1144+
1145+
1146+
</ul>
1147+
</nav>
1148+
1149+
</li>
1150+
1151+
1152+
1153+
10121154
</ul>
10131155
</nav>
10141156

0 commit comments

Comments
 (0)