diff --git a/rebar.config.script b/rebar.config.script index 4a605d7..2d00cf3 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -58,5 +58,8 @@ CFlags = race_conditions, underspecs ]} - ]} + ]}, + + {hex, [{doc, edoc}]} + ]. diff --git a/src/esqlite3.erl b/src/esqlite3.erl index ae17e34..e502b3c 100644 --- a/src/esqlite3.erl +++ b/src/esqlite3.erl @@ -1,9 +1,6 @@ %% @author Maas-Maarten Zeeman -%% @copyright 2011 - 2017 Maas-Maarten Zeeman - +%% @copyright 2011 - 2022 Maas-Maarten Zeeman %% @doc Erlang API for sqlite3 databases - -%% Copyright 2011 - 2017 Maas-Maarten Zeeman %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -422,7 +419,6 @@ last_insert_rowid(#connection{raw_connection=RawConnection}, Timeout) -> ok = esqlite3_nif:last_insert_rowid(RawConnection, Ref, self()), receive_answer(RawConnection, Ref, Timeout). -%% @doc Get autocommit %% @doc Check if the connection is in auto-commit mode. %% See: [https://sqlite.org/c3ref/get_autocommit.html] for more details. %% diff --git a/src/esqlite3_nif.erl b/src/esqlite3_nif.erl index 02a1678..defa998 100644 --- a/src/esqlite3_nif.erl +++ b/src/esqlite3_nif.erl @@ -1,9 +1,7 @@ %% @author Maas-Maarten Zeeman -%% @copyright 2011 - 2017 Maas-Maarten Zeeman - +%% @copyright 2011 - 2022 Maas-Maarten Zeeman +%% %% @doc Low level erlang API for sqlite3 databases - -%% Copyright 2011 - 2017 Maas-Maarten Zeeman %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License.