Skip to content

Commit cbe5048

Browse files
Merge pull request #446 from SciML/ChrisRackauckas-patch-1
Test new locations
2 parents c628d5e + 183620b commit cbe5048

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.buildkite/run_tutorial.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ steps:
3737
commands: |
3838
# Instantiate, to install the overall project dependencies
3939
echo "--- Instantiate"
40-
julia --project=. -e 'using Pkg; Pkg.instantiate()'
40+
julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.build()'
4141
4242
# Run tutorial
4343
echo "+++ Run tutorial for {PATH}"

src/SciMLTutorials.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ function weave_file(folder,file,build_list=default_builds)
1111
target = joinpath(repo_directory, "tutorials", folder, file)
1212
@info("Weaving $(target)")
1313

14-
15-
16-
@show joinpath(repo_directory, folder, "Project.toml")
17-
18-
if isfile(joinpath(repo_directory, folder, "Project.toml"))
14+
if isfile(joinpath(repo_directory, "tutorials", folder, "Project.toml"))
1915
@info("Instantiating", folder)
2016
Pkg.activate(folder)
2117
Pkg.instantiate()

tutorials/introduction/01-ode_introduction.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: An Intro to DifferentialEquations.jl
33
author: Chris Rackauckas
44
---
55

6-
76
## Basic Introduction Via Ordinary Differential Equations
87

98
This notebook will get you started with DifferentialEquations.jl by introducing you to the functionality for solving ordinary differential equations (ODEs). The corresponding documentation page is the [ODE tutorial](https://docs.sciml.ai/dev/tutorials/ode_example/). While some of the syntax may be different for other types of equations, the same general principles hold in each case. Our goal is to give a gentle and thorough introduction that highlights these principles in a way that will help you generalize what you have learned.
@@ -345,3 +344,4 @@ These are the basic controls in DifferentialEquations.jl. All equations are defi
345344
using SciMLTutorials
346345
SciMLTutorials.tutorial_footer(WEAVE_ARGS[:folder],WEAVE_ARGS[:file])
347346
```
347+

weave_tutorials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if isdir(target)
77
println("Weaving the $(target) folder")
88
SciMLTutorials.weave_folder(target)
99
elseif isfile(target)
10-
folder = dirname(target)
10+
folder = dirname(target)[11:end] # remove the tutorials/
1111
file = basename(target)
1212
println("Weaving $(folder)/$(file)")
1313
SciMLTutorials.weave_file(folder, file)

0 commit comments

Comments
 (0)