deckz
Advanced tools
@@ -47,2 +47,5 @@ name: Deploy MkDocs site to Pages | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pages: write | ||
| id-token: write | ||
| needs: build | ||
@@ -52,2 +55,2 @@ steps: | ||
| id: deployment | ||
| uses: actions/deploy-pages@v1 | ||
| uses: actions/deploy-pages@v4 |
+1
-1
| Metadata-Version: 2.4 | ||
| Name: deckz | ||
| Version: 24.0.1 | ||
| Version: 24.1.0 | ||
| Summary: Tool to handle multiple beamer decks. | ||
@@ -5,0 +5,0 @@ Author-email: m09 <142691+m09@users.noreply.github.com>, NyxAether <contact.nyxhemera@gmail.com> |
+14
-14
@@ -33,19 +33,19 @@ [project] | ||
| requires-python = ">= 3.12" | ||
| version = "24.0.1" | ||
| version = "24.1.0" | ||
| [dependency-groups] | ||
| dev = [ | ||
| "mkdocs", | ||
| "mkdocs-gen-files", | ||
| "mkdocs-literate-nav", | ||
| "mkdocs-material", | ||
| "mkdocstrings[python]", | ||
| "mypy", | ||
| "pdfminer.six", | ||
| "pytest-cov", | ||
| "pytest", | ||
| "ruff", | ||
| "types-pyyaml", | ||
| "types-requests", | ||
| "mkdocs-section-index>=0.3.9", | ||
| "mkdocs >= 1", | ||
| "mkdocs-gen-files >= 0.5", | ||
| "mkdocs-literate-nav >= 0.6", | ||
| "mkdocs-material >= 9", | ||
| "mkdocs-section-index >= 0.3", | ||
| "mkdocstrings[python] >= 0.29", | ||
| "mypy >= 1", | ||
| "pdfminer.six >= 20250327", | ||
| "pytest >= 8", | ||
| "pytest-cov >= 6", | ||
| "ruff >= 0.11", | ||
| "types-pyyaml >= 6", | ||
| "types-requests >= 2.32", | ||
| ] | ||
@@ -52,0 +52,0 @@ |
@@ -68,8 +68,10 @@ from collections.abc import Iterable | ||
| deck_definition = DeckDefinition.model_validate(load_yaml(deck_definition_path)) | ||
| return Deck( | ||
| deck = Deck( | ||
| name=deck_definition.name, parts=self._parse_parts(deck_definition.parts) | ||
| ) | ||
| self._validate(deck) | ||
| return deck | ||
| def from_section(self, section: str, flavor: FlavorName) -> Deck: | ||
| return Deck( | ||
| deck = Deck( | ||
| name="deck", | ||
@@ -89,5 +91,7 @@ parts=self._parse_parts( | ||
| ) | ||
| self._validate(deck) | ||
| return deck | ||
| def from_file(self, latex: str) -> Deck: | ||
| return Deck( | ||
| deck = Deck( | ||
| name="deck", | ||
@@ -103,2 +107,4 @@ parts=self._parse_parts( | ||
| ) | ||
| self._validate(deck) | ||
| return deck | ||
@@ -280,3 +286,4 @@ def _parse_parts( | ||
| def _validate(self, deck: Deck) -> None: | ||
| @staticmethod | ||
| def _validate(deck: Deck) -> None: | ||
| tree = RichTreeVisitor().process(deck) | ||
@@ -283,0 +290,0 @@ if tree is not None: |
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
3301
0.21%376743
-0.8%