From 82423a282779236b641eea0fa6936e69e1ec20d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 1 Oct 2024 23:13:40 +0200 Subject: [PATCH 1/4] build: Reorganize all modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repository is organized into three Gradle builds: - `root` - `gradle/conventions` - `docs` (created by this commit) This commit reorganizes all modules as so: - `gradle/conventions:dokkatoo-mkdocs` → `root:dokkatoo-mkdocs` - `root:example` → `docs:example` - `root:docs/website` → `docs:website` This will be much easier to work with long-term: the artifacts of this repository are in the `root` build, and the documentation website is in the `docs` build. --- .idea/runConfigurations/Documentation.xml | 5 +- docs/.gitignore | 4 ++ docs/.idea/.gitignore | 13 +++++ .../inspectionProfiles/Project_Default.xml | 5 ++ docs/build.gradle.kts | 9 ++++ docs/example/example-app/build.gradle.kts | 16 ++++++ .../example-app/src/commonMain/kotlin/Main.kt | 0 docs/example/example-core/build.gradle.kts | 12 +++++ .../src/commonMain/kotlin/Example.kt | 0 docs/gradle.properties | 22 ++++++++ docs/settings.gradle.kts | 53 +++++++++++++++++++ docs/website/.gitlab-ci.yml | 2 +- docs/website/mkdocs.yml | 14 +++++ .../build.gradle.kts | 0 .../src/main/kotlin/DokkatooMkDocsPlugin.kt | 0 example/example-app/build.gradle.kts | 24 --------- example/example-core/build.gradle.kts | 20 ------- gradle/conventions/settings.gradle.kts | 4 -- renderer/build.gradle.kts | 12 +++-- settings.gradle.kts | 5 +- 20 files changed, 161 insertions(+), 59 deletions(-) create mode 100644 docs/.gitignore create mode 100644 docs/.idea/.gitignore create mode 100644 docs/.idea/inspectionProfiles/Project_Default.xml create mode 100644 docs/build.gradle.kts create mode 100644 docs/example/example-app/build.gradle.kts rename {example => docs/example}/example-app/src/commonMain/kotlin/Main.kt (100%) create mode 100644 docs/example/example-core/build.gradle.kts rename {example => docs/example}/example-core/src/commonMain/kotlin/Example.kt (100%) create mode 100644 docs/gradle.properties create mode 100644 docs/settings.gradle.kts rename {gradle/conventions/dokkatoo-mkdocs => dokkatoo-mkdocs}/build.gradle.kts (100%) rename {gradle/conventions/dokkatoo-mkdocs => dokkatoo-mkdocs}/src/main/kotlin/DokkatooMkDocsPlugin.kt (100%) delete mode 100644 example/example-app/build.gradle.kts delete mode 100644 example/example-core/build.gradle.kts diff --git a/.idea/runConfigurations/Documentation.xml b/.idea/runConfigurations/Documentation.xml index b763fa3..64da272 100644 --- a/.idea/runConfigurations/Documentation.xml +++ b/.idea/runConfigurations/Documentation.xml @@ -4,14 +4,13 @@