From ef9f1985c49461ab6c9c4d4f99ae37c8f96fc45b Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Sun, 18 May 2025 13:27:53 -0400 Subject: [PATCH 01/26] add workflow for teahouse --- .github/workflows/teahouse.yml | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/teahouse.yml 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 From 3bc7c0da3ba554af3b532ca2320a392572cdd2e1 Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Sun, 18 May 2025 13:31:28 -0400 Subject: [PATCH 02/26] port to render-engine get template path to index working --- _includes/social-item.html | 7 -- _includes/social.html | 5 - .../_includes}/conferences.html | 0 .../_includes}/disqus_comments.html | 0 {_includes => _layouts/_includes}/footer.html | 4 +- {_includes => _layouts/_includes}/header.html | 28 +++--- .../_includes}/join_us.html | 0 .../_includes}/latest-posts.html | 0 .../_includes}/meetups.html | 0 .../_includes}/newsletter_form.html | 0 .../open_source_program/program_closed.html | 0 .../open_source_program/program_opened.html | 0 .../_includes}/partnerships.html | 0 {_includes => _layouts/_includes}/posts.html | 0 .../_includes}/social-icons/devto.svg | 0 .../_includes}/social-icons/discord.svg | 0 .../_includes}/social-icons/dribbble.svg | 0 .../_includes}/social-icons/email.svg | 0 .../_includes}/social-icons/facebook.svg | 0 .../_includes}/social-icons/flickr.svg | 0 .../_includes}/social-icons/github.svg | 0 .../_includes}/social-icons/gitlab.svg | 0 .../social-icons/google_scholar.svg | 0 .../_includes}/social-icons/instagram.svg | 0 .../_includes}/social-icons/keybase.svg | 0 .../_includes}/social-icons/linkedin.svg | 0 .../_includes}/social-icons/mastodon.svg | 0 .../_includes}/social-icons/microdotblog.svg | 0 .../_includes}/social-icons/pinterest.svg | 0 .../_includes}/social-icons/rss.svg | 0 .../_includes}/social-icons/stackoverflow.svg | 0 .../_includes}/social-icons/telegram.svg | 0 .../_includes}/social-icons/twitter.svg | 0 .../_includes}/social-icons/x.svg | 0 .../_includes}/social-icons/youtube.svg | 0 _layouts/_includes/social-item.html | 7 ++ _layouts/_includes/social.html | 3 + .../_includes}/svg_symbol.html | 0 _layouts/default.html | 31 ++---- _layouts/index.html | 26 +++-- app.py | 11 +++ index.html | 1 - output/home.html | 26 +++++ output/index.html | 94 +++++++++++++++++++ requirements.txt | 6 +- 45 files changed, 188 insertions(+), 61 deletions(-) delete mode 100644 _includes/social-item.html delete mode 100644 _includes/social.html rename {_includes => _layouts/_includes}/conferences.html (100%) rename {_includes => _layouts/_includes}/disqus_comments.html (100%) rename {_includes => _layouts/_includes}/footer.html (90%) rename {_includes => _layouts/_includes}/header.html (70%) rename {_includes => _layouts/_includes}/join_us.html (100%) rename {_includes => _layouts/_includes}/latest-posts.html (100%) rename {_includes => _layouts/_includes}/meetups.html (100%) rename {_includes => _layouts/_includes}/newsletter_form.html (100%) rename {_includes => _layouts/_includes}/open_source_program/program_closed.html (100%) rename {_includes => _layouts/_includes}/open_source_program/program_opened.html (100%) rename {_includes => _layouts/_includes}/partnerships.html (100%) rename {_includes => _layouts/_includes}/posts.html (100%) rename {_includes => _layouts/_includes}/social-icons/devto.svg (100%) rename {_includes => _layouts/_includes}/social-icons/discord.svg (100%) rename {_includes => _layouts/_includes}/social-icons/dribbble.svg (100%) rename {_includes => _layouts/_includes}/social-icons/email.svg (100%) rename {_includes => _layouts/_includes}/social-icons/facebook.svg (100%) rename {_includes => _layouts/_includes}/social-icons/flickr.svg (100%) rename {_includes => _layouts/_includes}/social-icons/github.svg (100%) rename {_includes => _layouts/_includes}/social-icons/gitlab.svg (100%) rename {_includes => _layouts/_includes}/social-icons/google_scholar.svg (100%) rename {_includes => _layouts/_includes}/social-icons/instagram.svg (100%) rename {_includes => _layouts/_includes}/social-icons/keybase.svg (100%) rename {_includes => _layouts/_includes}/social-icons/linkedin.svg (100%) rename {_includes => _layouts/_includes}/social-icons/mastodon.svg (100%) rename {_includes => _layouts/_includes}/social-icons/microdotblog.svg (100%) rename {_includes => _layouts/_includes}/social-icons/pinterest.svg (100%) rename {_includes => _layouts/_includes}/social-icons/rss.svg (100%) rename {_includes => _layouts/_includes}/social-icons/stackoverflow.svg (100%) rename {_includes => _layouts/_includes}/social-icons/telegram.svg (100%) rename {_includes => _layouts/_includes}/social-icons/twitter.svg (100%) rename {_includes => _layouts/_includes}/social-icons/x.svg (100%) rename {_includes => _layouts/_includes}/social-icons/youtube.svg (100%) create mode 100644 _layouts/_includes/social-item.html create mode 100644 _layouts/_includes/social.html rename {_includes => _layouts/_includes}/svg_symbol.html (100%) create mode 100644 app.py create mode 100644 output/home.html create mode 100644 output/index.html 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 90% rename from _includes/footer.html rename to _layouts/_includes/footer.html index 9a88f25..e532ac9 100644 --- a/_includes/footer.html +++ b/_layouts/_includes/footer.html @@ -22,11 +22,11 @@

    Contact Us

    Email: contact@blackpythondevs.com

    - + diff --git a/_includes/header.html b/_layouts/_includes/header.html similarity index 70% rename from _includes/header.html rename to _layouts/_includes/header.html index 38e8924..e9a95f2 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 %}
    -

    Our Mission

    + +
    + + +

    Our Mission

    Secure the bag

    @@ -75,6 +79,116 @@

    Say it loud!


    + + +
    +
    +

    Support Black Python Devs

    +
    +
    +
    + + +
    +
    + Black Python Devs logo with GNOME Foundation sponsorship +
    +
    +
    +
    +

    + Black Python Devs is a Non-Profit, fiscally hosted under the GNOME Foundation. GNOME does take a percentage for operating costs for our account and administration but at least 90% of proceeds goes directly to Black Python Devs General Purpose + Fund as detailed here. +

    +
    +
    +

    Corporate Sponsors

    +
    + + + +
    +
    +
    +

    Partnerships

    + +

    We're happy to share with you our proud sponsors who offer their products at discounted rates and a portion of proceeds go to support Black Python Devs!

    + +
    +
    +