Skip to content

Commit d94cd94

Browse files
authored
Style refresh (#1456)
* remove hbs from docs.js * checkpoint - changes in progress * checkpoint - work in progress * checkpoint * theme switching cleanup - old colors still * color mode switching * remove hardcoding of logo light/dark * menu icons * logged in user * checkpoint menu in progress * auto color theme * Rename colorMode to colorTheme * Theme updates * theme updates * checkpoint - style in progress * checkpoint - start work on tiles * content area widen to 876px, left align with 22px padding * Tile styles * heading and menu Fix heading styles Narrow left navigation menu * fix 3 dots menu * home page grid style * Home page margin fix * button styles in progress * buttons in progress * first internal release * minor fixes - button styling in hex generator - background color of menubar in light mode * dark navbar color fix * font name fix * top navigation background color * header font size * top nav fixes * header resizing fixes * left nav top level style fix * alignment in 3 dots menu * revert accidental change to api-service.json * logo color and border fix * tools colors * Fix top level menus * Increase left nav width * fix links * fix links * Add what's new
1 parent fa607fe commit d94cd94

File tree

94 files changed

+1296
-1141
lines changed

Some content is hidden

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

94 files changed

+1296
-1141
lines changed

.spelling

+1-1
Original file line numberDiff line numberDiff line change
@@ -5728,7 +5728,7 @@ DEVICE_ID_OR_SERIAL_NUMBER
57285728
YYYYMMDD_XXXX
57295729
WSL
57305730
XXXX
5731-
- src/content/getting-started/billing/migrating-to-growth.md
5731+
- src/content/getting-started/billing/migrating-to-basic.md
57325732
Borons
57335733
- src/content/getting-started/products/organizations.md
57345734
RBAC

config/sitemap.json

+70-46
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"hash": "c131d6f4e62284ff4305cd4e9765c08be1c8e9731eb47882a9261303d9c91456"
3232
},
3333
"archives/application-notes.md": {
34-
"date": "2024-02-27",
35-
"hash": "a7796a22cad0f85c62791b628257a027d3b855a8acd5a146f49a8c58836cd24b"
34+
"date": "2024-07-23",
35+
"hash": "1766da74aa8bddf261fbb1bfdffe492197ddac8e5e7b8e1640021f34076cca21"
3636
},
3737
"archives/debugging-with-eclipse.md": {
3838
"date": "2023-09-19",
@@ -383,8 +383,8 @@
383383
"hash": "0362d3eff7b5f0a5c41b2468f28472ebce1fc3bc41035b204721f744f8998d03"
384384
},
385385
"quickstart/setup-next-steps.md": {
386-
"date": "2023-08-03",
387-
"hash": "1df534a9155943d009edf35a7c11f7e521a66ad4e678aa8ad2abbda9badfde27"
386+
"date": "2024-07-23",
387+
"hash": "e50752d341b7aba9f0d553320a105f386c487db93fed22832cca126c5dd2bf33"
388388
},
389389
"quickstart/workbench.md": {
390390
"date": "2024-02-23",
@@ -487,7 +487,7 @@
487487
"hash": "62e2853282649c51aa46fb6f35ef34431aec650a5cd24e04b4ec00750802551c"
488488
},
489489
"firmware/best-practices/code-size-tips.md": {
490-
"date": "2024-07-15",
490+
"date": "2024-07-23",
491491
"hash": "2045fe2912e06af2b7b1518fb7b6bfc4e2daea7c6870ecef7bb7967123a6f1e8"
492492
},
493493
"firmware/best-practices/firmware-build-options.md": {
@@ -595,15 +595,15 @@
595595
"hash": "b64cac79dc2079e0af9ee22eb530859ad8995362643886345614d7e65b554b2d"
596596
},
597597
"getting-started/console/console.md": {
598-
"date": "2024-03-13",
599-
"hash": "1778750406115f0aaccb27a7e6edaca65bc0679b1bb47ed402d87b4aa350bedc"
598+
"date": "2024-07-23",
599+
"hash": "7f48200ed7f4a3be303ed4634a23f2fc037d5d0e0327be9404802d28aa7c1a47"
600600
},
601601
"getting-started/console/development-devices.md": {
602602
"date": "2022-05-18",
603603
"hash": "1e6063dd5390a328f24367fe727df6c3b83af2ddf8ea5bef8315ca765338e3d2"
604604
},
605605
"getting-started/console/device-vitals.md": {
606-
"date": "2024-07-15",
606+
"date": "2024-07-23",
607607
"hash": "8c917406bfdbdae39d2f4fa10d11bc6dcc77ff2a66187d78fa52b7d239218514"
608608
},
609609
"getting-started/console/device-groups.md": {
@@ -775,8 +775,8 @@
775775
"hash": "c14af4f56444a0e4079fc643a303f7782191d2b82bf47249d8f2c384e024eeb7"
776776
},
777777
"integrations/community-integrations/weather.md": {
778-
"date": "2023-08-03",
779-
"hash": "dcfcb12298b5e260b92823d41c2fe2e76db3d1aec20842e63c94c79d4fa04492"
778+
"date": "2024-07-23",
779+
"hash": "1287caf16230d3b9ecd20b12865d78876779cd59fce4c46af1c64f4ea756320b"
780780
},
781781
"integrations/community-integrations/zapier.md": {
782782
"date": "2023-08-03",
@@ -811,8 +811,8 @@
811811
"hash": "760e481edbdcbad00f6b35302c6a8b438d704b29f3a396f39d7ae6bc5b1aa670"
812812
},
813813
"scaling/quick-start-guide/device-communication.md": {
814-
"date": "2023-08-03",
815-
"hash": "4c69cf8e66e6e124ca4ad370c5869ba8cc66e939ac24fc1bccbbf71fb2113e46"
814+
"date": "2024-07-23",
815+
"hash": "446cf123888913a9872c315a041b9a6c6b5ce5b2adb0d0b23f32b8c46109e9be"
816816
},
817817
"scaling/quick-start-guide/enterprise-order-placement.md": {
818818
"date": "2023-09-14",
@@ -903,8 +903,8 @@
903903
"hash": "1bfac612fa218bf406869a363c2e896fa60b006eb74960ff990cea547de2d0c9"
904904
},
905905
"tools/developer-tools/hex-generator.md": {
906-
"date": "2023-06-08",
907-
"hash": "d7e83d30d483a0f20fb3cb38759369863dfed3fce18ba11c9c32f755c33c4780"
906+
"date": "2024-07-23",
907+
"hash": "b1d5239e28a3551c10c0732b4f951a37f9b00b872f6fd8a8ebb70b639ad2f5f0"
908908
},
909909
"tools/developer-tools/lookup.md": {
910910
"date": "2022-05-19",
@@ -999,24 +999,24 @@
999999
"hash": "e1e353090362610b1c69baac04e7a5685a98d800814c2f666ce059470b71eca9"
10001000
},
10011001
"hardware/migration-guides/b-series-boron-migration-guide.md": {
1002-
"date": "2024-06-25",
1003-
"hash": "f554318e8337e4562efa0c663bc5a551a14c5cd0ffadd039f44639baacbb44ac"
1002+
"date": "2024-07-23",
1003+
"hash": "e93d0eb785f72c34ba941dd7b5d29cfe5345ab8c29863d4cef859ecadc5f80e3"
10041004
},
10051005
"hardware/migration-guides/b-series-e-series-migration-guide.md": {
1006-
"date": "2024-06-25",
1007-
"hash": "4fe6dde8e177ca3fc7280a91750438888d3d50b0174a4d580bc90a94b7f7f707"
1006+
"date": "2024-07-23",
1007+
"hash": "f0c90edccef96c2e46529020087543c4cd1abbeae583c7b3a48e3eaf06a14ab9"
10081008
},
10091009
"hardware/migration-guides/b-series-electron-migration-guide.md": {
1010-
"date": "2024-06-25",
1011-
"hash": "e4d4667b151e08c185b79606d1a606b228e38bd7e547d26da1ef4cb0ed150b51"
1010+
"date": "2024-07-23",
1011+
"hash": "795fd8969c7bfba2cf718eac080e4f09cb124829bbc9c187ed78f5780f07cac9"
10121012
},
10131013
"hardware/migration-guides/e404x-migration-guide.md": {
10141014
"date": "2024-02-27",
10151015
"hash": "9ed5cd56c4320b2e640932bae22868e675f9526d5d1fde0dfa468b327b9a16c9"
10161016
},
10171017
"hardware/migration-guides/gen2-cellular-migration.md": {
1018-
"date": "2024-06-25",
1019-
"hash": "5f2fb513adff9348be2ba78fcd49cac461d2cd0d5ea2baa01763e6c2ef7fb71d"
1018+
"date": "2024-07-23",
1019+
"hash": "9be833c03241295b90816821417106367c908f2aabbe23c1b82d6a296678f79a"
10201020
},
10211021
"hardware/migration-guides/p2-argon-migration-guide.md": {
10221022
"date": "2024-05-15",
@@ -1251,8 +1251,8 @@
12511251
"hash": "9cfafc2e8a5d5838695225a46452a203b9457ae1aac1ebd76a4e9467a13a3ea0"
12521252
},
12531253
"reference/tracker/geofencing.md": {
1254-
"date": "2023-08-03",
1255-
"hash": "115460302d6636623f70c615c6b43ecd88eadff18b8b6668bc9c348c741ac8a9"
1254+
"date": "2024-07-23",
1255+
"hash": "c45f0908414aef05824e99d92fa31111fb0e263654f64f2f3afcb1805660e0dd"
12561256
},
12571257
"reference/tracker/location-fusion.md": {
12581258
"date": "2022-11-29",
@@ -1287,7 +1287,7 @@
12871287
"hash": "cb17b9b3cc4a6b1ec669a68399d39a931f48c10d502ec671a80efe0ae79624f6"
12881288
},
12891289
"reference/device-os/firmware.md": {
1290-
"date": "2024-07-15",
1290+
"date": "2024-07-23",
12911291
"hash": "0d2b343950466bd0b6f5fcf80c7597bc5bb8d8d555396b752d4404e556119e38"
12921292
},
12931293
"reference/device-os/pin-info.md": {
@@ -1343,16 +1343,16 @@
13431343
"hash": "c66f07ccdca62f04905f0e4f9401df81fc1e8c713bea6a1d2f4a41dea215dd4f"
13441344
},
13451345
"reference/datasheets/b-series/b404-b402-datasheet.md": {
1346-
"date": "2024-06-27",
1347-
"hash": "6eec1fa72eea8650d05ff3efe4561373c92a575dba7d5e5cbb2c3b5b0ed4c459"
1346+
"date": "2024-07-23",
1347+
"hash": "b64e693b485265b9c52b32c3a55c6f19aa66aad85c35c6e3ee42d327f0a50552"
13481348
},
13491349
"reference/datasheets/b-series/b404x-datasheet.md": {
1350-
"date": "2024-06-27",
1351-
"hash": "d41939e2c1a64dd0d36ccf28b53d212fefc0e26ef796d553366ca622f28bb8c4"
1350+
"date": "2024-07-23",
1351+
"hash": "e038e614ab7d18f557d0be75ca89f81be492cfcbd7bc8945d78fe46bfb181483"
13521352
},
13531353
"reference/datasheets/b-series/b524-b523-datasheet.md": {
1354-
"date": "2024-06-27",
1355-
"hash": "6f796dd4d4309224f75148a9f0071211e3193e6415a177d3d6523d3f91af4620"
1354+
"date": "2024-07-23",
1355+
"hash": "7891987d41bb5153ceea029244b3f023db821954ae4401594a5a432c09ac495c"
13561356
},
13571357
"reference/datasheets/b-series/boron-datasheet.md": {
13581358
"date": "2024-03-19",
@@ -1635,8 +1635,8 @@
16351635
"hash": "555edeb2a69ec53947b30745e408785b0845a075f7affcbe6efa342c9394ba88"
16361636
},
16371637
"troubleshooting/guides/device-troubleshooting/troubleshooting-asset-tracker-issues.md": {
1638-
"date": "2024-02-15",
1639-
"hash": "2ee313631e335afa26eeea6e9a1646f859ebd993cee0827e83bd6a7fef39b49c"
1638+
"date": "2024-07-23",
1639+
"hash": "5979a29e700e20c1eeecbd54cf3e34e4af8ed54cd01e958be4b220d80d02bcfc"
16401640
},
16411641
"troubleshooting/guides/device-troubleshooting/troubleshooting-the-setup-process.md": {
16421642
"date": "2023-11-17",
@@ -3775,7 +3775,7 @@
37753775
"hash": "35d0a2153166b246bc87fb1e1ab042496a8906bf92ead989b8c1e7d3671c7262"
37763776
},
37773777
"reference/device-os/api/system-calls/freememory.md": {
3778-
"date": "2024-07-15",
3778+
"date": "2024-07-23",
37793779
"hash": "96f6779b7884ae5698b97d2b1d1c37629a62106ace3bcecec407d1619ad22e27"
37803780
},
37813781
"reference/device-os/api/system-calls/reset.md": {
@@ -8231,8 +8231,8 @@
82318231
"date": "2023-11-08"
82328232
},
82338233
"getting-started/new.md": {
8234-
"hash": "bdafa129d8d55420dfb3cc5b1eb33b8cd8c0232de75db03390b5109c1e14b9c4",
8235-
"date": "2024-07-12"
8234+
"hash": "9ba4f53dc3a1d66902bac46fac47f1cd5a03e6337ac422f27dae6d3b7040f9a2",
8235+
"date": "2024-07-23"
82368236
},
82378237
"getting-started/cloud/logic.md": {
82388238
"hash": "71a1026986a744d0446ae3a1156cbcb68840de48db731768ccedc6861c035c16",
@@ -8391,16 +8391,16 @@
83918391
"date": "2024-05-21"
83928392
},
83938393
"hardware/migration-guides/msom-e-series-migration-guide.md": {
8394-
"hash": "ae2bbb8b5caae6c63d48cb547a61f968030129d09d9d29278ec4377a1f03698e",
8395-
"date": "2024-05-21"
8394+
"hash": "96a0e634cff50358a9d55b42d8829b0a05ebcae2fcc8a40dc154d9c262319b19",
8395+
"date": "2024-07-23"
83968396
},
83978397
"hardware/migration-guides/msom-p2-migration-guide.md": {
83988398
"hash": "b2d3a201bfc9db423cef0d2ff41e81a631b1c355b706647ae10d3262e7b851b6",
83998399
"date": "2024-05-21"
84008400
},
84018401
"reference/datasheets/m-series/msom-datasheet.md": {
8402-
"hash": "0f4f6eb54e37649218c89a6ea1e2b1c0b3ece2c6e550a1451668be68d0020d81",
8403-
"date": "2024-07-09"
8402+
"hash": "2da7d09c21d47e6bf0394783974de72a205bbb21ac8ffae86fca98b144bba3c9",
8403+
"date": "2024-07-23"
84048404
},
84058405
"reference/datasheets/m-series/muon-datasheet.md": {
84068406
"hash": "3c76986de6559a6b43c5aec83d896c366a2d4064fd51da227e3feafc933c7399",
@@ -9091,8 +9091,8 @@
90919091
"date": "2024-06-06"
90929092
},
90939093
"reference/datasheets/b-series/b504-datasheet.md": {
9094-
"hash": "bc36568de8febb0a7282a810064909ea4de6c9e5617cb1cbb02e9c183c663c26",
9095-
"date": "2024-06-27"
9094+
"hash": "669a0a1b6045b8b2530ded323a0849d6f894acafbbc16276b0b36416e30f4ec0",
9095+
"date": "2024-07-23"
90969096
},
90979097
"hardware/m.2-som/basic-som-design.md": {
90989098
"hash": "8b9c0a383d0a23e8cec201d0cc62f82e97c902a354cd0fdccb5c62d59e677fea",
@@ -9115,16 +9115,40 @@
91159115
"date": "2024-06-28"
91169116
},
91179117
"hardware/som/basic-som-design.md": {
9118-
"hash": "8b9c0a383d0a23e8cec201d0cc62f82e97c902a354cd0fdccb5c62d59e677fea",
9119-
"date": "2024-06-28"
9118+
"hash": "710b077e3532794992955a644f704b2086324c472369cee0759c49cbb4b5ebf5",
9119+
"date": "2024-07-23"
91209120
},
91219121
"hardware/som/som-first-board.md": {
91229122
"hash": "b68d6d837be2b6a36a900749e8ce77ee638e03bd8e1986535b740ba6478b2490",
91239123
"date": "2024-06-28"
91249124
},
91259125
"hardware/som/som-guide.md": {
9126-
"hash": "7c7ac5080307a177302936895d1b30c52cce797747be20e8c824c9afc574e53c",
9127-
"date": "2024-06-28"
9126+
"hash": "4090b34293b2e09eacc4a6d3470201c2bd4f8704f859881bff2e8af2235812b8",
9127+
"date": "2024-07-23"
9128+
},
9129+
"getting-started/getting-started.md": {
9130+
"hash": "ae625053e81b7eb53c24ce1608fedeff29140eb0d8a9e60ca4c4f189b3023423",
9131+
"date": "2024-07-17"
9132+
},
9133+
"firmware/firmware.md": {
9134+
"hash": "ed124065eafd7ded63a4850f62225c8f65db07622e11b6e91e86506a19af19f8",
9135+
"date": "2024-07-23"
9136+
},
9137+
"scaling/scaling.md": {
9138+
"hash": "ed124065eafd7ded63a4850f62225c8f65db07622e11b6e91e86506a19af19f8",
9139+
"date": "2024-07-23"
9140+
},
9141+
"hardware/hardware.md": {
9142+
"hash": "86aceaf0436707213d5fc13c949f8320810e591decf840c3d32ec7c0d5c61af1",
9143+
"date": "2024-07-23"
9144+
},
9145+
"reference/reference.md": {
9146+
"hash": "ed124065eafd7ded63a4850f62225c8f65db07622e11b6e91e86506a19af19f8",
9147+
"date": "2024-07-23"
9148+
},
9149+
"reference/cellular/verizon-faq.md": {
9150+
"hash": "c660ee178f0cc094815ed9a069f7d426c58cb5b2e2c57c190c8c9103cca3a608",
9151+
"date": "2024-07-23"
91289152
}
91299153
}
91309154
}

scripts/FixLinks/app.js

+45
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ for(const old in redirects) {
6060
const cardMapping = JSON.parse(fs.readFileSync(path.join(__dirname, '../../config/card_mapping.json')));
6161

6262
let mdFiles = [];
63+
let menuJsonFiles = [];
6364

6465
function processDir(dir) {
6566
fs.readdirSync(dir, {withFileTypes:true}).forEach(function(dirent, index) {
@@ -70,6 +71,9 @@ function processDir(dir) {
7071
if (dirent.name.match(/md$/i)) {
7172
mdFiles.push(path.join(dir, dirent.name));
7273
}
74+
if (dirent.name == 'menu.json') {
75+
menuJsonFiles.push(path.join(dir, dirent.name));
76+
}
7377
}
7478
});
7579
}
@@ -154,9 +158,50 @@ function processTroubleshooting() {
154158
}
155159
};
156160

161+
function processMenuJsonArray(array) {
162+
for(let obj of array) {
163+
if (Array.isArray(obj)) {
164+
processMenuJsonArray(obj);
165+
}
166+
else {
167+
if (typeof obj['href'] == 'string') {
168+
if (redirects[obj.href]) {
169+
console.log('menu.json href changed '+ obj.href + ' -> ' + redirects[obj.href] + '/');
170+
obj.href = redirects[obj.href] + '/';
171+
}
172+
else {
173+
// console.log('menu json ok ' + obj.href);
174+
}
175+
}
176+
}
177+
}
178+
}
179+
180+
function processMenuJsonFiles() {
181+
for(const menuJsonFile of menuJsonFiles) {
182+
const orig = fs.readFileSync(menuJsonFile, 'utf8');
183+
let json = JSON.parse(orig);
184+
185+
for(const key in json) {
186+
if (Array.isArray(json[key])) {
187+
processMenuJsonArray(json[key]);
188+
}
189+
}
190+
191+
const final = JSON.stringify(json, null, 2);
192+
if (orig != final) {
193+
fs.writeFileSync(menuJsonFile, final);
194+
console.log(menuJsonFile + ' updated');
195+
}
196+
}
197+
}
198+
157199
processTroubleshooting();
158200

159201
processDir(contentRoot);
202+
203+
processMenuJsonFiles();
204+
160205
processNextMdFile();
161206

162207
// console.log('mdFiles', mdFiles);

scripts/pdf-generation/hashes.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"asset-tracking/tracker-som-datasheet.md": "01c81805a56859ddcad3f09872e1605b",
1212
"asset-tracking/tracker-som-eval-board.md": "1873ff3f403c48af40439d5beb0fae6d",
1313
"b-series/b-series-eval-board.md": "7845f9b2e7cf96a6b0f4882a3e56bfaf",
14-
"b-series/b404-b402-datasheet.md": "2acae19df8c8a3cec0d24144e3777322",
14+
"b-series/b404-b402-datasheet.md": "187186c8c563bdd52219bedbd4954d2f",
1515
"b-series/b404x-b404-b402-datasheet.md": "319f382fbfbc81f33eed5c214a1891de",
1616
"b-series/b404x-certification.md": "3547986a6b3996595ee186f5a39057fa",
17-
"b-series/b404x-datasheet.md": "d808fa48b7e3c343e3b572377946a819",
18-
"b-series/b504-datasheet.md": "4a0c5e9c6bdec204507b7b8e021dc219",
19-
"b-series/b524-b523-datasheet.md": "15b595af0bd8c9165f59021928e19f2a",
20-
"b-series/b524-japan-datasheet.md": "aca1eb81ee4af2d244fafcf55dfdb24d",
17+
"b-series/b404x-datasheet.md": "35b7b1cad1b45883f8040dbf0b98586c",
18+
"b-series/b504-datasheet.md": "07b02fb1495b640dbebf9bfb121bda75",
19+
"b-series/b524-b523-datasheet.md": "c75232b2e86269b71decab56195853bb",
20+
"b-series/b524-japan-datasheet.md": "91776851138642fe4691156e2fe50cf7",
2121
"b-series/boron-datasheet.md": "797e696d5d91852a529ca77c3beebd27",
2222
"b-series/brn404x-certification.md": "d4dc68fe95a14e2d62ea7497aba97a6d",
2323
"b-series/brn404x-datasheet.md": "0912691b74775c9f7ec359e07b8b1414",
@@ -47,7 +47,7 @@
4747
"electron/e404x-migration-guide.md": "a37e66b107e587e48fa30113bd95f1f9",
4848
"electron/electron-datasheet.md": "aab2224ee0efc87c42d759fff5bd9557",
4949
"m-series/m2-breakout-datasheet.md": "953b0fa9a55dfc96c86ac9b26015eba6",
50-
"m-series/msom-datasheet.md": "8c9fb80454a6a2acaaacb2686219ffa1",
50+
"m-series/msom-datasheet.md": "2eb2f70b3e2ec6c28791e82a67d3d489",
5151
"m-series/muon-datasheet.md": "e0813b249e32af2df10958d6cecefb0a",
5252
"tan001-sara-r410m-124-day.md": "5c292d077a8d861693cf632fb3f2387a",
5353
"tan002-tracker-one-v10-shipping-mode.md": "a4002a43d7405f19e6f19d5178926cba",

src/assets/files/troubleshooting.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@
531531
"buttons": [
532532
{
533533
"title": "Visit the integrations getting started guide",
534-
"url": "/integrations/integrations"
534+
"url": "/integrations/integrations/aws"
535535
},
536536
{
537537
"title": "Visit the console to manage integrations",

src/assets/images/menu-3dots-dark.png

1.05 KB
Loading
1.06 KB
Loading
913 Bytes
Loading
913 Bytes
Loading
960 Bytes
Loading
957 Bytes
Loading
970 Bytes
Loading
1004 Bytes
Loading
920 Bytes
Loading
933 Bytes
Loading
970 Bytes
Loading
993 Bytes
Loading
1.39 KB
Loading
1.44 KB
Loading

src/assets/images/menu-theme-dark.png

1.08 KB
Loading
1.09 KB
Loading
1.08 KB
Loading
1.06 KB
Loading
1.08 KB
Loading
1.06 KB
Loading

0 commit comments

Comments
 (0)