Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions: {}
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24
package-manager-cache: false
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npm run check
50 changes: 50 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions: {}
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
# Never deploy fork/PR code or a manually selected non-main branch.
# An administrator must select GitHub Actions as the Pages source.
if: github.repository == 'dask/dask.github.io' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
pages: read
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24
package-manager-cache: false
- uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npm run check
env:
SITE_URL: ${{ vars.SITE_URL || 'https://dask.github.io' }}
- uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy reviewed main artifact
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
dist/
.astro/
.playwright/
evidence/
_readthedocs/
Empty file removed .nojekyll
Empty file.
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package-lock.json
public/
evidence/
tests/fixtures/
node_modules/
dist/
.astro/
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"plugins": ["prettier-plugin-astro"],
"singleQuote": true,
"overrides": [{ "files": "*.astro", "options": { "parser": "astro" } }]
}
13 changes: 13 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Native static Astro PR previews; no Python/Sphinx environment or deploy token.
# https://docs.readthedocs.com/platform/stable/build-customization.html
version: 2
build:
os: ubuntu-24.04
tools:
nodejs: '24'
jobs:
install:
- npm ci
build:
html:
- node scripts/readthedocs-build.mjs
20 changes: 18 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
Dask is a community maintained project. We welcome contributions in the form of bug reports, documentation, code, design proposals, and more.
# Contributing

For general information on how to contribute see https://docs.dask.org/en/latest/develop.html.
Dask is community maintained. Bug reports, documentation, code, and design
contributions are welcome. General guidance:
https://docs.dask.org/en/latest/develop.html.

For website changes, use Node.js 24, install dependencies with `npm ci`,
install Chromium with `npx playwright install --with-deps chromium`, and run
`npm run check`.
Keep route data and shared Astro components DRY; use native browser behavior,
not Webflow/jQuery libraries. Commit the lockfile with dependency changes.
Run `npm run format` before submitting a PR. Include reproducible test evidence
and screenshots when relevant, but do not commit generated evidence/build output.

Do not change public redirect destinations, add submission backends, claim a
custom domain, or modify deployment permissions without explicit maintainer
review. CI runs with read-only permissions on fork PRs; never add secrets or
privileged PR execution. Deployment is main-only and requires administrator
selection of GitHub Actions as the Pages source. Maintainers merge; automation does not.
29 changes: 29 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2014, Anaconda, Inc. and contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Dask website

The Dask community website is a static Astro site with six pages: Home,
Get Started, Get Help, Powered By, Brand Guide and Press Mentions. Shared
components provide navigation and the footer. Homepage animations use local
Dask Lottie artwork and the standalone light renderer; there is no Webflow runtime.

`src/` contains pages, components, styles and site data. `public/` contains
tracked source assets, including images, fonts, animation JSON, static posters
and legacy HTML. Astro produces `dist/`; generated output, dependencies and test
evidence are ignored by Git.

The build uses Node.js 24 and npm with a committed lockfile. Automated checks
cover formatting, builds, asset integrity, browser interactions, responsive
layouts, animations and redirects.

GitHub Actions CI checks pull requests. The Pages workflow builds and publishes
upstream main, with separate build and deployment jobs and main-only manual
runs. Read the Docs builds native Astro PR previews with version-mounted links,
assets and canonical URLs. The default Pages origin is https://dask.github.io/;
`SITE_URL` configures the build origin.

Blog, events and the news archive routes target https://blog.dask.org/.
Known routes include HTML redirects; unknown scoped paths use the static 404
page and JavaScript. Unrelated missing paths remain 404s. Legacy slides and
closed-survey pages are included. Forms have no submission backend.

Dask content and implementation are attributed to Dask core developers.
[LICENSE.txt](LICENSE.txt) contains the BSD license; [licenses](licenses/)
contains font and renderer notices. Third-party artwork and trademarks retain
their owners' rights. Asset source URLs are recorded in `src/data/assets.json`;
source identities and original animation URLs/hashes are recorded in
`tests/fixtures/provenance.json`.
Binary file removed _images/HHMI_Janelia_Color.png
Binary file not shown.
Binary file removed _images/SponsoredProject.png
Binary file not shown.
30 changes: 0 additions & 30 deletions _images/Xarray-Spatial-logo.svg

This file was deleted.

Binary file removed _images/cesium-logo.png
Binary file not shown.
Binary file removed _images/conda-forge.png
Binary file not shown.
Loading