From 0ed7f7035a0f2c0bcaa37f6c34fba3b971113e76 Mon Sep 17 00:00:00 2001 From: Chandler Weiner Date: Thu, 31 Oct 2024 01:34:55 -0400 Subject: [PATCH] Fix Netlify Deploy * Install MkDocs via pip3 * Change Netlify command * Change Poetry for MkDocs * Add MkDocs Material to pip install * Imaging pip * add markdown_link_attr_modifier * Remove old Ruby version --- netlify.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index d1967db3..0ac6838a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,9 @@ [build] - command = "mkdocs build --config-file mkdocs.yml" + command = """ + pip3 install mkdocs mkdocs-material[imaging] markdown_link_attr_modifier && + mkdocs build --config-file mkdocs.yml + """ publish = "site" [build.environment] - RUBY_VERSION = "2.7.4" + PYTHON_VERSION = "3.8"