From 9a75927a18df9c3f2cf91a71d0e395a95805a9c8 Mon Sep 17 00:00:00 2001 From: maharshigor Date: Tue, 19 Sep 2023 16:49:26 -0400 Subject: [PATCH 1/2] teams incorporated --- conf.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index b3293b7f..8bdd4034 100644 --- a/conf.py +++ b/conf.py @@ -295,7 +295,7 @@ }, "footer_start": ["components/footer-sign-up.html"], "footer_signup_data": { - "heading": "Never miss an update from us", + "heading": "Never miss an update from us!", "sub_heading": "Don't worry! we are not going to spam you." }, "footer_end": ["components/footer-sections.html"], @@ -378,7 +378,13 @@ ] } ], - "footer_copyright": "Copyright 2008-2023, DIPY developers. Created using Grg Sphinx Theme and PyData Sphinx Theme." + "footer_copyright": "Copyright 2008-2023, DIPY developers. Created using Grg Sphinx Theme and PyData Sphinx Theme.", + "github_project": "dipy", + "github_repo": "dipy", + "github_teams": [{ + "value": "core-dev", + "label": "Core Developers" + }] } with open('context/context.toml', 'rb') as f: @@ -429,7 +435,8 @@ # Additional templates that should be rendered to pages, maps page names to # template names. html_additional_pages = { - "index": "home.html" + "index": "home.html", + "team": "team.html" } # If false, no module index is generated. From a45d2bf12b03420849329ddb4269ff488baf72b7 Mon Sep 17 00:00:00 2001 From: maharshigor Date: Thu, 21 Sep 2023 18:44:41 -0400 Subject: [PATCH 2/2] team working --- _static/css/home/carousel.css | 2 +- _static/css/home/cite.css | 2 +- _static/css/home/explore.css | 2 +- conf.py | 31 ++++++--- contributors.json | 127 ++++++++++++++++++++++++++++++++++ 5 files changed, 151 insertions(+), 13 deletions(-) create mode 100644 contributors.json diff --git a/_static/css/home/carousel.css b/_static/css/home/carousel.css index 3f96f197..f281cd29 100644 --- a/_static/css/home/carousel.css +++ b/_static/css/home/carousel.css @@ -18,7 +18,7 @@ top: 40px; left: 0; background-color: var(--gst-color-primary); - box-shadow: var(--pst-shadow); + box-shadow: var(--gst-shadow); } .carousel-caption::after { diff --git a/_static/css/home/cite.css b/_static/css/home/cite.css index 0fdf279e..db1bde76 100644 --- a/_static/css/home/cite.css +++ b/_static/css/home/cite.css @@ -23,7 +23,7 @@ justify-content: center; align-items: center; - box-shadow: var(--pst-shadow); + box-shadow: var(--gst-shadow); } diff --git a/_static/css/home/explore.css b/_static/css/home/explore.css index 0f07751f..5272d6bb 100644 --- a/_static/css/home/explore.css +++ b/_static/css/home/explore.css @@ -12,7 +12,7 @@ .explore-tile:hover, .explore-tile:hover .explore-tile-icon { - box-shadow: var(--pst-shadow); + box-shadow: var(--gst-shadow); } .explore-tile-icon { diff --git a/conf.py b/conf.py index 8bdd4034..cc0d4976 100644 --- a/conf.py +++ b/conf.py @@ -13,6 +13,7 @@ import os import sys +import json try: import tomllib except ImportError: @@ -124,6 +125,9 @@ # given in html_static_path. html_style = 'css/dipy.css' +with open('contributors.json', 'r') as f: + contributors = json.load(f) + # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. @@ -139,26 +143,32 @@ { "name": "Quick Start", "url": "https://docs.dipy.org", + "link_type": "inter" }, { "name": "Tutorials", "url": "https://docs.dipy.org/tutorials", + "link_type": "inter" }, { "name": "Recipes", "url": "https://docs.dipy.org/recipes", + "link_type": "inter" }, { "name": "CLI / Workflows", "url": "https://docs.dipy.org/cli", + "link_type": "inter" }, { "name": "API", "url": "https://docs.dipy.org/reference", + "link_type": "inter" }, { "name": "CLI API", "url": "https://docs.dipy.org/cli/reference", + "link_type": "inter" } ] }, @@ -168,32 +178,32 @@ { "name": "DIPY Workshop 2024", "url": "https://dipy.org/workshops/dipy-workshop-2024", - "external": True + "link_type": "external" }, { "name": "DIPY Workshop 2023", "url": "https://dipy.org/workshops/dipy-workshop-2023", - "external": True + "link_type": "external" }, { "name": "DIPY Workshop 2022", "url": "https://dipy.org/workshops/dipy-workshop-2022", - "external": True + "link_type": "external" }, { "name": "DIPY Workshop 2021", "url": "https://dipy.org/workshops/dipy-workshop-2021", - "external": True + "link_type": "external" }, { "name": "DIPY Workshop 2020", "url": "https://dipy.org/workshops/dipy-workshop-2020", - "external": True + "link_type": "external" }, { "name": "DIPY Workshop 2019", "url": "https://dipy.org/workshops/dipy-workshop-2019", - "external": True + "link_type": "external" }, ] }, @@ -206,7 +216,7 @@ { "name": "Newsletters", "url": "", - "external": True + "link_type": "external" }, { "name": "Blog", @@ -215,7 +225,7 @@ { "name": "Youtube", "url": "blog", - "external": True + "link_type": "external" } ] }, @@ -229,7 +239,7 @@ { "name": "Github Discussions", "url": "", - "external": True + "link_type": "external" } ] } @@ -384,7 +394,8 @@ "github_teams": [{ "value": "core-dev", "label": "Core Developers" - }] + }], + "contributors_details": contributors } with open('context/context.toml', 'rb') as f: diff --git a/contributors.json b/contributors.json new file mode 100644 index 00000000..36dbcdf4 --- /dev/null +++ b/contributors.json @@ -0,0 +1,127 @@ + [ + { + "login": "garyfallidis", + "fullname": "Eleftherios Garyfallidis", + "affiliation": "Indiana University, IN, USA", + "priority": 1 + }, + { + "login": "skoudoro", + "fullname": "Serge Koudoro", + "affiliation": "Indiana University, IN, USA", + "priority": 3 + }, + { + "login": "ranveeraggarwal", + "fullname": "Ranveer Aggarwal", + "affiliation": "Microsoft, Hyderabad, Telangana, India" + }, + { + "login": "marccote", + "fullname": "Marc Alexandre Cote", + "affiliation": "Microsoft Research, Montreal, QC, CA" + }, + { + "login": "karandeepsj", + "fullname": "Karandeep Singh Juneja", + "affiliation": "International Institute of Information Technology, Hyderabad, India" + }, + { + "login": "dmreagan", + "fullname": "David Reagan", + "affiliation": "Indiana University, IN, USA" + }, + + { + "login": "arokem", + "fullname": "Ariel Rokem", + "affiliation": "University of Washington, WA, USA", + "priority": 2 + }, + { + "login": "matthew-brett", + "fullname": "Matthew Brett", + "affiliation": "Birmingham University, Birmingham, UK" + }, + { + "login": "khessijordan", + "fullname": "Khessi Jordan", + "affiliation": "University of California, San Francisco, CA, USA" + }, + { + "login": "omarocegueda", + "fullname": "Omar Ocegueda", + "affiliation": "Google, San Francisco, CA" + }, + { + "login": "mrbago", + "fullname": "Bago Amirbekian", + "affiliation": "Databricks, San Francisco, CA, USA" + }, + { + "login": "grlee77", + "fullname": "Gregory R. Lee", + "affiliation": "Cincinnati Children’s Hospital Medical Center, Cincinnati, OH, USA" + }, + { + "login": "stefanv", + "fullname": "Stefan Van der Walt", + "affiliation": "University of California, Berkeley, CA, USA" + }, + { + "login": "albayenes", + "fullname": "Enes Albay", + "affiliation": "" + }, + { + "login": "jhlegaretta", + "fullname": "John Legaretta", + "affiliation": "University of Sherbrooke, QC, CA" + }, + { + "login": "gauvinalexandre", + "fullname": "Alexander Gauvin", + "affiliation": "University of Sherbrooke, QC, CA" + }, + { + "login": "theaverageguy", + "fullname": "Yash Sherry", + "affiliation": "MIT Research Affiliate" + }, + { + "login": "stongeetienne", + "fullname": "Etienne St-Onge", + "affiliation": "University of Sherbrooke, QC, CA" + }, + { + "login": "cnguyen", + "fullname": "Christopher Nguyen", + "affiliation": "Massachusetts General Hospital, MA, USA" + }, + { + "login": "samuelstjean", + "fullname": "Samuel St-Jean", + "affiliation": "University Medical Center (UMC) Utrecht, Utrecht, NL" + }, + { + "login": "borda", + "fullname": "Jiri Borovec", + "affiliation": "Czech Technical University, Prague, CZ" + }, + { + "login": "yarikoptic", + "fullname": "Yaroslav Halchenko", + "affiliation": "Center for Open Neuroscience , Darmouth, US" + }, + { + "login": "arybinski", + "fullname": "Adam Rybinski", + "affiliation": "" + }, + { + "login": "wasserth", + "fullname": "Jakob Wasserthal", + "affiliation": "DKFZ MIC - German Cancer Research Center, Germany" + } + + ] \ No newline at end of file