Skip to content

Commit 4167862

Browse files
committed
Updated docs scripts, and removed accidentally checked in examples markdown files, which are autogenerated from the example code when building the documentation.
1 parent a1e7d75 commit 4167862

File tree

10 files changed

+14
-809
lines changed

10 files changed

+14
-809
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ Manifest.toml
44
*.bak
55
*.pb.gz
66
.vscode
7-
docs/build/*
7+
docs/build/*
8+
docs/src/examples

docs/host.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
module_dir = joinpath(splitpath(Base.source_dir())[1:end-1])
2+
if pwd() != module_dir
3+
@info "Changing directory to folder $(module_dir)"
4+
cd(module_dir)
5+
end
6+
using Pkg
7+
Pkg.activate("./docs") # Activate docs environment
8+
19
using LiveServer
210

311
serve(dir="./docs/build", host="0.0.0.0", port=8001, launch_browser=true)

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ end
66

77
# Ensure that VMRobotControl is devved.
88
using Pkg
9+
Pkg.activate("./docs")
910
Pkg.develop(PackageSpec(path=pwd()))
1011
Pkg.instantiate()
1112

docs/src/examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder is auto populated by Literate.jl when making the documentation.

docs/src/examples/compliant_path_following.md

Lines changed: 0 additions & 278 deletions
This file was deleted.

0 commit comments

Comments
 (0)