From 22ed443ca7838dec9c103baf226e483632e2c52f Mon Sep 17 00:00:00 2001 From: Chandler Weiner <23106097+crweiner@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:52:24 -0400 Subject: [PATCH 1/7] Install MkDocs via pip3 --- netlify.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/netlify.toml b/netlify.toml index d1967db3..00471c69 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,5 @@ [build] + command = "pip3 install mkdocs" command = "mkdocs build --config-file mkdocs.yml" publish = "site" From 17bd0d9e84db8b72142d39cbfb58606f46e1b9f3 Mon Sep 17 00:00:00 2001 From: Chandler Weiner <23106097+crweiner@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:56:27 -0400 Subject: [PATCH 2/7] Change Netlify command --- netlify.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 00471c69..9d43e92a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,8 @@ [build] - command = "pip3 install mkdocs" - command = "mkdocs build --config-file mkdocs.yml" + command = """ + pip3 install -q poetry && + mkdocs build --config-file mkdocs.yml + """ publish = "site" [build.environment] From 07d8a86a0554ad96d8db40004f01972d4bac861e Mon Sep 17 00:00:00 2001 From: Chandler Weiner <23106097+crweiner@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:59:01 -0400 Subject: [PATCH 3/7] Change Poetry for MkDocs --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 9d43e92a..c6f3ec02 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] command = """ - pip3 install -q poetry && + pip3 install -q mkdocs && mkdocs build --config-file mkdocs.yml """ publish = "site" From f6aee1f2d71f41dd3bb1f44d8c12bf9f89d5c2bd Mon Sep 17 00:00:00 2001 From: Chandler Weiner <23106097+crweiner@users.noreply.github.com> Date: Thu, 31 Oct 2024 01:01:56 -0400 Subject: [PATCH 4/7] Add MkDocs Material to pip install --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index c6f3ec02..5c3969a9 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] command = """ - pip3 install -q mkdocs && + pip3 install -q mkdocs mkdocs-material && mkdocs build --config-file mkdocs.yml """ publish = "site" From 68ac1fce749c1b52a78499101ef067cdc1692ffd Mon Sep 17 00:00:00 2001 From: Chandler Weiner Date: Thu, 31 Oct 2024 05:25:26 +0000 Subject: [PATCH 5/7] Imaging pip --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 5c3969a9..e6606558 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] command = """ - pip3 install -q mkdocs mkdocs-material && + pip3 install mkdocs mkdocs-material[imaging] && mkdocs build --config-file mkdocs.yml """ publish = "site" From 35ceaa3a2f4bf2d2798561ca946429f8bb381ff2 Mon Sep 17 00:00:00 2001 From: Chandler Weiner Date: Thu, 31 Oct 2024 05:28:49 +0000 Subject: [PATCH 6/7] add markdown_link_attr_modifier --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index e6606558..e0001ca3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] command = """ - pip3 install mkdocs mkdocs-material[imaging] && + pip3 install mkdocs mkdocs-material[imaging] markdown_link_attr_modifier && mkdocs build --config-file mkdocs.yml """ publish = "site" From 221066e2757329d90512d7d8e2f7b0cda3579139 Mon Sep 17 00:00:00 2001 From: Chandler Weiner Date: Thu, 31 Oct 2024 05:31:42 +0000 Subject: [PATCH 7/7] Remove old Ruby version --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index e0001ca3..0ac6838a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,4 +6,4 @@ publish = "site" [build.environment] - RUBY_VERSION = "2.7.4" + PYTHON_VERSION = "3.8"