-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 57a0ecc
Showing
93 changed files
with
6,685 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# noinspection EditorConfigKeyCorrectness | ||
[{*.kt,*.kts}] | ||
ktlint_standard_annotation = disabled | ||
ktlint_standard_filename = disabled | ||
ktlint_standard_wrapping = disabled | ||
ktlint_standard_import-ordering = enabled | ||
ktlint_standard_max-line-length = disabled | ||
ktlint_standard_multiline-if-else = disabled | ||
ktlint_standard_argument-list-wrapping = disabled | ||
ktlint_standard_parameter-list-wrapping = disabled | ||
ktlint_standard_trailing-comma-on-declaration-site = disabled | ||
ktlint_function_signature_body_expression_wrapping = multiline | ||
ktlint_standard_string-template-indent = disabled | ||
ktlint_standard_function-signature = disabled | ||
ktlint_standard_trailing-comma-on-call-site = disabled | ||
ktlint_standard_multiline-expression-wrapping = disabled | ||
ktlint_standard_no-empty-first-line-in-class-body = disabled | ||
ktlint_standard_if-else-wrapping = disabled | ||
ktlint_standard_if-else-bracing = disabled | ||
ktlint_standard_statement-wrapping = disabled | ||
ktlint_standard_blank-line-before-declaration = disabled | ||
ktlint_standard_no-empty-file = disabled | ||
ktlint_standard_property-naming = disabled | ||
ktlint_standard_function-naming = disabled | ||
ktlint_standard_chain-method-continuation = disabled | ||
ktlint_standard_class-signature = disabled | ||
ktlint_standard_condition-wrapping = disabled | ||
ktlint_standard_class-signature = disabled | ||
ktlint_standard_no-trailing-spaces = disabled | ||
ktlint_standard_multiline-loop = disabled | ||
ij_continuation_indent_size = 2 | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = false | ||
max_line_length = 150 |
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,57 @@ | ||
name: Deploy to GitHub pages | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- 'pangutext-android/src/**' | ||
- 'docs-source/**' | ||
- '.github/workflows/**' | ||
|
||
permissions: | ||
contents: write | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
docs: | ||
if: ${{ success() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Prepare Java 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
java-package: jdk | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- name: Cache Gradle Dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
!~/.gradle/caches/build-cache-* | ||
key: gradle-deps-core-${{ hashFiles('**/build.gradle.kts') }} | ||
restore-keys: | | ||
gradle-deps | ||
- name: Build VuePress site | ||
run: | | ||
cd docs-source | ||
yarn -i | ||
yarn docs:build-gh-pages | ||
- name: Deploy to GitHub Pages | ||
uses: crazy-max/ghaction-github-pages@v4 | ||
with: | ||
target_branch: gh-pages | ||
build_dir: docs-source/dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,107 @@ | ||
## Fully .gtignore for IntelliJ, Android Studio and Gradle based Java projects | ||
## References: | ||
## - https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore | ||
## - https://github.com/android/platform-samples/blob/main/.gitignore | ||
|
||
# User-specific stuff | ||
.idea/**/workspace.xml | ||
.idea/**/tasks.xml | ||
.idea/**/usage.statistics.xml | ||
.idea/**/dictionaries | ||
.idea/**/shelf | ||
|
||
# AWS User-specific | ||
.idea/**/aws.xml | ||
|
||
# Generated files | ||
.idea/**/contentModel.xml | ||
|
||
# Sensitive or high-churn files | ||
.idea/**/dataSources/ | ||
.idea/**/dataSources.ids | ||
.idea/**/dataSources.local.xml | ||
.idea/**/sqlDataSources.xml | ||
.idea/**/dynamic.xml | ||
.idea/**/uiDesigner.xml | ||
.idea/**/dbnavigator.xml | ||
|
||
# Gradle | ||
.idea/**/gradle.xml | ||
.idea/**/libraries | ||
|
||
# Gradle and Maven with auto-import | ||
.idea/.name | ||
.idea/artifacts | ||
.idea/compiler.xml | ||
.idea/jarRepositories.xml | ||
.idea/modules.xml | ||
.idea/*.iml | ||
.idea/modules | ||
.idea/caches | ||
.idea/material_theme** | ||
.idea/other.xml | ||
*.iml | ||
*.ipr | ||
|
||
# Misc | ||
.idea/misc.xml | ||
|
||
# CMake | ||
cmake-build-*/ | ||
|
||
# Mongo Explorer plugin | ||
.idea/**/mongoSettings.xml | ||
|
||
# File-based project format | ||
*.iws | ||
|
||
# IntelliJ | ||
out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Cursive Clojure plugin | ||
.idea/replstate.xml | ||
|
||
# SonarLint plugin | ||
.idea/sonarlint/ | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
# Editor-based Rest Client | ||
.idea/httpRequests | ||
|
||
# Android studio 3.1+ serialized cache file | ||
.idea/caches/build_file_checksums.ser | ||
|
||
# Android studio 3.1+ additional | ||
.idea/deployment*.xml | ||
.idea/assetWizardSettings.xml | ||
.idea/androidTestResultsUserPreferences.xml | ||
|
||
# Android projects | ||
**/local.properties | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
|
||
# Gradle projects | ||
.gradle | ||
build/ | ||
|
||
# Mkdocs temporary serving folder | ||
docs-gen | ||
site | ||
*.bak | ||
.idea/appInsightsSettings.xml | ||
|
||
# Mac OS | ||
.DS_Store |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.