Skip to content

Commit

Permalink
Merge pull request #13 from li3zhen1/gh-pages
Browse files Browse the repository at this point in the history
Fix theme-settings.json
  • Loading branch information
li3zhen1 authored Oct 18, 2023
2 parents fb3705b + 96ec089 commit cc1bd49
Show file tree
Hide file tree
Showing 136 changed files with 182 additions and 264 deletions.
11 changes: 1 addition & 10 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-docc-plugin",
"state" : {
"revision" : "26ac5758409154cc448d7ab82389c520fa8a8247",
"version" : "1.3.0"
}
},
{
"identity" : "swift-docc-symbolkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-docc-symbolkit",
"state" : {
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
"revision" : "3303b164430d9a7055ba484c8ead67a52f7b74f6",
"version" : "1.0.0"
}
}
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -8,7 +8,7 @@ let package = Package(
platforms: [
.macOS(.v12),
.iOS(.v13),
.watchOS(.v10),
.watchOS(.v9),
],

products: [
Expand All @@ -28,7 +28,7 @@ let package = Package(

dependencies: [
// other dependencies
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.1.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", exact: "1.0.0"),
],

targets: [
Expand Down
2 changes: 1 addition & 1 deletion docs/data/documentation/forcesimulation.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data/documentation/forcesimulation/centerforce.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"metadata":{"role":"symbol","symbolKind":"class","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"CenterForce","kind":"identifier"}],"title":"CenterForce","modules":[{"name":"ForceSimulation"}],"navigatorTitle":[{"kind":"identifier","text":"CenterForce"}],"externalID":"s:15ForceSimulation06CenterA0C","roleHeading":"Class"},"kind":"symbol","identifier":{"url":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"final","kind":"keyword"},{"kind":"text","text":" "},{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CenterForce","kind":"identifier"},{"text":"<","kind":"text"},{"text":"NodeID","kind":"genericParameter"},{"text":", ","kind":"text"},{"text":"V","kind":"genericParameter"},{"text":"> ","kind":"text"},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"text":"NodeID","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"Hashable","kind":"typeIdentifier","preciseIdentifier":"s:SH"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"V"},{"text":" : ","kind":"text"},{"text":"VectorLike","preciseIdentifier":"s:6NDTree10VectorLikeP","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"V","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Scalar","kind":"typeIdentifier"},{"kind":"text","text":" == "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sd","text":"Double"}],"languages":["swift"]}]}],"relationshipsSections":[{"identifiers":["doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/ForceLike"],"title":"Conforms To","kind":"relationships","type":"conformsTo"}],"hierarchy":{"paths":[["doc:\/\/ForceSimulation\/documentation\/ForceSimulation"]]},"abstract":[{"text":"A force that represents links between nodes.","type":"text"}],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/center","doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/strength"]},{"title":"Instance Methods","identifiers":["doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)"]}],"variants":[{"paths":["\/documentation\/forcesimulation\/centerforce"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://ForceSimulation/documentation/ForceSimulation/ForceLike":{"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ForceLike","kind":"identifier"}],"navigatorTitle":[{"text":"ForceLike","kind":"identifier"}],"identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/ForceLike","kind":"symbol","type":"topic","url":"\/documentation\/forcesimulation\/forcelike","abstract":[{"text":"A protocol that represents a force.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"A force takes a simulation state and modifies its node positions and velocities."}],"title":"ForceLike","role":"symbol"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/apply(alpha:)":{"url":"\/documentation\/forcesimulation\/centerforce\/apply(alpha:)","abstract":[],"type":"topic","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"apply","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"alpha"},{"text":": ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"text":")","kind":"text"}],"kind":"symbol","title":"apply(alpha:)","role":"symbol"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CenterForce"}],"identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce","url":"\/documentation\/forcesimulation\/centerforce","kind":"symbol","abstract":[{"type":"text","text":"A force that represents links between nodes."}],"title":"CenterForce","type":"topic","role":"symbol","navigatorTitle":[{"text":"CenterForce","kind":"identifier"}]},"doc://ForceSimulation/documentation/ForceSimulation":{"url":"\/documentation\/forcesimulation","abstract":[],"title":"ForceSimulation","kind":"symbol","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation","role":"collection","type":"topic"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/strength":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"strength"},{"text":": ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"}],"identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/strength","title":"strength","kind":"symbol","abstract":[],"url":"\/documentation\/forcesimulation\/centerforce\/strength","type":"topic","role":"symbol"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/center":{"url":"\/documentation\/forcesimulation\/centerforce\/center","abstract":[],"type":"topic","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/center","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"center","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"V"}],"kind":"symbol","title":"center","role":"symbol"}}}
{"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/center","doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/strength"]},{"title":"Instance Methods","identifiers":["doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)"]}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"final","kind":"keyword"},{"kind":"text","text":" "},{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CenterForce"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"NodeID"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"V"},{"text":"> ","kind":"text"},{"text":"where","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"NodeID"},{"text":" : ","kind":"text"},{"preciseIdentifier":"s:SH","text":"Hashable","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"V","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:6NDTree10VectorLikeP","kind":"typeIdentifier","text":"VectorLike"},{"text":", ","kind":"text"},{"text":"V","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Scalar"},{"kind":"text","text":" == "},{"preciseIdentifier":"s:Sd","kind":"typeIdentifier","text":"Double"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/forcesimulation\/centerforce"]}],"metadata":{"role":"symbol","roleHeading":"Class","externalID":"s:15ForceSimulation06CenterA0C","title":"CenterForce","symbolKind":"class","modules":[{"name":"ForceSimulation"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CenterForce"}],"navigatorTitle":[{"kind":"identifier","text":"CenterForce"}]},"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/ForceSimulation\/documentation\/ForceSimulation"]]},"sections":[],"abstract":[{"text":"A force that represents links between nodes.","type":"text"}],"relationshipsSections":[{"type":"conformsTo","identifiers":["doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/ForceLike"],"kind":"relationships","title":"Conforms To"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce"},"kind":"symbol","references":{"doc://ForceSimulation/documentation/ForceSimulation":{"role":"collection","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation","title":"ForceSimulation","kind":"symbol","type":"topic","url":"\/documentation\/forcesimulation","abstract":[]},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/strength":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"strength"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sd","text":"Double","kind":"typeIdentifier"}],"abstract":[],"identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/strength","kind":"symbol","title":"strength","role":"symbol","url":"\/documentation\/forcesimulation\/centerforce\/strength","type":"topic"},"doc://ForceSimulation/documentation/ForceSimulation/ForceLike":{"type":"topic","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/ForceLike","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ForceLike","kind":"identifier"}],"title":"ForceLike","role":"symbol","navigatorTitle":[{"text":"ForceLike","kind":"identifier"}],"kind":"symbol","url":"\/documentation\/forcesimulation\/forcelike","abstract":[{"type":"text","text":"A protocol that represents a force."},{"type":"text","text":" "},{"type":"text","text":"A force takes a simulation state and modifies its node positions and velocities."}]},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce":{"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CenterForce"}],"abstract":[{"type":"text","text":"A force that represents links between nodes."}],"url":"\/documentation\/forcesimulation\/centerforce","title":"CenterForce","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CenterForce"}],"type":"topic","role":"symbol","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/center":{"abstract":[],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"center","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"V"}],"role":"symbol","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/center","url":"\/documentation\/forcesimulation\/centerforce\/center","kind":"symbol","title":"center"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/apply(alpha:)":{"identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)","abstract":[],"title":"apply(alpha:)","type":"topic","url":"\/documentation\/forcesimulation\/centerforce\/apply(alpha:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"apply","kind":"identifier"},{"kind":"text","text":"("},{"text":"alpha","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sd","text":"Double","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol"}}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"kind":"symbol","sections":[],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"ForceLike.apply(alpha:)","type":"codeVoice"},{"text":".","type":"text"}],"metadata":{"role":"symbol","symbolKind":"method","externalID":"s:15ForceSimulation06CenterA0C5apply5alphaySd_tF","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"apply","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"alpha"},{"text":": ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"kind":"text","text":")"}],"title":"apply(alpha:)","roleHeading":"Instance Method","modules":[{"name":"ForceSimulation"}]},"hierarchy":{"paths":[["doc:\/\/ForceSimulation\/documentation\/ForceSimulation","doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"apply","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"alpha"},{"kind":"text","text":": "},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"kind":"text","text":")"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/forcesimulation\/centerforce\/apply(alpha:)"]}],"identifier":{"url":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)","interfaceLanguage":"swift"},"references":{"doc://ForceSimulation/documentation/ForceSimulation/CenterForce":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CenterForce"}],"identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce","url":"\/documentation\/forcesimulation\/centerforce","kind":"symbol","abstract":[{"type":"text","text":"A force that represents links between nodes."}],"title":"CenterForce","type":"topic","role":"symbol","navigatorTitle":[{"text":"CenterForce","kind":"identifier"}]},"doc://ForceSimulation/documentation/ForceSimulation":{"url":"\/documentation\/forcesimulation","abstract":[],"title":"ForceSimulation","kind":"symbol","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation","role":"collection","type":"topic"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/apply(alpha:)":{"url":"\/documentation\/forcesimulation\/centerforce\/apply(alpha:)","abstract":[],"type":"topic","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"apply","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"alpha"},{"text":": ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"text":")","kind":"text"}],"kind":"symbol","title":"apply(alpha:)","role":"symbol"}}}
{"metadata":{"roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"apply"},{"text":"(","kind":"text"},{"text":"alpha","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"text":")","kind":"text"}],"title":"apply(alpha:)","symbolKind":"method","modules":[{"name":"ForceSimulation"}],"role":"symbol","externalID":"s:15ForceSimulation06CenterA0C5apply5alphaySd_tF"},"hierarchy":{"paths":[["doc:\/\/ForceSimulation\/documentation\/ForceSimulation","doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce"]]},"identifier":{"url":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)","interfaceLanguage":"swift"},"kind":"symbol","variants":[{"paths":["\/documentation\/forcesimulation\/centerforce\/apply(alpha:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"ForceLike.apply(alpha:)"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"apply"},{"text":"(","kind":"text"},{"text":"alpha","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sd","text":"Double"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"sections":[],"references":{"doc://ForceSimulation/documentation/ForceSimulation":{"role":"collection","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation","title":"ForceSimulation","kind":"symbol","type":"topic","url":"\/documentation\/forcesimulation","abstract":[]},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce":{"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"CenterForce"}],"abstract":[{"type":"text","text":"A force that represents links between nodes."}],"url":"\/documentation\/forcesimulation\/centerforce","title":"CenterForce","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CenterForce"}],"type":"topic","role":"symbol","identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce"},"doc://ForceSimulation/documentation/ForceSimulation/CenterForce/apply(alpha:)":{"identifier":"doc:\/\/ForceSimulation\/documentation\/ForceSimulation\/CenterForce\/apply(alpha:)","abstract":[],"title":"apply(alpha:)","type":"topic","url":"\/documentation\/forcesimulation\/centerforce\/apply(alpha:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"apply","kind":"identifier"},{"kind":"text","text":"("},{"text":"alpha","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sd","text":"Double","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol"}}}
Loading

0 comments on commit cc1bd49

Please sign in to comment.