-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
140 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,6 @@ google-services.json | |
|
||
# Android Profiling | ||
*.hprof | ||
|
||
gh-pages/* | ||
!gh-pages/publish.sh |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* Copyright (c) 2024 Matthew Nelson | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
**/ | ||
import org.jetbrains.dokka.DokkaConfiguration.Visibility | ||
import org.jetbrains.dokka.gradle.DokkaTaskPartial | ||
import java.net.URI | ||
|
||
plugins { | ||
id("org.jetbrains.dokka") | ||
} | ||
|
||
tasks.withType<DokkaTaskPartial>().configureEach { | ||
suppressInheritedMembers = true | ||
|
||
dokkaSourceSets.configureEach { | ||
includes.from("README.md") | ||
noStdlibLink = true | ||
|
||
externalDocumentationLink { | ||
url = URI("https://kmp-file.matthewnelson.io/").toURL() | ||
} | ||
|
||
sourceLink { | ||
localDirectory = rootDir | ||
remoteUrl = URI("https://github.com/05nelsonm/kmp-process/tree/master").toURL() | ||
remoteLineSuffix = "#L" | ||
} | ||
|
||
documentedVisibilities.set(setOf( | ||
Visibility.PUBLIC, | ||
Visibility.PROTECTED, | ||
)) | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2024 Matthew Nelson | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
set -e | ||
|
||
readonly DIR_SCRIPT="$( cd "$( dirname "$0" )" >/dev/null && pwd )" | ||
|
||
trap 'rm -rf "$DIR_SCRIPT/kmp-process"' EXIT | ||
|
||
cd "$DIR_SCRIPT" | ||
git clone -b gh-pages --single-branch https://github.com/05nelsonm/kmp-process.git | ||
rm -rf "$DIR_SCRIPT/kmp-process/"* | ||
echo "kmp-process.matthewnelson.io" > "$DIR_SCRIPT/kmp-process/CNAME" | ||
|
||
cd .. | ||
./gradlew clean -DKMP_TARGETS_ALL | ||
./gradlew dokkaHtmlMultiModule --no-build-cache -DKMP_TARGETS_ALL | ||
cp -aR build/dokka/htmlMultiModule/* gh-pages/kmp-process | ||
|
||
cd "$DIR_SCRIPT/kmp-process" | ||
sed -i "s|module:process|module:library/process|g" "package-list" | ||
|
||
git add --all | ||
git commit -S --message "Update dokka docs" | ||
git push |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Module process | ||
|
||
`Process` implementation for Kotlin Multiplatform. |
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
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