fix: restore Python/C++ as TODO sub-headings in roadmap
Move CPP and PYTHON back to *** TODO sub-headings instead of properties drawer entries. Remove [My Solution] from Notes links.
This commit is contained in:
@@ -238,14 +238,17 @@ function buildOrg(sortedNodes, problemsByTopic) {
|
|||||||
lines.push(`** TODO ${num}. ${p.name} :${tag}:`);
|
lines.push(`** TODO ${num}. ${p.name} :${tag}:`);
|
||||||
lines.push(`:PROPERTIES:`);
|
lines.push(`:PROPERTIES:`);
|
||||||
lines.push(`:LEETCODE: [[${lcUrl}][Problem]]`);
|
lines.push(`:LEETCODE: [[${lcUrl}][Problem]]`);
|
||||||
lines.push(`:CPP: [[${GITHUB_SOLUTIONS}cpp/${p.code}.cpp][Solution]]`);
|
|
||||||
lines.push(`:PYTHON: [[${GITHUB_SOLUTIONS}python/${p.code}.py][Solution]]`);
|
|
||||||
if (p.video)
|
if (p.video)
|
||||||
lines.push(
|
lines.push(
|
||||||
`:VIDEO: [[https://youtube.com/watch?v=${p.video}][Watch]]`
|
`:VIDEO: [[https://youtube.com/watch?v=${p.video}][Watch]]`
|
||||||
);
|
);
|
||||||
lines.push(`:END:`);
|
lines.push(`:END:`);
|
||||||
lines.push(`Notes: [[${notesFile}][My Solution]]`);
|
lines.push("");
|
||||||
|
lines.push(`*** TODO Python`);
|
||||||
|
lines.push(`- [[${GITHUB_SOLUTIONS}python/${p.code}.py][${p.code}.py]]`);
|
||||||
|
lines.push(`*** TODO C++`);
|
||||||
|
lines.push(`- [[${GITHUB_SOLUTIONS}cpp/${p.code}.cpp][${p.code}.cpp]]`);
|
||||||
|
lines.push(`Notes: [[${notesFile}]]`);
|
||||||
}
|
}
|
||||||
lines.push("");
|
lines.push("");
|
||||||
}
|
}
|
||||||
|
|||||||
+996
-399
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user