Skip to content

Commit 957e640

Browse files
authored
Merge pull request #38 from rafaelbailo/main
Fix documentation deployment
2 parents b4b320f + 63dffb6 commit 957e640

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ConsensusBasedX"
22
uuid = "8f5ebde3-ef8e-4825-b277-c25898c0de77"
33
authors = ["Dr Rafael Bailo"]
4-
version = "1.3.0"
4+
version = "1.3.1"
55

66
[deps]
77
DefaultKeywordArguments = "d739bc73-037a-4484-8212-e0e00e9ea6bf"

docs/make.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ end
3838

3939
for (root, dirs, files) walkdir(SRC_DIR)
4040
for file files
41+
source = joinpath(root, file)
42+
target = replace(source, SRC_DIR => PARSED_DIR)
43+
mkpath(dirname(target))
4144
if is_md(file)
42-
source = joinpath(root, file)
43-
target = replace(source, SRC_DIR => PARSED_DIR)
44-
mkpath(dirname(target))
45-
# cp(source, target)
4645
parse(source, target)
46+
else
47+
cp(source, target)
4748
end
4849
end
4950
end

0 commit comments

Comments
 (0)