diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 122993b5b..fe01155de 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -64,7 +64,14 @@ jobs: # Pending runs check out current main, not a superseded content commit. - uses: actions/checkout@v4 with: + fetch-depth: 0 ref: ${{ github.event_name == 'pull_request' && github.sha || 'main' }} + - name: Debug git state + run: | + git for-each-ref + echo "--- branches" + git branch -a + git rev-parse --is-shallow-repository - uses: conda-incubator/setup-miniconda@v3 with: diff --git a/bkp/blogs/call-for-interns-2024-01/index.md b/bkp/blogs/call-for-interns-2024-01/index.md index 611d158af..2c0583f0e 100644 --- a/bkp/blogs/call-for-interns-2024-01/index.md +++ b/bkp/blogs/call-for-interns-2024-01/index.md @@ -272,7 +272,7 @@ requirements. configuration file. So the command line would be very simple. - **Categories:** DevOps, Container Management - **Organization/Project Webpage URL:** - [https://sugar-org.github.io/sugar/e](https://sugar-org.github.io/sugar/) + [https://osl-incubator.github.io/sugar/](https://osl-incubator.github.io/sugar/) - **Contact:** Ivan Ogasawara [ivan.ogasawara@gmail.com](mailto:ivan.ogasawara@gmail.com) - **Project Ideas URL:** diff --git a/bkp/opportunities/internship/cycles/2024-01.md b/bkp/opportunities/internship/cycles/2024-01.md index f9b366feb..4fbdebe56 100644 --- a/bkp/opportunities/internship/cycles/2024-01.md +++ b/bkp/opportunities/internship/cycles/2024-01.md @@ -367,7 +367,7 @@ requirements. - **Description**: Sugar aims to organize your stack of containers, gathering some useful scripts and keeping this information centralized in a configuration file. So the command line would be very simple. -- **Organization/Project Webpage URL**: +- **Organization/Project Webpage URL**: - **Contact**: Ivan Ogasawara (ivan.ogasawara@gmail.com) - **Project Ideas URL**: - **Application Record**: diff --git a/bkp/opportunities/internship/cycles/2024-02.md b/bkp/opportunities/internship/cycles/2024-02.md index d6183df2f..8204c31f3 100644 --- a/bkp/opportunities/internship/cycles/2024-02.md +++ b/bkp/opportunities/internship/cycles/2024-02.md @@ -352,7 +352,7 @@ requirements. - **Description**: Sugar aims to organize your stack of containers, gathering some useful scripts and keeping this information centralized in a configuration file. So the command line would be very simple. -- **Organization/Project Webpage URL**: +- **Organization/Project Webpage URL**: - **Contact**: Ivan Ogasawara (ivan.ogasawara@gmail.com) - **Project Ideas URL**: diff --git a/bkp/opportunities/internships/oss/project-ideas/index.md b/bkp/opportunities/internships/oss/project-ideas/index.md index 53e9d786b..fd0490c16 100644 --- a/bkp/opportunities/internships/oss/project-ideas/index.md +++ b/bkp/opportunities/internships/oss/project-ideas/index.md @@ -53,17 +53,16 @@ touch with them directly if you have any inquiries._ [link](https://github.com/osl-incubator/makim/wiki/Project-Ideas) - **Compensation**: Unpaid - - ### HiPerHealth -- **Description**: HiPerHealth (High Performance Health) provides tools and libraries for - healthcare services supported by AI. It includes screening, diagnosis, treatments, - prescriptions, clinical records, etc. +- **Description**: HiPerHealth (High Performance Health) provides tools and + libraries for healthcare services supported by AI. It includes screening, + diagnosis, treatments, prescriptions, clinical records, etc. - **Project WEB Page**: - **Repository**: - **Communication channel**: [Discord](https://discord.gg/Nu4MdGj9jB) -- **Project Ideas**: [link](https://github.com/hiperhealth/hiperhealth/wiki/Project-Ideas) +- **Project Ideas**: + [link](https://github.com/hiperhealth/hiperhealth/wiki/Project-Ideas) - **Compensation**: Unpaid ### Sugar @@ -71,7 +70,7 @@ touch with them directly if you have any inquiries._ - **Description**: Sugar organizes your stack of containers, gathering some useful scripts and keeping this information centralized in a configuration file with a friendly command line interface. -- **Project WEB Page**: +- **Project WEB Page**: - **Repository**: - **Communication channel**: [Discord](https://opensciencelabs.org/discord) - **Project Ideas**: diff --git a/pages/about/index.md b/pages/about/index.md index 2f7fd956f..7f05947b3 100644 --- a/pages/about/index.md +++ b/pages/about/index.md @@ -71,9 +71,10 @@ institutions who believe in open science and open technology. **[SciStitch](https://scistitch.com/)** is currently a **core supporting partner**, contributing substantial ongoing sponsorship, technical maintenance, and day-to-day operational support that help sustain OSL. OSL and SciStitch -strengthen one another through shared expertise and opportunities to collaborate, -while remaining independent in their decisions and direction. This partnership -works alongside the many people and organizations that make OSL possible. +strengthen one another through shared expertise and opportunities to +collaborate, while remaining independent in their decisions and direction. This +partnership works alongside the many people and organizations that make OSL +possible. ## Who OSL Is For diff --git a/pages/about/sponsorship/index.md b/pages/about/sponsorship/index.md index 88dba2982..bf08f1ad4 100644 --- a/pages/about/sponsorship/index.md +++ b/pages/about/sponsorship/index.md @@ -200,14 +200,14 @@ time, expertise, and maintenance.

SciStitch currently provides substantial ongoing sponsorship, technical -maintenance, and day-to-day operational support to help keep OSL moving -forward. This is a partnership between independent initiatives: OSL remains +maintenance, and day-to-day operational support to help keep OSL moving forward. +This is a partnership between independent initiatives: OSL remains community-owned and governed by its own community. Our contributors, -collaborators, affiliated projects, and partner institutions are essential -to sustaining this work as well. +collaborators, affiliated projects, and partner institutions are essential to +sustaining this work as well. -Other sponsors may be listed by year and sponsorship level. Sponsors may -request to be listed anonymously. +Other sponsors may be listed by year and sponsorship level. Sponsors may request +to be listed anonymously. Discuss your project diff --git a/pages/funding.json b/pages/funding.json index 14a213e17..7ec56985a 100644 --- a/pages/funding.json +++ b/pages/funding.json @@ -55,7 +55,7 @@ "name": "Sugar", "description": "Sugar simplifies the usage of containers and container stacks for reproducible development workflows.", "webpageUrl": { - "url": "https://sugar-org.github.io/sugar/" + "url": "https://osl-incubator.github.io/sugar/" }, "repositoryUrl": { "url": "https://github.com/sugar-org/sugar" diff --git a/pages/learning/index.md b/pages/learning/index.md index da5f2b20a..3b5792490 100644 --- a/pages/learning/index.md +++ b/pages/learning/index.md @@ -1,6 +1,8 @@ --- title: "Learning with FreeCampus" -description: "Explore open courses and educational opportunities through OSL partner FreeCampus" +description: + "Explore open courses and educational opportunities through OSL partner + FreeCampus" date: 2025-02-02 authors: ["OSL Team"] --- @@ -17,15 +19,15 @@ everyone. Rather than developing a separate course and training program on the OSL website, we are directing people interested in learning and educational collaboration to FreeCampus. This allows us to focus on connecting people and -supporting open-source projects while helping learners and educators discover -a community whose work centers on open education. +supporting open-source projects while helping learners and educators discover a +community whose work centers on open education. ## Discover FreeCampus -FreeCampus brings together learners, educators, and contributors to create -open, thoughtfully structured courses and learning resources. Its approach -emphasizes strong foundations, clear explanations, hands-on practice, and -materials that the community can review and improve over time. +FreeCampus brings together learners, educators, and contributors to create open, +thoughtfully structured courses and learning resources. Its approach emphasizes +strong foundations, clear explanations, hands-on practice, and materials that +the community can review and improve over time. You can explore its growing collection of subjects, including **Python and mathematics**, learn at your own pace, and find ways to help make educational @@ -36,19 +38,19 @@ resources better and more accessible. ## Have an idea for a course or training initiative? Whether you want to propose a new course, contribute teaching materials, -collaborate on a workshop or training initiative, or share your expertise as -an educator, **please contact the FreeCampus community directly**. FreeCampus +collaborate on a workshop or training initiative, or share your expertise as an +educator, **please contact the FreeCampus community directly**. FreeCampus coordinates course proposals, educational content, and related learning initiatives through its own channels. - **[Visit FreeCampus](https://freecampus.org/)** to discover its mission and learning resources. -- **[Explore the Instructor Network](https://freecampus.org/instructors/)** - to learn how educators and practitioners can contribute. -- **[Read the Community Guide](https://freecampus.org/community-guide/)** - for guidance on course ideas, contributions, and getting in touch. +- **[Explore the Instructor Network](https://freecampus.org/instructors/)** to + learn how educators and practitioners can contribute. +- **[Read the Community Guide](https://freecampus.org/community-guide/)** for + guidance on course ideas, contributions, and getting in touch. We encourage everyone who believes in open, collaborative education to explore FreeCampus, share its resources, and consider contributing. Together, we can -help more people access the knowledge and skills they need to learn, create, -and contribute to the world around them. +help more people access the knowledge and skills they need to learn, create, and +contribute to the world around them. diff --git a/pages/opportunities/gsoc/project-ideas/index.md b/pages/opportunities/gsoc/project-ideas/index.md index 8c215c6ad..382507ba5 100644 --- a/pages/opportunities/gsoc/project-ideas/index.md +++ b/pages/opportunities/gsoc/project-ideas/index.md @@ -76,13 +76,14 @@ touch with them directly if you have any inquiries._ ### HiPerHealth -- **Description**: HiPerHealth (High Performance Health) provides tools and libraries for - healthcare services supported by AI. It includes screening, diagnosis, treatments, - prescriptions, clinical records, etc. +- **Description**: HiPerHealth (High Performance Health) provides tools and + libraries for healthcare services supported by AI. It includes screening, + diagnosis, treatments, prescriptions, clinical records, etc. - **Project WEB Page**: - **Repository**: - **Communication channel**: [Discord](https://discord.gg/Nu4MdGj9jB) -- **Project Ideas**: [link](https://github.com/hiperhealth/hiperhealth/wiki/Project-Ideas) +- **Project Ideas**: + [link](https://github.com/hiperhealth/hiperhealth/wiki/Project-Ideas) ### Sugar (swarm-external-secrets) diff --git a/pages/projects/alliance/index.md b/pages/projects/alliance/index.md index 501b89f00..4787c87da 100644 --- a/pages/projects/alliance/index.md +++ b/pages/projects/alliance/index.md @@ -1,32 +1,70 @@ --- title: OSL Alliance -description: Membership, benefits, and shared responsibilities of OSL Alliance projects. +description: + Membership, benefits, and shared responsibilities of OSL Alliance projects. --- # OSL Alliance -OSL Alliance is Open Science Labs' single program for mission-aligned open-source projects. It replaces the former Project Affiliation and Project Incubation programs, bringing their overlapping benefits and project listings together in a structure that is easier for maintainers, contributors, and OSL volunteers to understand and operate. +OSL Alliance is Open Science Labs' single program for mission-aligned +open-source projects. It replaces the former Project Affiliation and Project +Incubation programs, bringing their overlapping benefits and project listings +together in a structure that is easier for maintainers, contributors, and OSL +volunteers to understand and operate. -The change is primarily organizational: **existing benefits remain largely unchanged**. Projects can gain visibility, connect with the OSL community and other maintainers, access shared knowledge and eligible infrastructure, seek mentoring or technical guidance when available, and propose participation in contributor programs such as Google Summer of Code. Access to limited programs, contributor slots, mentoring, or funding is never guaranteed and depends on readiness and available capacity. +The change is primarily organizational: **existing benefits remain largely +unchanged**. Projects can gain visibility, connect with the OSL community and +other maintainers, access shared knowledge and eligible infrastructure, seek +mentoring or technical guidance when available, and propose participation in +contributor programs such as Google Summer of Code. Access to limited programs, +contributor slots, mentoring, or funding is never guaranteed and depends on +readiness and available capacity. ## A shared commitment -OSL supports member projects, and member projects help OSL operate and grow. Each Alliance project is expected to identify a maintainer representative who can participate in the **Alliance Maintainers Council** and contribute to community work according to the team's expertise and availability. +OSL supports member projects, and member projects help OSL operate and grow. +Each Alliance project is expected to identify a maintainer representative who +can participate in the **Alliance Maintainers Council** and contribute to +community work according to the team's expertise and availability. -Examples include reviewing affiliation requests or project ideas, mentoring contributors, answering questions, improving OSL websites and infrastructure, developing bots or scripts, helping organize programs and events, outreach, and identifying sponsors, grants, or partner relationships. These are **flexible ways to help**, not a requirement to perform every task. OSL and the Council will keep coordination and contribution recording lightweight and will communicate changes in expectations with reasonable transition time. +Examples include reviewing affiliation requests or project ideas, mentoring +contributors, answering questions, improving OSL websites and infrastructure, +developing bots or scripts, helping organize programs and events, outreach, and +identifying sponsors, grants, or partner relationships. These are **flexible +ways to help**, not a requirement to perform every task. OSL and the Council +will keep coordination and contribution recording lightweight and will +communicate changes in expectations with reasonable transition time. -The Council helps coordinate cross-project activities and advises OSL leadership. It is not a replacement for OSL's governing board, and membership does not automatically grant legal board authority. +The Council helps coordinate cross-project activities and advises OSL +leadership. It is not a replacement for OSL's governing board, and membership +does not automatically grant legal board authority. ## Membership and project independence -Alliance members retain control over their own repositories, licenses, intellectual property, roadmaps, technical decisions, governance, and releases. OSL membership is not a certification or a guarantee of long-term maintenance, funding, interns, reviewers, or GSoC participation. +Alliance members retain control over their own repositories, licenses, +intellectual property, roadmaps, technical decisions, governance, and releases. +OSL membership is not a certification or a guarantee of long-term maintenance, +funding, interns, reviewers, or GSoC participation. -Projects should have an OSI-approved open-source license, a public Code of Conduct, at least one reachable maintainer, public development and contact channels, and alignment with OSL's values. A mature or stable project does not need to make frequent commits to remain responsibly maintained. +Projects should have an OSI-approved open-source license, a public Code of +Conduct, at least one reachable maintainer, public development and contact +channels, and alignment with OSL's values. A mature or stable project does not +need to make frequent commits to remain responsibly maintained. ## Applying -Open a request in the [OSL Alliance requests repository](https://github.com/OpenScienceLabs/alliance-requests). Share a project description, repository and documentation links, license, Code of Conduct, maintainer contacts, maintenance status, and what kind of involvement you expect. OSL will review eligibility and follow up if anything needs clarification. +Open a request in the +[OSL Alliance requests repository](https://github.com/OpenScienceLabs/alliance-requests). +Share a project description, repository and documentation links, license, Code +of Conduct, maintainer contacts, maintenance status, and what kind of +involvement you expect. OSL will review eligibility and follow up if anything +needs clarification. -For current members of the former affiliation or incubation programs, the main change is participating in the shared Council and identifying ways to help the wider OSL community. Existing project listings have been combined in the [Alliance directory](/projects/list/). Any additional onboarding steps or changes to expectations will be explained directly to maintainers in advance. +For current members of the former affiliation or incubation programs, the main +change is participating in the shared Council and identifying ways to help the +wider OSL community. Existing project listings have been combined in the +[Alliance directory](/projects/list/). Any additional onboarding steps or +changes to expectations will be explained directly to maintainers in advance. -[View Alliance projects](/projects/list/) · [Request membership](https://github.com/OpenScienceLabs/alliance-requests) +[View Alliance projects](/projects/list/) · +[Request membership](https://github.com/OpenScienceLabs/alliance-requests) diff --git a/pages/projects/index.md b/pages/projects/index.md index bdc7f36eb..28be75db8 100644 --- a/pages/projects/index.md +++ b/pages/projects/index.md @@ -5,24 +5,61 @@ description: Open-source projects participating in the OSL Alliance. # OSL Alliance -Open Science Labs (OSL) has combined its former **Project Affiliation** and **Project Incubation** programs into one program: the **OSL Alliance**. The two programs offered many of the same community benefits, but maintaining separate applications, policies, and project categories created unnecessary work for OSL and made it harder for maintainers and contributors to understand what support was available. One program and one project directory make that relationship clearer and easier to maintain. +Open Science Labs (OSL) has combined its former **Project Affiliation** and +**Project Incubation** programs into one program: the **OSL Alliance**. The two +programs offered many of the same community benefits, but maintaining separate +applications, policies, and project categories created unnecessary work for OSL +and made it harder for maintainers and contributors to understand what support +was available. One program and one project directory make that relationship +clearer and easier to maintain. -**The benefits remain largely the same.** Alliance projects can connect with OSL's network of maintainers and contributors, receive community visibility, share knowledge and infrastructure, and seek opportunities for collaboration and participation in programs such as Google Summer of Code (GSoC). Opportunities depend on availability and program-specific requirements; membership does not guarantee funding, mentors, contributors, or GSoC slots. Incubation-style guidance and project development support may still be arranged where OSL has capacity. +**The benefits remain largely the same.** Alliance projects can connect with +OSL's network of maintainers and contributors, receive community visibility, +share knowledge and infrastructure, and seek opportunities for collaboration and +participation in programs such as Google Summer of Code (GSoC). Opportunities +depend on availability and program-specific requirements; membership does not +guarantee funding, mentors, contributors, or GSoC slots. Incubation-style +guidance and project development support may still be arranged where OSL has +capacity. ## A reciprocal relationship -The main addition is the **Alliance Maintainers Council**. Member projects will be invited to designate a maintainer representative who can help OSL coordinate priorities and sustain the organization. Alongside supporting their own projects, Alliance maintainers are expected to contribute where they can: reviewing applications and project proposals, mentoring contributors, answering community questions, improving websites, bots or shared tools, supporting events and programs, sharing knowledge, outreach, or helping identify partnerships and funding opportunities. +The main addition is the **Alliance Maintainers Council**. Member projects will +be invited to designate a maintainer representative who can help OSL coordinate +priorities and sustain the organization. Alongside supporting their own +projects, Alliance maintainers are expected to contribute where they can: +reviewing applications and project proposals, mentoring contributors, answering +community questions, improving websites, bots or shared tools, supporting events +and programs, sharing knowledge, outreach, or helping identify partnerships and +funding opportunities. -Projects can contribute according to their expertise and capacity; no project is expected to do all of these activities. OSL will work with maintainers to establish a lightweight way to coordinate and recognize contributions, with clear communication and reasonable time to adapt as processes improve. The Council supports collaboration and provides input to OSL leadership; it does not automatically confer a seat on OSL's legal governing board. +Projects can contribute according to their expertise and capacity; no project is +expected to do all of these activities. OSL will work with maintainers to +establish a lightweight way to coordinate and recognize contributions, with +clear communication and reasonable time to adapt as processes improve. The +Council supports collaboration and provides input to OSL leadership; it does not +automatically confer a seat on OSL's legal governing board. ## What stays the same -Projects continue to own their roadmaps, technical decisions, releases, maintenance, and governance. Joining the Alliance does not transfer project ownership or ongoing maintenance responsibility to OSL. Projects must remain open source, align with OSL's mission, maintain a Code of Conduct, and have a reachable maintainer and public contribution or contact path. +Projects continue to own their roadmaps, technical decisions, releases, +maintenance, and governance. Joining the Alliance does not transfer project +ownership or ongoing maintenance responsibility to OSL. Projects must remain +open source, align with OSL's mission, maintain a Code of Conduct, and have a +reachable maintainer and public contribution or contact path. ## Join the OSL Alliance -To request membership, open an issue in the [OSL Alliance requests repository](https://github.com/OpenScienceLabs/alliance-requests). Include the project's repository, license, Code of Conduct, maintainer contact, description, and the kind of collaboration it seeks. +To request membership, open an issue in the +[OSL Alliance requests repository](https://github.com/OpenScienceLabs/alliance-requests). +Include the project's repository, license, Code of Conduct, maintainer contact, +description, and the kind of collaboration it seeks. -Existing affiliated and incubated projects will be brought together in the [Alliance project directory](/projects/list/). The transition does not automatically remove existing opportunities or alter project governance. OSL will communicate any practical onboarding or Council arrangements with maintainers. +Existing affiliated and incubated projects will be brought together in the +[Alliance project directory](/projects/list/). The transition does not +automatically remove existing opportunities or alter project governance. OSL +will communicate any practical onboarding or Council arrangements with +maintainers. -[Explore Alliance projects](/projects/list/) · [Request Alliance membership](https://github.com/OpenScienceLabs/alliance-requests) +[Explore Alliance projects](/projects/list/) · +[Request Alliance membership](https://github.com/OpenScienceLabs/alliance-requests) diff --git a/pages/projects/list/index.md b/pages/projects/list/index.md index 7e3398f2a..e4835f896 100644 --- a/pages/projects/list/index.md +++ b/pages/projects/list/index.md @@ -131,7 +131,7 @@ projects: type: alliance maintainer_name: Ivan Ogasawara maintainer_email: ivan.ogasawara@gmail.com - url: https://sugar-org.github.io/sugar/ + url: https://osl-incubator.github.io/sugar/ communication_channel: provider: discord url: https://opensciencelabs.org/discord @@ -154,8 +154,16 @@ projects: # OSL Alliance Projects -This directory brings together projects previously listed under OSL's affiliation and incubation programs. Both programs are now part of the **[OSL Alliance](/projects/alliance/)**, with their project communities, maintainers, and existing descriptions preserved. +This directory brings together projects previously listed under OSL's +affiliation and incubation programs. Both programs are now part of the +**[OSL Alliance](/projects/alliance/)**, with their project communities, +maintainers, and existing descriptions preserved. -Alliance membership offers community connections and program opportunities while asking maintainers to help support OSL's wider activities through the Alliance Maintainers Council. Projects retain responsibility for their own governance, releases, and maintenance. Opportunities such as GSoC and mentoring depend on specific program requirements and available capacity. +Alliance membership offers community connections and program opportunities while +asking maintainers to help support OSL's wider activities through the Alliance +Maintainers Council. Projects retain responsibility for their own governance, +releases, and maintenance. Opportunities such as GSoC and mentoring depend on +specific program requirements and available capacity. -To request membership for another project, visit the [OSL Alliance requests repository](https://github.com/OpenScienceLabs/alliance-requests). +To request membership for another project, visit the +[OSL Alliance requests repository](https://github.com/OpenScienceLabs/alliance-requests). diff --git a/poetry.lock b/poetry.lock index 5eb2ecdea..99b54deaf 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2115,16 +2115,20 @@ twitter = ["twython"] [[package]] name = "nodeenv" -version = "1.9.1" +version = "1.12.0" description = "Node.js virtual environment builder" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +python-versions = ">=3.10" groups = ["main"] files = [ - {file = "nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9"}, - {file = "nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f"}, + {file = "nodeenv-1.12.0-py3-none-any.whl", hash = "sha256:80644d65c10cc2be12e3e4b54b3367ff288c7ad24ae75c2dcc65454fc7449d4d"}, + {file = "nodeenv-1.12.0.tar.gz", hash = "sha256:4ea7f88339310afebc3253f2c7a91b94bacf97d73a36a5c108962abdfaca501e"}, ] +[package.extras] +certifi = ["certifi"] +completion = ["shtab (>=1.11)"] + [[package]] name = "notebook-shim" version = "0.2.4" diff --git a/scripts/check-broken-links-md.py b/scripts/check-broken-links-md.py index 37ea8165b..9c1e3f2d3 100644 --- a/scripts/check-broken-links-md.py +++ b/scripts/check-broken-links-md.py @@ -1,13 +1,15 @@ -"""Check if ther eis any broken links.""" +"""Check if there is any broken links.""" from __future__ import annotations -import os import subprocess +import sys # List of exception URLs exception_urls = [ "https://www.linkedin.com/", + "https://twitter.com/", + "https://www.developer-tech.com/", ] @@ -45,8 +47,9 @@ def process_log() -> None: continue # Extract the URL using regex for exception_url in exception_urls: - if exception_url not in line: - flagged_errors.append(line) + if any(exc in line for exc in exception_urls): + continue + flagged_errors.append(line) # Print flagged errors if not flagged_errors: @@ -57,7 +60,7 @@ def process_log() -> None: print("Errors flagged for the following URLs:") for line in flagged_errors: print(line) - os._exit(1) + sys.exit(1) # Run the script diff --git a/theme/base.html b/theme/base.html index dd90f672a..808b2a330 100644 --- a/theme/base.html +++ b/theme/base.html @@ -1,33 +1,64 @@ -{% set menu_2nd_level_selected = [] %} -{% set menu_group_titles = [''] %} - +{% set menu_2nd_level_selected = [] %} {% set menu_group_titles = [''] %} + - - - + + + {% set page_title = page.title %} - {% if page_title %}{{ page_title }} · {% endif %}{{ config.site_name }} - - - - - - - - - - - - - - - - - - - + + {% if page_title %}{{ page_title }} · {% endif %}{{ config.site_name }} + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + - + - - + + - - - - - - - - - - - + + + + + + + + + + + - + - {% block header_extra %} - {% endblock header_extra%} - - {% include "icons/sprites.svg" %} + {% block header_extra %} {% endblock header_extra%} {% include + "icons/sprites.svg" %}
- -
+
-
{{ config.site_name }}
- +
+ {{ config.site_name }} +
+
@@ -269,100 +395,122 @@
{{ config.site_name }}
-
@@ -370,9 +518,8 @@

- {% block content_inner %} - {{ page.content }} - {% endblock content_inner %} + {% block content_inner %} {{ page.content }} {% endblock + content_inner %}
@@ -380,12 +527,10 @@

- {% if page.meta.git_revision_date_localized %} - Last update: {{ page.meta.git_revision_date_localized }} - {% endif %} - {% if page.meta.git_created_date_localized %} -  • Created: {{ page.meta.git_created_date_localized }} - {% endif %} + {% if page.meta.git_revision_date_localized %} Last update: {{ + page.meta.git_revision_date_localized }} {% endif %} {% if + page.meta.git_created_date_localized %}  • Created: {{ + page.meta.git_created_date_localized }} {% endif %}

@@ -393,115 +538,259 @@

{% block footer %} - - to-top + + + to-top + +
- + - - - - + + + + {% endblock footer %} - diff --git a/theme/css/base.css b/theme/css/base.css index 9d33f6916..777545e4e 100644 --- a/theme/css/base.css +++ b/theme/css/base.css @@ -1,32 +1,43 @@ /* Reset & base layout */ -@font-face{ +@font-face { font-family: "Metropolis"; font-style: normal; font-weight: 400; - src: url("../fonts/Metropolis-Regular.woff2") format("woff2"), - url("../fonts/Metropolis-Regular.woff") format("woff"); + src: + url("../fonts/Metropolis-Regular.woff2") format("woff2"), + url("../fonts/Metropolis-Regular.woff") format("woff"); font-display: swap; } -@font-face{ +@font-face { font-family: "Metropolis"; font-style: normal; font-weight: 600; - src: url("../fonts/Metropolis-SemiBold.woff2") format("woff2"), - url("../fonts/Metropolis-SemiBold.woff") format("woff"); + src: + url("../fonts/Metropolis-SemiBold.woff2") format("woff2"), + url("../fonts/Metropolis-SemiBold.woff") format("woff"); font-display: swap; } -@font-face{ +@font-face { font-family: "Metropolis"; font-style: normal; font-weight: 800; - src: url("../fonts/Metropolis-ExtraBold.woff2") format("woff2"), - url("../fonts/Metropolis-ExtraBold.woff") format("woff"); + src: + url("../fonts/Metropolis-ExtraBold.woff2") format("woff2"), + url("../fonts/Metropolis-ExtraBold.woff") format("woff"); font-display: swap; } -* { box-sizing: border-box; -webkit-appearance: none; } -html, body { min-height: 100%; } -html { scroll-padding-top: 4.5rem; } +* { + box-sizing: border-box; + -webkit-appearance: none; +} +html, +body { + min-height: 100%; +} +html { + scroll-padding-top: 4.5rem; +} /* Prevent tiny horizontal overflow from full-bleed sections that use viewport units; 100vw includes the scrollbar in some browsers. */ @@ -35,16 +46,23 @@ body { overflow-x: clip; } -@supports not (overflow: clip){ +@supports not (overflow: clip) { html, body { overflow-x: hidden; } } -body{ +body { background: var(--bg); color: var(--fg); - font-family: "Metropolis", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; + font-family: + "Metropolis", + ui-sans-serif, + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; @@ -53,9 +71,12 @@ body{ } /* One fixed background layer to avoid “banding” on long pages */ -body::before{ - content:""; - position: fixed; inset: 0; z-index: -1; pointer-events: none; +body::before { + content: ""; + position: fixed; + inset: 0; + z-index: -1; + pointer-events: none; background: radial-gradient(1200px 600px at 10% -10%, var(--glow-1), transparent 60%), radial-gradient(900px 500px at 110% 10%, var(--glow-2), transparent 60%); @@ -64,28 +85,79 @@ body::before{ } /* Typography */ -a{ color: var(--brand); text-decoration: none; } -a:hover{ color: var(--brand-2); } -h1,h2,h3,h4,h5,h6{ +a { + color: var(--brand); + text-decoration: none; +} +a:hover { + color: var(--brand-2); +} +h1, +h2, +h3, +h4, +h5, +h6 { color: var(--heading); font-weight: 800; - letter-spacing: -.025em; + letter-spacing: -0.025em; line-height: 1.15; - margin: 1.6rem 0 .75rem; -} -h1{ font-size: clamp(2.15rem, 5vw, 4.2rem); } -h2{ font-size: clamp(1.55rem, 3vw, 2.35rem); } -h3{ font-size: clamp(1.22rem, 2vw, 1.55rem); } -h4{ font-size: 1.15rem; } -h5{ font-size: 1.05rem; } -h6{ font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; } -p{ margin: 0 0 1rem; padding: 0; } -strong{ font-weight: 800; color: color-mix(in oklab, var(--fg) 88%, var(--heading)); } + margin: 1.6rem 0 0.75rem; +} +h1 { + font-size: clamp(2.15rem, 5vw, 4.2rem); +} +h2 { + font-size: clamp(1.55rem, 3vw, 2.35rem); +} +h3 { + font-size: clamp(1.22rem, 2vw, 1.55rem); +} +h4 { + font-size: 1.15rem; +} +h5 { + font-size: 1.05rem; +} +h6 { + font-size: 1rem; + text-transform: uppercase; + letter-spacing: 0.06em; +} +p { + margin: 0 0 1rem; + padding: 0; +} +strong { + font-weight: 800; + color: color-mix(in oklab, var(--fg) 88%, var(--heading)); +} /* Media */ -img, svg{ max-width: 100%; height: auto; vertical-align: middle; } -.logo{ height: 34px; } +img, +svg { + max-width: 100%; + height: auto; + vertical-align: middle; +} +.logo { + height: 34px; +} +.navbar-brand img.logo--dark { + display: none; +} +html[data-mode="dim"] .navbar-brand img.logo--light { + display: none; +} +html[data-mode="dim"] .navbar-brand img.logo--dark { + display: block; +} /* Containers */ -.container-xxl{ max-width: 1200px; } -.content-inner{ padding-top: 2rem; padding-bottom: 4rem; } +.container-xxl { + max-width: 1200px; +} +.content-inner { + padding-top: 2rem; + padding-bottom: 4rem; +} diff --git a/theme/css/footer.css b/theme/css/footer.css index 81e9c137a..65c58ca04 100644 --- a/theme/css/footer.css +++ b/theme/css/footer.css @@ -1,86 +1,114 @@ -footer.footer{ +footer.footer { margin-top: 3rem; border-top: 1px solid var(--nav-border); - background: rgba(255,255,255,.02); + background: rgba(255, 255, 255, 0.02); } -.footer_inner{ - display: flex; gap: 1rem; align-items: center; justify-content: space-between; +.footer_inner { + display: flex; + gap: 1rem; + align-items: center; + justify-content: space-between; padding: 1.25rem 0; } -.footer_inner .icon{ width: 22px; height: 22px; fill: var(--fg); opacity: .85; } -.footer_inner .icon:hover{ opacity: 1; } -.badge-updated{ - background: rgba(255,255,255,.08); +.footer_inner .icon { + width: 22px; + height: 22px; + fill: var(--fg); + opacity: 0.85; +} +.footer_inner .icon:hover { + opacity: 1; +} +.badge-updated { + background: rgba(255, 255, 255, 0.08); color: var(--muted); - border-radius: .5rem; - padding: .35rem .6rem; + border-radius: 0.5rem; + padding: 0.35rem 0.6rem; } /* ========== Color mode toggle (footer) ========== */ -.color_mode{ - display:flex; - align-items:center; - min-height:28px; +.color_mode { + display: flex; + align-items: center; + min-height: 28px; } /* The switch “track” */ -.color_choice{ - width:48px; - height:24px; - appearance:none; - -webkit-appearance:none; - background:rgba(255,255,255,.12); - border:1px solid rgba(255,255,255,.18); - border-radius:999px; - position:relative; - cursor:pointer; - outline:none; - display:inline-block; +.color_choice { + box-sizing: border-box; + width: 58px; + height: 30px; + appearance: none; + -webkit-appearance: none; + background: #dbeafe; + border: 1px solid #64748b; + border-radius: 99px; + position: relative; + cursor: pointer; + display: inline-block; + transition: + background 0.22s ease, + border-color 0.22s ease; +} + +.color_choice:focus-visible { + outline: 3px solid #2563eb; + outline-offset: 3px; } /* The “knob” */ -.color_choice::after{ - content:""; - position:absolute; - top:2px; - left:2px; - width:20px; - height:20px; - border-radius:50%; - background:#fff; - box-shadow:0 2px 8px rgba(0,0,0,.25); - transform:translateX(0); - transition:transform .22s ease, background .22s ease; +.color_choice::after { + content: ""; + position: absolute; + top: 2px; + left: 2px; + width: 24px; + height: 24px; + border-radius: 50%; + background: #ffffff; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); + transform: translateX(0); + transition: + transform 0.22s ease, + background 0.22s ease, + box-shadow 0.22s ease; } /* Dark mode: move knob right */ -html[data-mode="dim"] .color_choice::after{ - transform:translateX(24px); +html[data-mode="dim"] .color_choice::after { + transform: translateX(28px); } -/* Optional: show a subtle sun/moon via emojis (no images needed) */ -.color_choice:before{ - content:"☀️"; - position:absolute; - left:8px; - top:50%; - transform:translateY(-50%); - font-size:11px; - opacity:.8; +/* Show the icon for the other mode beside the current knob position. */ +.color_choice::before { + content: "☾"; + position: absolute; + left: 40px; + top: 50%; + transform: translateY(-50%); + color: #1e3a8a; + font-size: 15px; + line-height: 1; } -html[data-mode="dim"] .color_choice:before{ - content:"🌙"; - left:auto; - right:6px; + +html[data-mode="dim"] .color_choice { + background: #27364d; + border-color: #94a3b8; +} + +html[data-mode="dim"] .color_choice::before { + content: "☀️"; + left: 8px; + color: #fde68a; } /* Site-wide acknowledgement without suggesting an ownership relationship. */ -.footer_support{ +.footer_support { padding-top: 0; } -.footer_support a{ +.footer_support a { color: inherit; text-decoration: underline; - text-underline-offset: .2em; + text-underline-offset: 0.2em; } diff --git a/theme/images/logos/osl-logo-black.png b/theme/images/logos/osl-logo-black.png new file mode 100644 index 000000000..097c9b8f8 Binary files /dev/null and b/theme/images/logos/osl-logo-black.png differ diff --git a/theme/images/partners/scistitch.svg b/theme/images/partners/scistitch.svg index 70d68c4f9..138a2ca60 100644 --- a/theme/images/partners/scistitch.svg +++ b/theme/images/partners/scistitch.svg @@ -1,2 +1 @@ -