Skip to content

Commit

Permalink
update doc tag
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jul 13, 2022
1 parent 320dbb7 commit 3a86798
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ watch:
doc:
@dune build @doc

VERSION=$(shell awk '/^version:/ {print $$2}' calculon.opam)

update_next_tag:
@echo "update version to $(VERSION)..."
sed -i "s/NEXT_VERSION/$(VERSION)/g" $(wildcard src/**/*.ml) $(wildcard src/**/*.mli)
sed -i "s/NEXT_RELEASE/$(VERSION)/g" $(wildcard src/**/*.ml) $(wildcard src/**/*.mli)
8 changes: 4 additions & 4 deletions src/core/Config.mli
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ type t = {
prefix: string; (** prefix for commands *)

db_file: string;
(** Database path. @since NEXT_RELEASE *)
(** Database path. @since 0.8 *)

_hidden: hidden;
(** This field is present to prevent the user from using a literal
record to build configuration. This way, adding new fields
doesn't break existing code.
@since NEXT_RELEASE *)
@since 0.8 *)
}
(** Bot configuration. *)

Expand All @@ -53,13 +53,13 @@ val parse :
t -> string array -> t
(** [parse conf args] is the same as [conf], but some command line
arguments can override its fields
@param extra_args additional command line arguments for {!Arg} (since NEXT_RELEASE)
@param extra_args additional command line arguments for {!Arg} (since 0.8)
*)

val of_argv :
?extra_args:(string * Arg.spec * string) list ->
unit -> t
(** Parsed from {!Sys.argv}
Will call {!exit} if [Arg.parse] fails
@param extra_args additional command line arguments for {!Arg} (since NEXT_RELEASE)
@param extra_args additional command line arguments for {!Arg} (since 0.8)
*)
2 changes: 1 addition & 1 deletion src/core/Plugin.mli
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ val db_backed :
t
(** Make a stateful plugin that is backed by some tables in the database.
See {!db_backed} for more details.
@since NEXT_RELEASE *)
@since 0.8 *)

(** {2 Collection of Plugins} *)
module Set : sig
Expand Down

0 comments on commit 3a86798

Please sign in to comment.