From 21a66bf112f34b25a25f7e3f5abeae038087c458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Fri, 26 Apr 2024 19:13:00 +0200 Subject: [PATCH 1/5] docs(website): Create the 'reference' page that links to Dokka --- docs/website/.gitlab-ci.yml | 1 + docs/website/docs/reference.md | 5 +++++ docs/website/mkdocs.yml | 3 +++ docs/website/overrides/redirect-to-reference.html | 13 +++++++++++++ 4 files changed, 22 insertions(+) create mode 100644 docs/website/docs/reference.md create mode 100644 docs/website/overrides/redirect-to-reference.html diff --git a/docs/website/.gitlab-ci.yml b/docs/website/.gitlab-ci.yml index cbe109a..1d51bd8 100644 --- a/docs/website/.gitlab-ci.yml +++ b/docs/website/.gitlab-ci.yml @@ -10,6 +10,7 @@ mkdocs: - ls - 'echo "repo_url: $CI_PROJECT_URL">>mkdocs.yml' - 'echo "repo_name: $CI_PROJECT_TITLE">>mkdocs.yml' + - 'echo "repo_pages: $CI_PAGES_URL">>mkdocs.yml' script: - pwd diff --git a/docs/website/docs/reference.md b/docs/website/docs/reference.md new file mode 100644 index 0000000..4036452 --- /dev/null +++ b/docs/website/docs/reference.md @@ -0,0 +1,5 @@ +--- +template: redirect-to-reference.html +--- + +# Reference diff --git a/docs/website/mkdocs.yml b/docs/website/mkdocs.yml index 112d0f9..d8312d8 100644 --- a/docs/website/mkdocs.yml +++ b/docs/website/mkdocs.yml @@ -69,3 +69,6 @@ nav: - Module1: [] - Module2: [] + + - Reference: + - reference.md diff --git a/docs/website/overrides/redirect-to-reference.html b/docs/website/overrides/redirect-to-reference.html new file mode 100644 index 0000000..9c6061c --- /dev/null +++ b/docs/website/overrides/redirect-to-reference.html @@ -0,0 +1,13 @@ + + + + + + {{ config.site_name }} + + + + + -- 2.51.2 From 4099ee52b879458f2213693c347be145df7b0c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Fri, 26 Apr 2024 19:31:05 +0200 Subject: [PATCH 2/5] docs(website): Add a big button to visit the reference in the main page --- docs/website/overrides/home.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/website/overrides/home.html b/docs/website/overrides/home.html index 29eaa5e..8da8a08 100644 --- a/docs/website/overrides/home.html +++ b/docs/website/overrides/home.html @@ -45,6 +45,11 @@ class="md-button md-button--primary"> Quick start + + + Visit reference + + Visit repository -- 2.51.2 From e6870872023aa4906b51ad5c7b111caaf868288d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Fri, 26 Apr 2024 21:43:20 +0200 Subject: [PATCH 3/5] build(git): Ignore the Kotlin metadata directory --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 963c5df..452cee8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ build # Ignore the JS lockfiles kotlin-js-store/ + +# Ignore the Kotlin metadata directory +.kotlin -- 2.51.2 From 5c1f48b2b6d3664ebf68e20f6837f178fb033e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Fri, 26 Apr 2024 21:41:19 +0200 Subject: [PATCH 4/5] build(idea): Run configuration to generate the code coverage report --- .idea/runConfigurations/Code_coverage.xml | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .idea/runConfigurations/Code_coverage.xml diff --git a/.idea/runConfigurations/Code_coverage.xml b/.idea/runConfigurations/Code_coverage.xml new file mode 100644 index 0000000..f1be28e --- /dev/null +++ b/.idea/runConfigurations/Code_coverage.xml @@ -0,0 +1,26 @@ + + + + + + + true + true + false + true + + + \ No newline at end of file -- 2.51.2 From b032c3e0ced63c93618793e1df4f1ed668f4ff42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Fri, 26 Apr 2024 22:05:39 +0200 Subject: [PATCH 5/5] ci(gitlab): Force the code coverage to be recomputed entirely --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f920ab0..09dc716 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,6 +71,7 @@ check[jvm]: -x jsNodeTest -x linuxX64Test -x iosSimulatorArm64Test + koverVerify --rerun -PappVersion=$project_version after_script: -- 2.51.2