Skip to content

Commit 57a0ecc

Browse files
committed
Initial commit
0 parents  commit 57a0ecc

File tree

93 files changed

+6685
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+6685
-0
lines changed

.editorconfig

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# noinspection EditorConfigKeyCorrectness
2+
[{*.kt,*.kts}]
3+
ktlint_standard_annotation = disabled
4+
ktlint_standard_filename = disabled
5+
ktlint_standard_wrapping = disabled
6+
ktlint_standard_import-ordering = enabled
7+
ktlint_standard_max-line-length = disabled
8+
ktlint_standard_multiline-if-else = disabled
9+
ktlint_standard_argument-list-wrapping = disabled
10+
ktlint_standard_parameter-list-wrapping = disabled
11+
ktlint_standard_trailing-comma-on-declaration-site = disabled
12+
ktlint_function_signature_body_expression_wrapping = multiline
13+
ktlint_standard_string-template-indent = disabled
14+
ktlint_standard_function-signature = disabled
15+
ktlint_standard_trailing-comma-on-call-site = disabled
16+
ktlint_standard_multiline-expression-wrapping = disabled
17+
ktlint_standard_no-empty-first-line-in-class-body = disabled
18+
ktlint_standard_if-else-wrapping = disabled
19+
ktlint_standard_if-else-bracing = disabled
20+
ktlint_standard_statement-wrapping = disabled
21+
ktlint_standard_blank-line-before-declaration = disabled
22+
ktlint_standard_no-empty-file = disabled
23+
ktlint_standard_property-naming = disabled
24+
ktlint_standard_function-naming = disabled
25+
ktlint_standard_chain-method-continuation = disabled
26+
ktlint_standard_class-signature = disabled
27+
ktlint_standard_condition-wrapping = disabled
28+
ktlint_standard_class-signature = disabled
29+
ktlint_standard_no-trailing-spaces = disabled
30+
ktlint_standard_multiline-loop = disabled
31+
ij_continuation_indent_size = 2
32+
indent_size = 4
33+
indent_style = space
34+
insert_final_newline = false
35+
max_line_length = 150

.github/workflows/docs-deploy.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Deploy to GitHub pages
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
paths:
8+
- 'pangutext-android/src/**'
9+
- 'docs-source/**'
10+
- '.github/workflows/**'
11+
12+
permissions:
13+
contents: write
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
docs:
19+
if: ${{ success() }}
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v3
23+
with:
24+
fetch-depth: 0
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v3
27+
with:
28+
node-version: 18
29+
- name: Prepare Java 17
30+
uses: actions/setup-java@v3
31+
with:
32+
java-version: 17
33+
java-package: jdk
34+
distribution: 'temurin'
35+
cache: 'gradle'
36+
- name: Cache Gradle Dependencies
37+
uses: actions/cache@v3
38+
with:
39+
path: |
40+
~/.gradle/caches
41+
~/.gradle/wrapper
42+
!~/.gradle/caches/build-cache-*
43+
key: gradle-deps-core-${{ hashFiles('**/build.gradle.kts') }}
44+
restore-keys: |
45+
gradle-deps
46+
- name: Build VuePress site
47+
run: |
48+
cd docs-source
49+
yarn -i
50+
yarn docs:build-gh-pages
51+
- name: Deploy to GitHub Pages
52+
uses: crazy-max/ghaction-github-pages@v4
53+
with:
54+
target_branch: gh-pages
55+
build_dir: docs-source/dist
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
## Fully .gtignore for IntelliJ, Android Studio and Gradle based Java projects
2+
## References:
3+
## - https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
4+
## - https://github.com/android/platform-samples/blob/main/.gitignore
5+
6+
# User-specific stuff
7+
.idea/**/workspace.xml
8+
.idea/**/tasks.xml
9+
.idea/**/usage.statistics.xml
10+
.idea/**/dictionaries
11+
.idea/**/shelf
12+
13+
# AWS User-specific
14+
.idea/**/aws.xml
15+
16+
# Generated files
17+
.idea/**/contentModel.xml
18+
19+
# Sensitive or high-churn files
20+
.idea/**/dataSources/
21+
.idea/**/dataSources.ids
22+
.idea/**/dataSources.local.xml
23+
.idea/**/sqlDataSources.xml
24+
.idea/**/dynamic.xml
25+
.idea/**/uiDesigner.xml
26+
.idea/**/dbnavigator.xml
27+
28+
# Gradle
29+
.idea/**/gradle.xml
30+
.idea/**/libraries
31+
32+
# Gradle and Maven with auto-import
33+
.idea/.name
34+
.idea/artifacts
35+
.idea/compiler.xml
36+
.idea/jarRepositories.xml
37+
.idea/modules.xml
38+
.idea/*.iml
39+
.idea/modules
40+
.idea/caches
41+
.idea/material_theme**
42+
.idea/other.xml
43+
*.iml
44+
*.ipr
45+
46+
# Misc
47+
.idea/misc.xml
48+
49+
# CMake
50+
cmake-build-*/
51+
52+
# Mongo Explorer plugin
53+
.idea/**/mongoSettings.xml
54+
55+
# File-based project format
56+
*.iws
57+
58+
# IntelliJ
59+
out/
60+
61+
# mpeltonen/sbt-idea plugin
62+
.idea_modules/
63+
64+
# JIRA plugin
65+
atlassian-ide-plugin.xml
66+
67+
# Cursive Clojure plugin
68+
.idea/replstate.xml
69+
70+
# SonarLint plugin
71+
.idea/sonarlint/
72+
73+
# Crashlytics plugin (for Android Studio and IntelliJ)
74+
com_crashlytics_export_strings.xml
75+
crashlytics.properties
76+
crashlytics-build.properties
77+
fabric.properties
78+
79+
# Editor-based Rest Client
80+
.idea/httpRequests
81+
82+
# Android studio 3.1+ serialized cache file
83+
.idea/caches/build_file_checksums.ser
84+
85+
# Android studio 3.1+ additional
86+
.idea/deployment*.xml
87+
.idea/assetWizardSettings.xml
88+
.idea/androidTestResultsUserPreferences.xml
89+
90+
# Android projects
91+
**/local.properties
92+
/captures
93+
.externalNativeBuild
94+
.cxx
95+
96+
# Gradle projects
97+
.gradle
98+
build/
99+
100+
# Mkdocs temporary serving folder
101+
docs-gen
102+
site
103+
*.bak
104+
.idea/appInsightsSettings.xml
105+
106+
# Mac OS
107+
.DS_Store

.idea/icon.png

30.8 KB
Loading

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/ktlint-plugin.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/migrations.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)