Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ build:
python: "3.11"
apt_packages:
- graphviz

python:
install:
- requirements: requirements/doc.txt
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group doc
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv pip install --no-deps -e .

formats:
- epub
Expand Down
33 changes: 33 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,39 @@ Unreleased

*

0.4.1 - 2025-12-31
******************

Added
=====

* New ``text_elements`` format for PDF credential generation with flexible text positioning and placeholder support.
* Support for custom text elements with ``{name}``, ``{context_name}``, and ``{issue_date}`` placeholders.
* Global ``defaults`` configuration for font, color, and character spacing.

Modified
========

* Migrated generator options from flat format (``name_y``, ``context_name_color``, etc.) to structured ``text_elements`` format.

0.3.1 - 2025-12-15
******************

Added
=====

* Support for defining the course name using the ``cert_name_long`` field (in Studio's Advanced Settings).
* Support for specifying individual fonts for PDF text elements.
* Support for \n in learning context names in PDF certificates.
* Options for uppercase name and issue date in PDF certificates.
* Option for defining character spacing for issue date in PDF certificates.
* Option for defining the horizontal offset of the issue date from its centered position (``issue_date_x``).

Modified
========

* Replaced ``template_two_lines`` with ``template_multiline``.

0.3.0 - 2025-09-17
******************

Expand Down
Loading