From b3b7dbd7a5946b75dce53a6808fd7046d1d6becf Mon Sep 17 00:00:00 2001 From: George Vauter Date: Tue, 3 Sep 2024 11:16:45 -0400 Subject: [PATCH] fix: add markdown-include package to workflow and poetry --- .github/workflows/mkdocs.yml | 2 +- poetry.lock | 19 ++++++++++++++++++- pyproject.toml | 1 + 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 9cd6bb95..8acdc13e 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -22,5 +22,5 @@ jobs: with: key: ${{ github.ref }} path: .cache - - run: pip install mkdocs-material + - run: pip install mkdocs-material markdown-include - run: mkdocs gh-deploy --force diff --git a/poetry.lock b/poetry.lock index c11c0445..c841a8ff 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1120,6 +1120,23 @@ importlib-metadata = {version = ">=4.4", markers = "python_version < \"3.10\""} docs = ["mdx-gh-links (>=0.2)", "mkdocs (>=1.5)", "mkdocs-gen-files", "mkdocs-literate-nav", "mkdocs-nature (>=0.6)", "mkdocs-section-index", "mkdocstrings[python]"] testing = ["coverage", "pyyaml"] +[[package]] +name = "markdown-include" +version = "0.8.1" +description = "A Python-Markdown extension which provides an 'include' function" +optional = false +python-versions = ">=3.7" +files = [ + {file = "markdown-include-0.8.1.tar.gz", hash = "sha256:1d0623e0fc2757c38d35df53752768356162284259d259c486b4ab6285cdbbe3"}, + {file = "markdown_include-0.8.1-py3-none-any.whl", hash = "sha256:32f0635b9cfef46997b307e2430022852529f7a5b87c0075c504283e7cc7db53"}, +] + +[package.dependencies] +markdown = ">=3.0" + +[package.extras] +tests = ["pytest"] + [[package]] name = "markdown-it-py" version = "3.0.0" @@ -2585,4 +2602,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.8.1" -content-hash = "4a8eea1af39dae299c2000af88cfd50760a2a762498816238c5a0b8287fb7e78" +content-hash = "97ef7c1ede0e64754d45dc505b33d53cefeabb4083e64ba67e5cba57cbe10f90" diff --git a/pyproject.toml b/pyproject.toml index ee5ab3f4..8cc3984b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ safety = "^3.1.0" flake8-print = "^5.0.0" pre-commit = "^3.4.0" mkdocs-material = "^9.5.31" +markdown-include = "^0.8.1" [tool.poetry.group.tests.dependencies] pytest = "^8.3.2"