File tree Expand file tree Collapse file tree 10 files changed +21
-10
lines changed
SwiftDocC/Model/Rendering/HTML Expand file tree Collapse file tree 10 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718package extension MarkdownRenderer {
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718package extension MarkdownRenderer {
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718package import DocCCommon
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718package import Markdown
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718package import Markdown
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718package import Markdown
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718package import DocCCommon
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718extension XMLNode {
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- package import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413package import FoundationXML
14+ #else
15+ package import Foundation
1516#endif
1617
1718/// A consumer for HTML content produced during documentation conversion.
Original file line number Diff line number Diff line change 88 See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99*/
1010
11- import Foundation
1211#if canImport(FoundationXML)
1312// FIXME: See if we can avoid depending on XMLNode/XMLParser to avoid needing to import FoundationXML
1413import FoundationXML
14+ import FoundationEssentials
15+ #else
16+ import Foundation
1517#endif
1618import DocCHTML
1719import Markdown
You can’t perform that action at this time.
0 commit comments