diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 2201ad27b..8496a2f85 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -51,15 +51,13 @@ jobs: - run: find "${{ matrix.tool }}_raw" -iname '*.html*' -exec mv '{}' "${{ matrix.tool }}_source/" \; - run: rm -rf '${{ matrix.tool }}_raw' - run: | - git init - git remote add origin 'https://github.com/djlint/djlint' - git branch -m 'demo-${{ matrix.tool }}' git config --global user.name 'github-actions[bot]' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' + git checkout --orphan 'demo-${{ matrix.tool }}' git add -A git commit -m 'git clone ${{ matrix.repo }}' poetry run python -m djlint . --profile=${{ matrix.profile }} --reformat --warn --quiet ${{ matrix.args }} git add -A git commit -m "Reformat with djLint v$(poetry version --short)" - git push --force origin 'demo-${{ matrix.tool }}' - working-directory: "${{ matrix.tool }}_source" + git push + working-directory: '${{ matrix.tool }}_source' diff --git a/docs/src/docs/languages/django.md b/docs/src/docs/languages/django.md index 2d7c31742..4e6f89898 100644 --- a/docs/src/docs/languages/django.md +++ b/docs/src/docs/languages/django.md @@ -29,12 +29,3 @@ profile="{{ tool }}"
Check out the configuration guide for all the options!
- -## Real Life Examples! - -
- -- [Django](https://github.com/django/django) source code [reformatted](https://github.com/djlint/djLint/compare/django-source...djlint:djLint:django-djlint) -- [Wagtail](https://github.com/wagtail/wagtail) source code [reformatted](https://github.com/djlint/djLint/compare/wagtail-source...djlint:djLint:wagtail-djlint) - -
diff --git a/docs/src/docs/languages/jinja.md b/docs/src/docs/languages/jinja.md index e79967ea1..73c8f62f2 100644 --- a/docs/src/docs/languages/jinja.md +++ b/docs/src/docs/languages/jinja.md @@ -29,11 +29,3 @@ profile="{{ tool }}"
Check out the configuration guide for all the options!
- -## Real Life Examples! - -
- -- [Pallets](https://github.com/pallets/website) source code [reformatted](https://github.com/djlint/djLint/compare/pallets-source...djlint:djLint:pallets-djlint) - -
diff --git a/docs/src/docs/languages/nunjucks.md b/docs/src/docs/languages/nunjucks.md index 939a8fc87..360d95b86 100644 --- a/docs/src/docs/languages/nunjucks.md +++ b/docs/src/docs/languages/nunjucks.md @@ -29,11 +29,3 @@ profile="{{ tool }}"
Check out the configuration guide for all the options!
- -## Real Life Examples! - -
- -- [apostrophe](https://github.com/apostrophecms/apostrophe) source code [reformatted](https://github.com/djlint/djLint/compare/apostrophe-source...djlint:djLint:apostrophe-djlint) - -
diff --git a/docs/src/docs/languages/twig.md b/docs/src/docs/languages/twig.md index 815b7df2f..205fec1fe 100644 --- a/docs/src/docs/languages/twig.md +++ b/docs/src/docs/languages/twig.md @@ -29,13 +29,3 @@ profile="{{ tool }}"
Check out the configuration guide for all the options!
- -## Real Life Examples! - -
- -- [bolt](https://github.com/bolt/core) source code [reformatted](https://github.com/djlint/djLint/compare/bolt-source...djlint:djLint:bolt-djlint) - -- [Sylius](https://github.com/Sylius/Sylius) source code [reformatted](https://github.com/djlint/djLint/compare/sylius-source...djlint:djLint:sylius-djlint) - -