Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test new locations #446

Merged
merged 9 commits into from
Oct 5, 2021
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
2 changes: 1 addition & 1 deletion .buildkite/run_tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ steps:
commands: |
# Instantiate, to install the overall project dependencies
echo "--- Instantiate"
julia --project=. -e 'using Pkg; Pkg.instantiate()'
julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.build()'

# Run tutorial
echo "+++ Run tutorial for {PATH}"
Expand Down
6 changes: 1 addition & 5 deletions src/SciMLTutorials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ function weave_file(folder,file,build_list=default_builds)
target = joinpath(repo_directory, "tutorials", folder, file)
@info("Weaving $(target)")



@show joinpath(repo_directory, folder, "Project.toml")

if isfile(joinpath(repo_directory, folder, "Project.toml"))
if isfile(joinpath(repo_directory, "tutorials", folder, "Project.toml"))
@info("Instantiating", folder)
Pkg.activate(folder)
Pkg.instantiate()
Expand Down
2 changes: 1 addition & 1 deletion tutorials/introduction/01-ode_introduction.jmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: An Intro to DifferentialEquations.jl
author: Chris Rackauckas
---


## Basic Introduction Via Ordinary Differential Equations

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.
Expand Down Expand Up @@ -345,3 +344,4 @@ These are the basic controls in DifferentialEquations.jl. All equations are defi
using SciMLTutorials
SciMLTutorials.tutorial_footer(WEAVE_ARGS[:folder],WEAVE_ARGS[:file])
```

2 changes: 1 addition & 1 deletion weave_tutorials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if isdir(target)
println("Weaving the $(target) folder")
SciMLTutorials.weave_folder(target)
elseif isfile(target)
folder = dirname(target)
folder = dirname(target)[11:end] # remove the tutorials/
file = basename(target)
println("Weaving $(folder)/$(file)")
SciMLTutorials.weave_file(folder, file)
Expand Down