Skip to content

Commit 22ac597

Browse files
Merge pull request #29 from divital-coder/master
Syncing Upstream repository MedEye3d with latest changes
2 parents 6efce24 + 606fff7 commit 22ac597

15 files changed

+282
-220
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Sample workflow for building and deploying a VitePress site to GitHub Pages
2+
#
3+
name: Documenter
4+
5+
on:
6+
# Runs on pushes targeting the `master` branch. Change this to `main` if you're
7+
# using the `main` branch as the default branch.
8+
push:
9+
branches:
10+
- main
11+
tags: ['*']
12+
pull_request:
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
18+
permissions:
19+
contents: write
20+
pages: write
21+
id-token: write
22+
statuses: write
23+
24+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
25+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
26+
concurrency:
27+
group: pages
28+
cancel-in-progress: false
29+
30+
jobs:
31+
# Build job
32+
build:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@v4
37+
- name: Setup Julia
38+
uses: julia-actions/setup-julia@v1
39+
- name: Pull Julia cache
40+
uses: julia-actions/cache@v1
41+
- name: Install documentation dependencies
42+
run: julia --project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate(); Pkg.precompile(); Pkg.status()'
43+
#- name: Creating new mds from src
44+
- name: Build and deploy docs
45+
uses: julia-actions/julia-docdeploy@v1
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
48+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
49+
GKSwstype: "100" # for Plots.jl plots (if you have them)
50+
JULIA_DEBUG: "Documenter"
51+
DATADEPS_ALWAYS_ACCEPT: true

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
1818
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
1919
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
2020
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
21-
MedEval3D = "07fe485e-7252-451c-a484-d20a4cdbbf79"
2221
MedImages = "fbff095b-7891-4fc4-b5e5-3cd99b9dd225"
2322
ModernGL = "66fc600b-dfda-50eb-8b99-91cfa97b1301"
2423
NIfTI ="a3a9e032-41b5-5fc4-967a-a6b7a19844d3"

docs/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"devDependencies": {
3-
"markdown-it": "^14.1.0",
4-
"markdown-it-mathjax3": "^4.3.2",
5-
"vitepress": "^1.0.2",
6-
"vitepress-plugin-tabs": "^0.5.0"
7-
},
8-
"scripts": {
9-
"docs:dev": "vitepress dev build/.documenter",
10-
"docs:build": "vitepress build build/.documenter",
11-
"docs:preview": "vitepress preview build/.documenter"
12-
},
13-
"dependencies": {
14-
"@shikijs/transformers": "^1.1.7",
15-
"markdown-it-footnote": "^4.0.0"
16-
}
2+
"devDependencies": {
3+
"markdown-it": "^14.1.0",
4+
"markdown-it-mathjax3": "^4.3.2",
5+
"vitepress": "^1.0.2",
6+
"vitepress-plugin-tabs": "^0.5.0"
7+
},
8+
"scripts": {
9+
"docs:dev": "vitepress dev build/.documenter",
10+
"docs:build": "vitepress build build/.documenter",
11+
"docs:preview": "vitepress preview build/.documenter"
12+
},
13+
"dependencies": {
14+
"@shikijs/transformers": "^1.1.7",
15+
"markdown-it-footnote": "^4.0.0"
1716
}
17+
}

0 commit comments

Comments
 (0)