Skip to content

Commit

Permalink
docs: change documentation generation to md instead of HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianIOHK committed Jan 8, 2024
1 parent 4dac968 commit f90b8dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,15 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
distribution: "zulu"

- name: Dokka Documentation Generation
run: |
./gradlew :atala-prism-sdk:dokkaHtml
- name: Dokka Documentation Generation (.md)
run: |
./gradlew :atala-prism-sdk:dokkaJekyll
- name: Move dokka documentation to docs/sdk
run: |
mkdir atala-prism-sdk/docs/sdk
mv atala-prism-sdk/build/dokka/jekyll/ atala-prism-sdk/docs/sdk
# TODO: Commit to docs repo

- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages # The branch name where you want to push the assets
FOLDER: "atala-prism-sdk/build/dokka/html/" # The directory where your assets are generated
FOLDER: "atala-prism-sdk/build/dokka/jekyll/" # The directory where your assets are generated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
MESSAGE: "feat(docs): ({sha}) {msg}" # The commit message
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,3 @@ subprojects {
}
}
}

tasks.dokkaGfmMultiModule.configure {
outputDirectory.set(buildDir.resolve("dokkaCustomMultiModuleOutput"))
}

0 comments on commit f90b8dd

Please sign in to comment.