Commit e4e1d09
authored
Pass documentation context its only bundle during initialization (#1057)
* Add ability to initialize a context with a given bundle
* Update test to verify bundle discovery options in convert command rather than convert action
* Remove unused parameters on DataAssetManager
* Minor refinements to bundle loading test helpers
* Stop using DocumentationConverter in ConvertService
* Update InputsProvider to also return the DataProvider
* Update InputsProvider to raise an error when it can't create inputs
* Remove `throws` for `renderNode(for:)` that doesn't raise any errors
* Stop using DocumentationConverter in ConvertAction
* Update tests that relied on ConvertAction doing validation when run instead of when initialized
* Support initializing TestFileSystem with CopyOfFolder
* Update emit curation action to pass initialize context with bundle
* Use top-level protocol to remain compatible with Swift 5.9
* Make `ConvertActionConverter.convert(...)` synchronous for now
* Remove outdated comment about optional indexer
* Add comment about code that can be simplified after 6.2 is released.
* Add assertion about correct identifier use to new provider code paths1 parent 8e0c017 commit e4e1d09
File tree
29 files changed
+894
-722
lines changed- Sources
- SwiftDocCTestUtilities
- SwiftDocCUtilities
- Action/Actions
- Convert
- ArgumentParsing/ActionExtensions
- SwiftDocC
- Converter
- DocumentationService/Convert
- Infrastructure
- Bundle Assets
- Input Discovery
- Symbol Graph
- Model/Rendering
- Utility
- FoundationExtensions
- Tests
- SwiftDocCTests
- Converter
- DocumentationService/ConvertService
- Infrastructure
- Input Discovery
- SwiftDocCUtilitiesTests
- ArgumentParsing
29 files changed
+894
-722
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
Lines changed: 35 additions & 80 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 14 | + | |
| 15 | + | |
21 | 16 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
53 | 25 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 26 | + | |
| 27 | + | |
74 | 28 | | |
| 29 | + | |
75 | 30 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
81 | 37 | | |
82 | 38 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
99 | 51 | | |
100 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
101 | 56 | | |
Lines changed: 0 additions & 43 deletions
This file was deleted.
0 commit comments