Skip to content

Commit e2e937c

Browse files
authored
Merge pull request #48 from minrk/npm
freeze mystmd version with package-lock.json
2 parents c980dee + ba79687 commit e2e937c

File tree

13 files changed

+94
-25
lines changed

13 files changed

+94
-25
lines changed

.github/dependabot.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ updates:
44
- package-ecosystem: github-actions
55
directory: /
66
schedule:
7-
interval: monthly
8-
time: "05:00"
9-
timezone: Etc/UTC
7+
interval: daily
8+
- package-ecosystem: npm
9+
directory: /
10+
schedule:
11+
interval: weekly

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
uses: actions/configure-pages@v5
3434
- uses: actions/setup-node@v5
3535
with:
36-
node-version: 18.x
36+
node-version: 24.x
3737
- name: Install MyST Markdown
38-
run: npm install -g mystmd
38+
run: npm ci
3939
- name: Build HTML Assets
40-
run: myst build --html
40+
run: npm run myst build --html
4141
- name: Upload artifact
4242
uses: actions/upload-pages-artifact@v4
4343
with:

.github/workflows/test-docs.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: test docs
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
test-docs:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-node@v5
18+
with:
19+
node-version: 24.x
20+
- name: Install
21+
run: npm ci
22+
- name: Check links
23+
run: npm test
24+
- name: Upload artifact
25+
uses: actions/upload-pages-artifact@v3
26+
with:
27+
path: './_build/html'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,5 @@ cython_debug/
161161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162162
#.idea/
163163
.DS_Store
164+
165+
node_modules

contributing/developer-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ On Windows systems (particularly when running Django via Visual Studio Code or G
7777
#### Examples of Incorrectly Set Values
7878

7979
- `OIDC_CLIENT_REDIRECT_URI`:
80-
http://localhost:8000C:/Program Files/Git/auth/callback
80+
`http://localhost:8000C:/Program Files/Git/auth/callback`
8181
- `OIDC_CLIENT_AUTHORITY`:
82-
http://localhost:8000O://
82+
`http://localhost:8000O://`
8383

8484
#### Solution
8585

explanation/cloud-storage-reference-app.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,6 @@ Information on the previous CHCS service utilized for the Preliminary Blood Pres
318318

319319
- [Tech Design Doc](https://docs.google.com/document/d/1jyS6A78BfAVTRzmwBRAim5MyQUOUHa_T7rm9tbzWLaE/edit?usp=sharing)
320320
- [Example Requests and Responses](https://docs.google.com/document/d/1Q9cFnwGLdWdcwGE8p6O9TS7LwKzYeseY0UAuZxJ2xw0/edit?usp=sharing)
321-
- [CommonHealth-CloudStorage README](https://github.com/the-commons-project/CommonHealth-CloudStorage/tree/main)
322-
- [chcs-partner-client README](https://github.com/the-commons-project/chcs-partner-client)
323-
- [chcs-partner-client-docker README](https://github.com/the-commons-project/chcs-partner-client-docker)
324321

325322
## Previous CHCS Flow
326323

explanation/exchange-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Overview
33
---
44

5-
JupyterHealth Exchange is a Django web application that facilitates the sharing of user-consented medical data with authorized consumers through a [web UI](web-ui), [REST, and FHIR APIs](apis).
5+
JupyterHealth Exchange is a Django web application that facilitates the sharing of user-consented medical data with authorized consumers through a web UI, REST, and FHIR APIs.
66

77
In the context of JupyterHealth, data producers are typically study participants (FHIR *Patients*) using the [CommonHealth Android App](https://play.google.com/store/apps/details?id=org.thecommonsproject.android.phr) linked to personal devices (e.g., Glucose Monitors), and data consumers are typically researchers (FHIR *Practitioners*).
88

explanation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Explanations
22

3-
Here we will have [explanations](https://diataxis.fr/explanations/) for learning about JupyterHealth.
3+
Here we will have [explanations](https://diataxis.fr/explanation/) for learning about JupyterHealth.
44

55
> Explanation is a discursive treatment of a subject, that permits reflection. Explanation is understanding-oriented.
66

myst.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ project:
2828
- title: Contributing
2929
children:
3030
- pattern: contributing/*
31-
31+
error_rules:
32+
# check-links error ignores
33+
- rule: link-resolves
34+
severity: ignore
35+
keys:
36+
- "http://localhost:8000/"
37+
- "http://localhost:8000/admin"
3238
site:
3339
template: book-theme
3440
title: JupyterHealth Software

package-lock.json

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)