Last active
March 1, 2023 23:02
-
-
Save mportiz08/03193ba981c168697c89c2de1fccdd6f to your computer and use it in GitHub Desktop.
Add swift-docc-plugin and example theme-settings.json to swift-argument-parser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/[email protected] b/[email protected] | |
index b70ee3a..228bd37 100644 | |
--- a/[email protected] | |
+++ b/[email protected] | |
@@ -22,7 +22,9 @@ var package = Package( | |
name: "GenerateManual", | |
targets: ["GenerateManual"]), | |
], | |
- dependencies: [], | |
+ dependencies: [ | |
+ .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.1.0"), | |
+ ], | |
targets: [ | |
// Core Library | |
.target( | |
diff --git a/Sources/ArgumentParser/Documentation.docc/theme-settings.json b/Sources/ArgumentParser/Documentation.docc/theme-settings.json | |
new file mode 100644 | |
index 0000000..2222f1d | |
--- /dev/null | |
+++ b/Sources/ArgumentParser/Documentation.docc/theme-settings.json | |
@@ -0,0 +1,9 @@ | |
+{ | |
+ "features": { | |
+ "docs": { | |
+ "quickNavigationPreview": { | |
+ "enable": true | |
+ } | |
+ } | |
+ } | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment