From 5f527ceaaa4dc444098bb6ef436dbc1c83a3ffbf Mon Sep 17 00:00:00 2001
From: Daniel Speicher <daniel.speicher@lakedrops.com>
Date: Thu, 6 Jun 2024 16:59:42 +0200
Subject: [PATCH] Remove Drupal 8 und 9 projects

---
 docs/composer/plugin/d8-scaffold/index.md | 10 ---
 docs/composer/plugin/d9-scaffold/index.md | 10 ---
 docs/composer/project/d8/index.md         | 80 -----------------------
 docs/composer/project/d9/index.md         | 60 -----------------
 docs/docker/l3d/drupal.md                 |  2 -
 mkdocs.yml                                |  4 --
 6 files changed, 166 deletions(-)
 delete mode 100644 docs/composer/plugin/d8-scaffold/index.md
 delete mode 100644 docs/composer/plugin/d9-scaffold/index.md
 delete mode 100644 docs/composer/project/d8/index.md
 delete mode 100644 docs/composer/project/d9/index.md

diff --git a/docs/composer/plugin/d8-scaffold/index.md b/docs/composer/plugin/d8-scaffold/index.md
deleted file mode 100644
index fb7f12f..0000000
--- a/docs/composer/plugin/d8-scaffold/index.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: Composer Plugin Drupal 8 Scaffold
-repo: https://gitlab.lakedrops.com/composer/plugin/drupal-8-scaffold
-issues: https://gitlab.lakedrops.com/composer/plugin/drupal-8-scaffold/-/issues
-tags:
-- composer
----
-# Drupal 8 Project Template Scaffold
-
-This is a composer plugin which is utilized by the [Drupal 8 Project Template](/composer/project/d8) project. A detailed documentation can be found there.
diff --git a/docs/composer/plugin/d9-scaffold/index.md b/docs/composer/plugin/d9-scaffold/index.md
deleted file mode 100644
index 2c4b52d..0000000
--- a/docs/composer/plugin/d9-scaffold/index.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: Composer Plugin Drupal 9 Scaffold
-repo: https://gitlab.lakedrops.com/composer/plugin/drupal-9-scaffold
-issues: https://gitlab.lakedrops.com/composer/plugin/drupal-9-scaffold/-/issues
-tags:
-- composer
----
-# Drupal 9 Project Template Scaffold
-
-This is a composer plugin which is utilized by the [Drupal 9 Project Template](/composer/project/d9) project. A detailed documentation can be found there.
diff --git a/docs/composer/project/d8/index.md b/docs/composer/project/d8/index.md
deleted file mode 100644
index d02f999..0000000
--- a/docs/composer/project/d8/index.md
+++ /dev/null
@@ -1,80 +0,0 @@
----
-title: Composer Project Drupal 8
-repo: https://gitlab.lakedrops.com/composer/project/drupal-8
-issues: https://gitlab.lakedrops.com/composer/project/drupal-8/-/issues
-tags:
-- composer
----
-# Usage
-
-## Preparation
-
-- [Install composer](https://getcomposer.org): `sudo wget https://getcomposer.org/composer.phar --output-document=/usr/local/bin/composer && sudo chmod +x /usr/local/bin/composer`
-- Disable XDebug for CLI - optional: `sudo phpdismod -s cli xdebug`
-- [Install Prestissimo](https://github.com/hirak/prestissimo) - optional: `sudo composer global require "hirak/prestissimo:^0.3"`
-
-## Create new project for local development
-
-```bash
-composer create-project lakedrops/d8-project [DIRNAME] --no-interaction
-cd [DIRNAME]
-
-# If you also want to use the theme template:
-composer config repositories.assets composer https://asset-packagist.org 
-env CUSTOM_THEME_NAME=[THEMENAME] composer require lakedrops/theme-d8-sass
-```
-
-This will build the full structure and create a git repository which you can then use during the full live-cycle of that project.
-
-To install a new site with the included default configuration, use `drush site-install config_installer` and you get a jump-start from that.
-
-## Deploy project to upstream stages
-
-For deployment, both initially and for later updates, follow this:
-
-```
-mkdir /PATH/TO/ROOT
-cd /PATH/TO/ROOT
-git clone YOUR-GIT-REPOSITORY .
-composer install
-```
-
-Optionally you can also create all the scaffolds by using
-
-```
-composer lakedrops
-```
-
-To manually update the theme components, if you're using the `lakedrops/theme-d8-sass` package and unintentionally changed one of the core file, then you can always run
-
-```
-composer lakedrops-theme-update
-```
-
-## Adding new and updating existing components
-
-Edit the composer.json file according to your requirements and then run `composer update`.
-
-## Adding JS packages
-
-### CKEditor Codesnippet
-
-```bash
-composer config repositories.codesnippet '{"type": "package","package": {"name": "ckeditorplugin/codesnippet","type": "drupal-library","version": "master","dist": {"type": "zip","url": "https://download.ckeditor.com/codesnippet/releases/codesnippet_4.7.3.zip","reference": "master"}}}'
-composer require ckeditorplugin/codesnippet:master drupal/codesnippet
-```
-
-### Chosen
-
-```bash
-composer config repositories.codesnippet '{"type": "package","package": {"name": "harvesthq/chosen","version": "1.8.2","type": "drupal-library","dist": {"url": "https://github.com/harvesthq/chosen/releases/download/v1.8.2/chosen_v1.8.2.zip","type": "zip"}}}'
-composer require harvesthq/chosen
-```
-
-# Links
-
-[Using Composer to install Drupal packages through Drupal.org](https://www.drupal.org/node/2718229)
-
-# Credit
-
-[Composer template for Drupal projects](https://github.com/drupal-composer/drupal-project)
diff --git a/docs/composer/project/d9/index.md b/docs/composer/project/d9/index.md
deleted file mode 100644
index f0477a0..0000000
--- a/docs/composer/project/d9/index.md
+++ /dev/null
@@ -1,60 +0,0 @@
----
-title: Composer Project Drupal 9
-repo: https://gitlab.lakedrops.com/composer/project/drupal-9
-issues: https://gitlab.lakedrops.com/composer/project/drupal-9/-/issues
-tags:
-- composer
----
-# Usage
-
-## Preparation
-
-- [Install composer](https://getcomposer.org): `sudo wget https://getcomposer.org/composer.phar --output-document=/usr/local/bin/composer && sudo chmod +x /usr/local/bin/composer`
-- Disable XDebug for CLI - optional: `sudo phpdismod -s cli xdebug`
-- [Install Prestissimo](https://github.com/hirak/prestissimo) - optional: `sudo composer global require "hirak/prestissimo:^0.3"`
-
-## Create new project for local development
-
-```bash
-composer create-project lakedrops/d9-project [DIRNAME] --no-interaction
-cd [DIRNAME]
-```
-
-This will build the full structure and create a git repository which you can then use during the full live-cycle of that project.
-
-To install a new site with the included default configuration, use `drush site-install --existing-config` and you get a jump-start from that.
-
-## Deploy project to upstream stages
-
-For deployment, both initially and for later updates, follow this:
-
-```
-mkdir /PATH/TO/ROOT
-cd /PATH/TO/ROOT
-git clone YOUR-GIT-REPOSITORY .
-composer install
-```
-
-## Adding new and updating existing components
-
-Edit the composer.json file accodring to your requirements and then run `composer update`.
-
-## Adding JS packages
-
-### CKEditor Codesnippet
-
-```bash
-composer config repositories.codesnippet '{"type": "package","package": {"name": "ckeditorplugin/codesnippet","type": "drupal-library","version": "master","dist": {"type": "zip","url": "https://download.ckeditor.com/codesnippet/releases/codesnippet_4.7.3.zip","reference": "master"}}}'
-composer require ckeditorplugin/codesnippet:master drupal/codesnippet
-```
-
-### Chosen
-
-```bash
-composer config repositories.codesnippet '{"type": "package","package": {"name": "harvesthq/chosen","version": "1.8.2","type": "drupal-library","dist": {"url": "https://github.com/harvesthq/chosen/releases/download/v1.8.2/chosen_v1.8.2.zip","type": "zip"}}}'
-composer require harvesthq/chosen
-```
-
-# Links
-
-[Using Composer to install Drupal packages through Drupal.org](https://www.drupal.org/node/2718229)
diff --git a/docs/docker/l3d/drupal.md b/docs/docker/l3d/drupal.md
index fc03061..9d60a09 100644
--- a/docs/docker/l3d/drupal.md
+++ b/docs/docker/l3d/drupal.md
@@ -9,8 +9,6 @@ tags:
 
 We do provide a couple of project templates for Drupal projects out of the box:
 
-- [Drupal 8](/composer/project/d8)
-- [Drupal 9](/composer/project/d9)
 - [Drupal 10](/composer/project/d10)
 
 If you prefer to use your own prroject template, you'll get the most out of
diff --git a/mkdocs.yml b/mkdocs.yml
index 86f2440..5983dba 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -109,16 +109,12 @@ nav:
           - Ahoy: composer/plugin/ahoy/index.md
           - Behat for Drupal: composer/plugin/b4d/index.md
           - Docker for Drupal: composer/plugin/d4d/index.md
-          - Drupal 8 Scaffold: composer/plugin/d8-scaffold/index.md
-          - Drupal 9 Scaffold: composer/plugin/d9-scaffold/index.md
           - Drupal 10 Scaffold: composer/plugin/d10-scaffold/index.md
           - Dorgflow: composer/plugin/dorgflow/index.md
           - Drupal Development Environment: composer/plugin/drupal-dev-environment/index.md
           - Drupal Environment: composer/plugin/drupal-environment/index.md
       - Projects:
           - composer/project/index.md
-          - Drupal 8: composer/project/d8/index.md
-          - Drupal 9: composer/project/d9/index.md
           - Drupal 10: composer/project/d10/index.md
   - Ansible:
       - ansible/index.md
-- 
GitLab