Skip to content

Commit

Permalink
Remove demo
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Aug 29, 2024
1 parent e703ab8 commit 1ac8273
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 40 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
9 changes: 0 additions & 9 deletions docs/src/docs/languages/django.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,3 @@ profile="{{ tool }}"
<div class="box notification is-info is-light">
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
</div>

## Real Life Examples!

<div class="mb-5">

- [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)

</div>
8 changes: 0 additions & 8 deletions docs/src/docs/languages/jinja.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,3 @@ profile="{{ tool }}"
<div class="box notification is-info is-light">
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
</div>

## Real Life Examples!

<div class="mb-5">

- [Pallets](https://github.com/pallets/website) source code [reformatted](https://github.com/djlint/djLint/compare/pallets-source...djlint:djLint:pallets-djlint)

</div>
8 changes: 0 additions & 8 deletions docs/src/docs/languages/nunjucks.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,3 @@ profile="{{ tool }}"
<div class="box notification is-info is-light">
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
</div>

## Real Life Examples!

<div class="mb-5">

- [apostrophe](https://github.com/apostrophecms/apostrophe) source code [reformatted](https://github.com/djlint/djLint/compare/apostrophe-source...djlint:djLint:apostrophe-djlint)

</div>
10 changes: 0 additions & 10 deletions docs/src/docs/languages/twig.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,3 @@ profile="{{ tool }}"
<div class="box notification is-info is-light">
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
</div>

## Real Life Examples!

<div class="mb-5">

- [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)

</div>

0 comments on commit 1ac8273

Please sign in to comment.