mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-29 19:34:29 +01:00
docs: variantSubsections and readSkillEffective docblocks name added subsections; office-hours cap history ends 'Before: 1.2279' (ship Step 9.4)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
01818d5dda
commit
a3c6fc01bb
3 files changed
+5
-4
No files matched your search
@@ -64,8 +64,9 @@ const headingOf = (section: string) => section.split('\n', 1)[0]!;
|
||||
|
||||
/**
|
||||
* A skill-specific variant of a shared section, cut down to the `### `
|
||||
* subsections that differ, when the two share their heading, intro and
|
||||
* subsection headings. Otherwise the whole section stays inline.
|
||||
* subsections that differ plus any it adds after the shared ones, when it
|
||||
* keeps the shared heading, intro and subsection headings in order.
|
||||
* Otherwise the whole section stays inline.
|
||||
*/
|
||||
function variantSubsections(own: string, shared: string): string | null {
|
||||
const ownParts = splitSections(own, '### ');
|
||||
|
||||
Reference in new issue
Block a user