diff --git a/deps/.gitignore b/deps/.gitignore deleted file mode 100644 index aa10a156..00000000 --- a/deps/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -build.log - diff --git a/examples/Manifest.toml b/examples/Manifest.toml index 26dbcc47..09a70202 100644 --- a/examples/Manifest.toml +++ b/examples/Manifest.toml @@ -1,25 +1,28 @@ # This file is machine-generated - editing it directly is not advised -julia_version = "1.9.0" +julia_version = "1.11.1" manifest_format = "2.0" project_hash = "51eb3237a3e48045ad4ce63e3c6e9262bc86ff71" [[deps.Base64]] uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" +version = "1.11.0" [[deps.Dates]] deps = ["Printf"] uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" +version = "1.11.0" [[deps.IOCapture]] deps = ["Logging", "Random"] -git-tree-sha1 = "f7be53659ab06ddc986428d3a9dcc95f6fa6705a" +git-tree-sha1 = "b6d6bfdd7ce25b0f9b2f6b3dd56b2673a66c8770" uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89" -version = "0.2.2" +version = "0.2.5" [[deps.InteractiveUtils]] deps = ["Markdown"] uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" +version = "1.11.0" [[deps.JSON]] deps = ["Dates", "Mmap", "Parsers", "Unicode"] @@ -29,59 +32,67 @@ version = "0.21.4" [[deps.Literate]] deps = ["Base64", "IOCapture", "JSON", "REPL"] -git-tree-sha1 = "1c4418beaa6664041e0f9b48f0710f57bff2fcbe" +git-tree-sha1 = "da046be6d63304f7ba9c1bb04820fb306ba1ab12" uuid = "98b081ad-f1c9-55d3-8b20-4c87d4299306" -version = "2.14.0" +version = "2.20.1" [[deps.Logging]] uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" +version = "1.11.0" [[deps.Markdown]] deps = ["Base64"] uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" +version = "1.11.0" [[deps.Mmap]] uuid = "a63ad114-7e13-5084-954f-fe012c677804" +version = "1.11.0" [[deps.Parsers]] deps = ["Dates", "PrecompileTools", "UUIDs"] -git-tree-sha1 = "7302075e5e06da7d000d9bfa055013e3e85578ca" +git-tree-sha1 = "8489905bcdbcfac64d1daa51ca07c0d8f0283821" uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" -version = "2.5.9" +version = "2.8.1" [[deps.PrecompileTools]] deps = ["Preferences"] -git-tree-sha1 = "259e206946c293698122f63e2b513a7c99a244e8" +git-tree-sha1 = "5aa36f7049a63a1528fe8f7c3f2113413ffd4e1f" uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a" -version = "1.1.1" +version = "1.2.1" [[deps.Preferences]] deps = ["TOML"] -git-tree-sha1 = "7eb1686b4f04b82f96ed7a4ea5890a4f0c7a09f1" +git-tree-sha1 = "9306f6085165d270f7e3db02af26a400d580f5c6" uuid = "21216c6a-2e73-6563-6e65-726566657250" -version = "1.4.0" +version = "1.4.3" [[deps.Printf]] deps = ["Unicode"] uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" +version = "1.11.0" [[deps.REPL]] -deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] +deps = ["InteractiveUtils", "Markdown", "Sockets", "StyledStrings", "Unicode"] uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" +version = "1.11.0" [[deps.Random]] -deps = ["SHA", "Serialization"] +deps = ["SHA"] uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +version = "1.11.0" [[deps.SHA]] uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" version = "0.7.0" -[[deps.Serialization]] -uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" - [[deps.Sockets]] uuid = "6462fe0b-24de-5631-8697-dd941f90decc" +version = "1.11.0" + +[[deps.StyledStrings]] +uuid = "f489334b-da3d-4c2e-b8f0-e476e12c162b" +version = "1.11.0" [[deps.TOML]] deps = ["Dates"] @@ -91,6 +102,8 @@ version = "1.0.3" [[deps.UUIDs]] deps = ["Random", "SHA"] uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" +version = "1.11.0" [[deps.Unicode]] uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" +version = "1.11.0" diff --git a/examples/README.md b/examples/README.md index 76ce6cd2..3d3cd5d4 100644 --- a/examples/README.md +++ b/examples/README.md @@ -10,9 +10,10 @@ You can also generate Jupyter notebooks and run them locally by performing the f 1. [install RigidBodyDynamics.jl](http://www.juliarobotics.org/RigidBodyDynamics.jl/stable/#Installation-1) 2. [install IJulia](https://github.com/JuliaLang/IJulia.jl) (`add` it to the default project) 3. in the Julia REPL, run - ``` - using Pkg - Pkg.build("RigidBodyDynamics") - using IJulia, RigidBodyDynamics - notebook(dir=joinpath(dirname(pathof(RigidBodyDynamics)), "..", "examples")) + ```julia + using RigidBodyDynamics + exampledir = joinpath(dirname(pathof(RigidBodyDynamics)), "..", "examples") + include(joinpath(exampledir, "build.jl")) + using IJulia + notebook(dir=exampledir) ``` diff --git a/deps/build.jl b/examples/build.jl similarity index 76% rename from deps/build.jl rename to examples/build.jl index 3a0aa9b5..a3f8cd58 100644 --- a/deps/build.jl +++ b/examples/build.jl @@ -1,6 +1,6 @@ append!(empty!(LOAD_PATH), Base.DEFAULT_LOAD_PATH) using Pkg -exampledir = joinpath(@__DIR__, "..", "examples") +exampledir = @__DIR__ Pkg.activate(exampledir) Pkg.instantiate() include(joinpath(exampledir, "generate_notebooks.jl"))