From 9b74070d45e4abb6932de29b02b998644425e001 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 23 Sep 2023 05:02:34 +0800 Subject: [PATCH] docs: delete the usage guide for `jekyll-docker` The project [`jekyll-docker`](https://github.com/envygeeks/jekyll-docker/) has not been updated for more than a year and is not supported by `sass-cover-3.x` (`sass-embedded`) in Jekyll `4.3` due to the old OS version. When developing sass code, we have to consider `sass-cover-2.x` (`sassc`) compatibility, which reduces web rendering performance and increases syntax maintenance costs. Therefore, it makes no sense to maintain this awkward situation and the use of the deprecated image `jekyll/jekyll` should be removed from the documentation. See also: - https://github.com/envygeeks/jekyll-docker/issues/363 - https://github.com/jekyll/jekyll-sass-converter#migrate-from-2x-to-3x --- _posts/2019-08-09-getting-started.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/_posts/2019-08-09-getting-started.md b/_posts/2019-08-09-getting-started.md index 57f58b7..6655c7d 100644 --- a/_posts/2019-08-09-getting-started.md +++ b/_posts/2019-08-09-getting-started.md @@ -88,15 +88,6 @@ You may want to preview the site contents before publishing, so just run it by: $ bundle exec jekyll s ``` -Or run the site on Docker with the following command: - -```console -$ docker run -it --rm \ - --volume="$PWD:/srv/jekyll" \ - -p 4000:4000 jekyll/jekyll \ - jekyll serve -``` - After a few seconds, the local service will be published at __. ## Deployment @@ -136,16 +127,6 @@ Go to the root of the source project, and build your site as follows: $ JEKYLL_ENV=production bundle exec jekyll b ``` -Or build the site on Docker: - -```console -$ docker run -it --rm \ - --env JEKYLL_ENV=production \ - --volume="$PWD:/srv/jekyll" \ - jekyll/jekyll \ - jekyll build -``` - Unless you specified the output path, the generated site files will be placed in folder `_site`{: .filepath} of the project's root directory. Now you should upload those files to the target server. [nodejs]: https://nodejs.org/