From 6d37a22054f603f4f26593ff348ab55c5bea2a33 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Thu, 11 Aug 2022 12:57:47 +0200 Subject: [PATCH 1/4] :wrench: Remove lamin footer --- noxfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/noxfile.py b/noxfile.py index 89d3d75..1121d7f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -25,4 +25,5 @@ def build(session): session.run("coverage", "xml") prefix = "." if Path("./lndocs").exists() else ".." session.install(f"{prefix}/lndocs") + session.run("rm", "./lamin_sphinx/_templates/footer.html") session.run("lndocs") From f0de88e84bdd4bb163ad620dbeae79fcc0c89f1b Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Thu, 11 Aug 2022 13:02:18 +0200 Subject: [PATCH 2/4] :memo: Also set static path and logo --- docs/conf.py | 4 ++++ noxfile.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 4df9ff1..99012b3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,3 +35,7 @@ "https://raw.githubusercontent.com/buettnerlab/pytometry/main/docs/_static/logo.ico" ) templates_path = ["_templates", "../lamin_sphinx/_templates"] +html_static_path = ["_static", "../lamin_sphinx/_static"] +ogp_image = ( + "https://raw.githubusercontent.com/buettnerlab/pytometry/main/docs/_static/logo.svg" +) diff --git a/noxfile.py b/noxfile.py index 1121d7f..3a08785 100644 --- a/noxfile.py +++ b/noxfile.py @@ -24,6 +24,6 @@ def build(session): ) session.run("coverage", "xml") prefix = "." if Path("./lndocs").exists() else ".." - session.install(f"{prefix}/lndocs") session.run("rm", "./lamin_sphinx/_templates/footer.html") + session.install(f"{prefix}/lndocs") session.run("lndocs") From 76eadfe13b50a4b1edfee28060a8e9ff3111e759 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Thu, 11 Aug 2022 13:13:16 +0200 Subject: [PATCH 3/4] :green_heart: Fix noxfile --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 3a08785..ffd5092 100644 --- a/noxfile.py +++ b/noxfile.py @@ -24,6 +24,6 @@ def build(session): ) session.run("coverage", "xml") prefix = "." if Path("./lndocs").exists() else ".." - session.run("rm", "./lamin_sphinx/_templates/footer.html") + Path("{prefix}/lndocs/lamin_sphinx/_templates/footer.html").unlink() session.install(f"{prefix}/lndocs") session.run("lndocs") From 46ae383e869a98fc9b7c784003b158a9025c8c0c Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Thu, 11 Aug 2022 13:19:21 +0200 Subject: [PATCH 4/4] :wrench: Back to regular noxfile --- noxfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index ffd5092..89d3d75 100644 --- a/noxfile.py +++ b/noxfile.py @@ -24,6 +24,5 @@ def build(session): ) session.run("coverage", "xml") prefix = "." if Path("./lndocs").exists() else ".." - Path("{prefix}/lndocs/lamin_sphinx/_templates/footer.html").unlink() session.install(f"{prefix}/lndocs") session.run("lndocs")