diff --git a/.github/actions/people/action.yml b/.github/workflows/maint-docs-people.yml similarity index 73% rename from .github/actions/people/action.yml rename to .github/workflows/maint-docs-people.yml index dded9fc9..4186c867 100644 --- a/.github/actions/people/action.yml +++ b/.github/workflows/maint-docs-people.yml @@ -5,20 +5,24 @@ name: Django Components People on: schedule: + # At 18:00 on day-of-month 1. - cron: "0 18 1 * *" + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: - job: + update-people: runs-on: ubuntu-latest permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: "3.13" - name: Install dependencies run: pip install -U PyGithub pyyaml pydantic pydantic-settings httpx diff --git a/.github/workflows/maint-supported-versions.yml b/.github/workflows/maint-supported-versions.yml index 1cc1a55d..246c7ef0 100644 --- a/.github/workflows/maint-supported-versions.yml +++ b/.github/workflows/maint-supported-versions.yml @@ -19,9 +19,9 @@ jobs: uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: "3.13" cache: "pip" - name: Install dependencies diff --git a/CHANGELOG.md b/CHANGELOG.md index e0ae9e26..5ac150a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -105,6 +105,10 @@ # /components/ext/view/components/c1ab2c3?abc=123&enabled ``` +#### Docs + +- New [people page](https://django-components.github.io/django-components/dev/community/people/) to celebrate the contributors and authors! + ## v0.141.6 _29 Sep 2025_ diff --git a/docs/community/development.md b/docs/community/development.md index 73cbc0d4..5a085007 100644 --- a/docs/community/development.md +++ b/docs/community/development.md @@ -219,6 +219,12 @@ The CI workflow runs when: - A new commit is pushed to the `master` branch - This updates the `dev` version - A new tag is pushed - This updates the `latest` version and the version specified in the tag name +### People page + +The [people page](https://django-components.github.io/django-components/dev/community/people/) is regularly updated with stats about the contributors and authors. This is triggered automatically once a month or manually via the Actions tab. + +See [`.github/workflows/maint-docs-people.yml`](https://github.com/django-components/django-components/blob/master/.github/workflows/maint-docs-people.yml) for more details. + ## Publishing We use Github actions to automatically publish new versions of django-components to PyPI when a new tag is pushed. [See the full workflow here](https://github.com/django-components/django-components/blob/master/.github/workflows/publish-to-pypi.yml). diff --git a/docs/css/style.css b/docs/css/style.css index 0783de3d..1dc55c04 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -41,23 +41,23 @@ h6 { } .user a { - display: flex; - flex-direction: column; - align-items: center; - font-size: 18px; + display: flex; + flex-direction: column; + align-items: center; + font-size: 18px; } .user .avatar-wrapper { - width: 8em; - height: 8em; + width: 6em; + height: 6em; border-radius: 50%; overflow: hidden; } .title { - margin: 8px 0 4px 0; + margin: 8px 0 4px 0; } .info { - font-size: 16px; + font-size: 16px; } \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 7c41a0a7..d808b544 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -197,7 +197,14 @@ plugins: - docs/scripts/extensions.py:SourceCodeExtension # - docs/scripts/extensions.py:ComponentSyntaxesExtension - macros: + # Macros plugin automatically transforms markdown pages into Jinja2 templates. + # The combination of `render_by_default: false` and `force_render_paths` makes + # this behaviour OPT-IN for specific pages. + # See https://mkdocs-macros-plugin.readthedocs.io/en/latest/rendering/#opt-in-through-the-config-file render_by_default: false force_render_paths: community/people.md + # The data included in these YAML files will be available as variables in the Jinja2 templates. + # e.g. `{{ people.maintainers }}` + # See https://mkdocs-macros-plugin.readthedocs.io/en/latest/#configuration-of-the-plugin include_yaml: - people: docs/community/people.yml