Skip to content

Commit f1a962b

Browse files
committed
Include kmono-git in generated public docs
1 parent 0157b06 commit f1a962b

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

doc/cljdoc.edn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
[com.kepler16/kmono
33
com.kepler16/kmono-core
44
com.kepler16/kmono-build
5+
com.kepler16/kmono-git
56
com.kepler16/kmono-version]}

packages/kmono-git/src/k16/kmono/git/commit.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@
6767
:message (or message "")
6868
:body (str/trim body)}))
6969

70-
(defn find-commits-since [^String repo {:keys [ref subdir]}]
70+
(defn find-commits-since
71+
"Find all commits since a given `ref` (or all, if excluded) and optionally
72+
filter by the commits which affect the provided `subdir`."
73+
[^String repo {:keys [ref subdir]}]
7174
(git/with-open-repo repo
7275
(fn with-open-repo [git repo]
7376
(let [log (Git/.log git)]

packages/kmono-git/src/k16/kmono/git/tags.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
(defn get-sorted-tags
2222
"Returns all tags that are present in the current or any ancestor of the
23-
given `sha`.
23+
given `rev`.
2424
2525
The returned tags are sorted by commit date (descending, most recent commit
2626
first)"
@@ -71,7 +71,9 @@
7171

7272
(defn create-tags
7373
"Create a set of `tags` in the git repo found at `repo-root` that point to
74-
the specified `ref` (default: HEAD)."
74+
the specified `ref` (default: HEAD).
75+
76+
This will create annotated tags unless `annotated` is set to `false`."
7577
{:malli/schema [:-> :string [:map
7678
[:ref {:optional true} :string]
7779
[:annotated {:optional true

0 commit comments

Comments
 (0)