diff --git a/.github/workflows/teahouse.yml b/.github/workflows/teahouse.yml new file mode 100644 index 0000000..60d3f36 --- /dev/null +++ b/.github/workflows/teahouse.yml @@ -0,0 +1,50 @@ +name: Publish + +on: + push: + workflow_dispatch: + repository_dispatch: + +permissions: + id-token: write # This is required for requesting the JWT + contents: read # This is required for actions/checkout + +concurrency: + group: "teahouse" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - uses: ammaraskar/sphinx-action@8.2.3 + with: + pre-build-command: bundle + build-command: + docs-folder: "." + - uses: actions/upload-artifact@v4 + with: + name: website + path: ./build + + # Deployment job + deploy: + if: github.repository == 'teahouse-hosting/docs.teahouse.cafe' && github.ref == 'refs/heads/trunk' + environment: + name: teahouse + url: https://docs.teahouse.cafe + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/download-artifact@v4 + with: + name: website + path: ./build + - name: Upload + uses: teahouse-hosting/upload@trunk + with: + domain: docs.teahouse.cafe + root: ./build/html diff --git a/_articles/es/index.html b/_articles/es/index.html index df7f4a2..d729d03 100644 --- a/_articles/es/index.html +++ b/_articles/es/index.html @@ -23,8 +23,7 @@

Amplíe su alcance

Existen grandes programas. Nuestro objetivo es ayudar a que esos programas se conviertan en nuestras comunidades locales.

Aprende Más

-
+

¡Dilo en voz alta!

Nuestra pila y nuestras decisiones son de código abierto por defecto y compartimos lo que estamos haciendo de la forma más alta y frecuente posible.

Aprende Más

diff --git a/_includes/latest-posts.html b/_includes/latest-posts.html deleted file mode 100644 index f926d64..0000000 --- a/_includes/latest-posts.html +++ /dev/null @@ -1,34 +0,0 @@ -{% if site.paginate %} {% assign posts = paginator.posts %} {% else %} {% assign posts = site.posts %} {% endif %} {%- if posts.size > 0 -%} {%- if page.list_title -%} -

{{ page.list_title }}

-{%- endif -%} -
- {%- assign date_format = site.bpdevs.date_format | default: "%b %-d, %Y" -%} {% assign count = 0 %} {% assign limit_posts = 3 %} {%- for post in posts -%} {%- if count < limit_posts -%} -
-

- {{ post.title | escape }} -

-

{{ post.date | date: date_format }}

- {%- if site.show_excerpts -%} -

{{ post.description}}

- {%- endif -%} -
- {%- assign count = count | plus:1 -%} {%- endif -%} {%- endfor -%} -
- -{% if site.paginate %} -
- -
-{%- endif %} {%- endif -%} diff --git a/_includes/social-item.html b/_includes/social-item.html deleted file mode 100644 index a3ec91a..0000000 --- a/_includes/social-item.html +++ /dev/null @@ -1,7 +0,0 @@ -
  • {% assign entry = include.item %} - - - - - -
  • diff --git a/_includes/social.html b/_includes/social.html deleted file mode 100644 index d1806c8..0000000 --- a/_includes/social.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/_includes/conferences.html b/_layouts/_includes/conferences.html similarity index 100% rename from _includes/conferences.html rename to _layouts/_includes/conferences.html diff --git a/_includes/disqus_comments.html b/_layouts/_includes/disqus_comments.html similarity index 100% rename from _includes/disqus_comments.html rename to _layouts/_includes/disqus_comments.html diff --git a/_includes/footer.html b/_layouts/_includes/footer.html similarity index 82% rename from _includes/footer.html rename to _layouts/_includes/footer.html index 9a88f25..59a04bc 100644 --- a/_includes/footer.html +++ b/_layouts/_includes/footer.html @@ -10,8 +10,8 @@

    About us

    diff --git a/_includes/header.html b/_layouts/_includes/header.html similarity index 69% rename from _includes/header.html rename to _layouts/_includes/header.html index 38e8924..8b7b58e 100644 --- a/_includes/header.html +++ b/_layouts/_includes/header.html @@ -1,32 +1,32 @@ -{% assign t = site.data.locales[page.lang][page.lang] %} +{% set t = locales %}