From 2229d53018ee9482648829b094ece543531563c3 Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 11:59:00 -0700 Subject: [PATCH 01/11] Update conf.py test to update the conf.py file in relation to issue #322 --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 04007608..6a15a229 100644 --- a/conf.py +++ b/conf.py @@ -109,7 +109,7 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["copyright"], + "footer_start": ["copyright",], "footer_end": [], } From 8a82c31c6e4cee6d4708500923d8ebbbe4394681 Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 12:04:51 -0700 Subject: [PATCH 02/11] Update conf.py - breaking things test of "draft mode" --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 6a15a229..c5cacf05 100644 --- a/conf.py +++ b/conf.py @@ -109,7 +109,7 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["copyright",], + "footer_start": ["copyright",!], "footer_end": [], } From 348f01a1c11d344c810383cdc736be7473be8021 Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 14:44:02 -0700 Subject: [PATCH 03/11] Update conf.py Updated footer to include direct URL to Code of Conduct document as defined in issue #322 --- conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index c5cacf05..8da5cd5f 100644 --- a/conf.py +++ b/conf.py @@ -109,8 +109,8 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["copyright",!], - "footer_end": [], + "footer_start": ["pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community."], + "footer_end": ["copyright"], } html_context = { From e79a410949ed9495a2e1f16680fef1aba83ab7a6 Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 14:48:05 -0700 Subject: [PATCH 04/11] Update conf.py Closes #322 Updated conf.py file to include direct URL to Code of Conduct in the footer of all pages as mentioned in issue #322 From 0b6620a1e51a13a4dcabb0b240d6c74e0330330a Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 14:59:26 -0700 Subject: [PATCH 05/11] Update conf.py Closes #322 Updated conf.py file to include direct URL to Code of Conduct in the footer of all pages as mentioned in issue #322 --- conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 8da5cd5f..61e2b1e0 100644 --- a/conf.py +++ b/conf.py @@ -109,8 +109,8 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community."], - "footer_end": ["copyright"], + "footer_start": ["copyright", "pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community."], + "footer_end": [], } html_context = { From bb51b52d346b0823502b6f9567274d0417831a74 Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 15:12:28 -0700 Subject: [PATCH 06/11] Update conf.py Closes #322 Updated conf.py file to include direct URL to Code of Conduct in the footer of all pages as mentioned in issue #322 --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 61e2b1e0..7fde7dd3 100644 --- a/conf.py +++ b/conf.py @@ -109,7 +109,7 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["copyright", "pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community."], + "footer_start": ["copyright", "pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community."], "footer_end": [], } From 63362bcde3571e697ff7434b568492dd909981a6 Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 15:13:40 -0700 Subject: [PATCH 07/11] Update conf.py Closes #322 Updated conf.py file to include direct URL to Code of Conduct in the footer of all pages as mentioned in issue #322 From 1c1a9262b98d7e3d5e04523112cf5aae8d52d11c Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 15:24:27 -0700 Subject: [PATCH 08/11] Update conf.py Closes #322 Updated conf.py file to include direct URL to Code of Conduct in the footer of all pages as mentioned in issue #322 --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 7fde7dd3..24c9b25b 100644 --- a/conf.py +++ b/conf.py @@ -109,7 +109,7 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["copyright", "pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community."], + "footer_start": ["copyright", "

pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community.

"], "footer_end": [], } From d979b4c6ab2e57712768be3733b8a5a6ff6840c8 Mon Sep 17 00:00:00 2001 From: Han Date: Sat, 13 Jul 2024 15:36:19 -0700 Subject: [PATCH 09/11] Update conf.py test short url --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 24c9b25b..ee55ec5a 100644 --- a/conf.py +++ b/conf.py @@ -109,7 +109,7 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["copyright", "

pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community.

"], + "footer_start": ["copyright", "https://www.pyopensci.org/handbook/CODE_OF_CONDUCT.html"], "footer_end": [], } From c051c65079f24b3048ae534bd3edad8fb07f0987 Mon Sep 17 00:00:00 2001 From: Han Aw Yeang Date: Sat, 13 Jul 2024 16:39:44 -0700 Subject: [PATCH 10/11] Add Code of Conduct to Footer --- _templates/code_of_conduct.html | 1 + conf.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 _templates/code_of_conduct.html diff --git a/_templates/code_of_conduct.html b/_templates/code_of_conduct.html new file mode 100644 index 00000000..21e71e61 --- /dev/null +++ b/_templates/code_of_conduct.html @@ -0,0 +1 @@ +

pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community.

\ No newline at end of file diff --git a/conf.py b/conf.py index ee55ec5a..a37a669a 100644 --- a/conf.py +++ b/conf.py @@ -109,7 +109,7 @@ "show_toc_level": 1, # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly "github_url": "https://github.com/pyopensci/python-package-guide", - "footer_start": ["copyright", "https://www.pyopensci.org/handbook/CODE_OF_CONDUCT.html"], + "footer_start": ["code_of_conduct", "copyright"], "footer_end": [], } From f354e287b22681dd23c99db673fd47a8438f5cd8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 13 Jul 2024 23:44:33 +0000 Subject: [PATCH 11/11] =?UTF-8?q?'[pre-commit.ci=20=F0=9F=A4=96]=20Apply?= =?UTF-8?q?=20code=20format=20tools=20to=20PR'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _templates/code_of_conduct.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_templates/code_of_conduct.html b/_templates/code_of_conduct.html index 21e71e61..3b82d0ab 100644 --- a/_templates/code_of_conduct.html +++ b/_templates/code_of_conduct.html @@ -1 +1 @@ -

pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community.

\ No newline at end of file +

pyOpensci is dedicated to creating a welcoming, supportive and diverse community around the open source Python tools that drive open science. Our Code of Conduct defines expected behavior and guidelines that help create such a community.