Skip to content

Commit 4778db3

Browse files
committed
Init
0 parents  commit 4778db3

File tree

13 files changed

+1173
-0
lines changed

13 files changed

+1173
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "Build and deploy to GitHub Pages"
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
9+
# Allow one concurrent deployment
10+
concurrency:
11+
group: "pages"
12+
cancel-in-progress: true
13+
14+
15+
jobs:
16+
build:
17+
runs-on: "ubuntu-latest"
18+
steps:
19+
- name: "Checkout"
20+
uses: "actions/checkout@v4"
21+
22+
- uses: "prefix-dev/setup-pixi@v0.8.8"
23+
24+
- run: "pixi run render"
25+
26+
- name: "Upload site artifact"
27+
uses: "actions/upload-pages-artifact@v3"
28+
with:
29+
path: "./_build/html"
30+
31+
32+
deploy:
33+
runs-on: "ubuntu-latest"
34+
needs: "build"
35+
environment:
36+
name: "github-pages"
37+
url: "${{ steps.deployment.outputs.page_url }}"
38+
permissions:
39+
pages: "write"
40+
id-token: "write"
41+
steps:
42+
- name: "Deploy to GitHub Pages"
43+
id: "deployment"
44+
uses: "actions/deploy-pages@v4"

.github/workflows/pr-rtd-link.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# The ReadTheDocs preview link is "hidden" within the GitHub "Checks"
2+
# interface. For users who don't know this, finding the preview link may be
3+
# very difficult or frustrating. This workflow makes the link more
4+
# findable by updating PR descriptions to include it.
5+
name: 'Add ReadTheDocs preview link to PR description'
6+
7+
on:
8+
pull_request_target:
9+
types:
10+
- 'opened'
11+
12+
permissions:
13+
pull-requests: 'write'
14+
15+
jobs:
16+
autolink-rtd-previews:
17+
runs-on: 'ubuntu-latest'
18+
steps:
19+
- uses: 'readthedocs/actions/preview@v1'
20+
with:
21+
project-slug: 'continuous-dems'
22+
single-version: true
23+
single-language: true
24+
message-template: |
25+
---
26+
:mag: Preview: {docs-pr-index-url}

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Feed files
2+
*.xml
3+
4+
# pixi environments
5+
.pixi
6+
*.egg-info
7+
8+
# MyST build outputs
9+
_build

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
ci:
2+
autoupdate_schedule: quarterly
3+
autofix_prs: false
4+
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v5.0.0
8+
hooks:
9+
# Validate format
10+
- id: check-yaml
11+
- id: check-toml
12+
- id: check-json
13+
# Check for common mistakes
14+
- id: check-added-large-files
15+
- id: check-case-conflict
16+
- id: check-illegal-windows-names
17+
- id: check-merge-conflict
18+
- id: check-executables-have-shebangs
19+
- id: check-shebang-scripts-are-executable
20+
- id: check-symlinks
21+
- id: check-vcs-permalinks
22+
- id: destroyed-symlinks
23+
- id: detect-private-key
24+
- id: end-of-file-fixer
25+
- id: mixed-line-ending
26+
- id: no-commit-to-branch # protects `main` by default
27+
- id: trailing-whitespace
28+
29+
- repo: https://github.com/codespell-project/codespell
30+
rev: v2.4.1
31+
hooks:
32+
- id: codespell

.readthedocs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# For this project, we use ReadTheDocs only for Pull Request previews. GitHub
2+
# pages currently hosts the actual website.
3+
version: 2
4+
5+
6+
build:
7+
os: "ubuntu-lts-latest"
8+
9+
commands:
10+
- "asdf plugin add pixi"
11+
- "asdf install pixi latest"
12+
- "asdf global pixi latest"
13+
14+
- "pixi run render"
15+
- "mkdir --parents $READTHEDOCS_OUTPUT/html/"
16+
- "mv _build/html/* $READTHEDOCS_OUTPUT/html/."
17+
- "rm -rf _build" # RTD build fails if _build/html is detected :(

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 The Continuous DEMs Community
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Continuous DEMs Landing Page
2+
3+
## Contributing
4+
5+
This is a [MySTMD](https://mystmd.org) project.
6+
The development environment is managed by [Pixi](https://pixi.sh).
7+
8+
9+
### Start a local preview server
10+
11+
```bash
12+
pixi run preview
13+
```
14+
15+
This will start a local preview server.
16+
View your changes immediately in your browser!
17+
Any changes to the website content will trigger an automatic re-render.
18+
19+
20+
### Render the website
21+
22+
```bash
23+
pixi run render
24+
```

assets/styles/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3+
}

index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# About
2+
3+
Welcome to the [Continuous DEMs](https://github.com/continuous-dems) landing page!
4+
5+
:::{note}
6+
🚧 TODO
7+
:::

0 commit comments

Comments
 (0)