Commit d304317
authored
Merge automatically curated task groups (#931)
* Merges automatically curated groups with manually curated groups
Changes the automatic curation logic for symbols to only create a new section if an existing manually curated section does not already exist.
If the section already exists, it adds the automatically curated symbols onto the existing section.
* Adds test for merging automatically curated symbol task groups
Adds a unit test to verify that the automatic curation logic for symbols is to only create a new section if an existing manually curated section does not already exist (rdar://61899214).
* Adds comment about combined references in merged topics
Adds a comment explaining that merging references between manually & automatic curated topics without checking for duplicates should be safe, and explains the logic behind this thinking.
Resolves rdar://61899214.1 parent fd9a406 commit d304317
File tree
2 files changed
+70
-7
lines changed- Sources/SwiftDocC/Model/Rendering
- Tests/SwiftDocCTests/Infrastructure
2 files changed
+70
-7
lines changedLines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1546 | 1546 | | |
1547 | 1547 | | |
1548 | 1548 | | |
1549 | | - | |
1550 | 1549 | | |
1551 | 1550 | | |
1552 | | - | |
1553 | | - | |
1554 | | - | |
1555 | | - | |
| 1551 | + | |
| 1552 | + | |
1556 | 1553 | | |
1557 | | - | |
1558 | | - | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1559 | 1566 | | |
1560 | 1567 | | |
1561 | 1568 | | |
| |||
Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
787 | 843 | | |
788 | 844 | | |
789 | 845 | | |
| |||
0 commit comments