Skip to content

Commit 36cf948

Browse files
authored
Merge pull request #110 from clojerl/109-create-profile-for-docs
[#109] Create a profile for generating docs
2 parents cb67ca7 + e9957a8 commit 36cf948

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ clean:
1111

1212
docs:
1313
@ echo "Generating docs..."
14-
@ rebar3 docs
14+
@ rebar3 as docs docs
1515

1616
publish: clean compile docs
1717
@ echo "Publishing..."

rebar.config

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
]
55
}.
66

7-
{edoc_opts, [{preprocess, true}]}.
8-
9-
{plugins, [{rebar3_docs, "0.2.1"}]}.
7+
{ profiles,
8+
[ { docs
9+
, [ { plugins
10+
, [ {rebar3_docs, "0.2.1"}
11+
]
12+
}
13+
, {edoc_opts, [{preprocess, true}]}
14+
]
15+
}
16+
]
17+
}.

0 commit comments

Comments
 (0)