Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyanlin117 committed Mar 21, 2024
1 parent 7368b92 commit 771d99f
Show file tree
Hide file tree
Showing 79 changed files with 456 additions and 57 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ jobs:
- name: Run docc
run: |
cd "${GITHUB_WORKSPACE}"
cd CommunityDocs
swift package --allow-writing-to-directory docs generate-documentation --target CommunityDocs --disable-indexing --transform-for-static-hosting --hosting-base-path / --output-path ../docs
echo '<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="refresh" content="0;url=https://weiyanlin117.github.io/documentation/communitydocs">' > ../docs/index.html
cd Drawthings/Sources/DrawThings
docc convert DrawThings.docc --index --transform-for-static-hosting --output-path ../../../docs
echo '<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="refresh" content="0;url=https://drawthingsai.github.io/documentation/root">' > ../../../docs/index.html
- name: Add and commit documentation
run: |
git config --global user.email "[email protected]"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,21 @@
import PackageDescription

let package = Package(
name: "DrawthingsTutorials",
name: "DrawThings",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "DrawthingsTutorials",
targets: ["DrawthingsTutorials"]),
name: "DrawThings",
targets: ["DrawThings"]),
],
dependencies: [
// other dependencies
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(
name: "DrawthingsTutorials",
name: "DrawThings",
resources: [
.process("Resources/")
]
)
]
Expand Down
6 changes: 6 additions & 0 deletions Drawthings/Sources/DrawThings/DrawThings.docc/root.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Draw Things
Draw Things documetations and tutorials

@Metadata {
@TechnologyRoot
}
9 changes: 9 additions & 0 deletions Drawthings/Sources/DrawThings/docs/css/523.e9a069b0.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Drawthings/Sources/DrawThings/docs/css/675.40c3bcb2.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Drawthings/Sources/DrawThings/docs/css/index.ff036a9e.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Drawthings/Sources/DrawThings/docs/css/topic.672a9049.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 771d99f

Please sign in to comment.