summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2021-04-08 10:49:22 +0200
committerGitHub <noreply@github.com>2021-04-08 10:49:22 +0200
commite819268dbb655d752809ea700fa475bd48c6e6e4 (patch)
treeaa03025f8bd1b379955086f3418dd988d1b873f2
parent755957a4093f101f4777e0d0b1b01d22e7c0990d (diff)
parentdb8d3237e47573389f10b19f307fee77dc0fab6c (diff)
downloaderlang-e819268dbb655d752809ea700fa475bd48c6e6e4.tar.gz
Merge pull request #4713 from garazdawi/lukas/edoc/NO_APP-deprecation
edoc: Re-instate ?NO_APP and deprecate it
-rw-r--r--lib/edoc/include/edoc_doclet.hrl3
-rw-r--r--system/doc/general_info/deprecations_24.inc7
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/edoc/include/edoc_doclet.hrl b/lib/edoc/include/edoc_doclet.hrl
index 40ed77cff9..33e28785c0 100644
--- a/lib/edoc/include/edoc_doclet.hrl
+++ b/lib/edoc/include/edoc_doclet.hrl
@@ -26,6 +26,9 @@
%% Author contact: carlsson.richard@gmail.com
%% =====================================================================
+%% Keep this define for backwards compatibility
+-define(NO_APP, no_app).
+
-record(doclet_context, {dir = "",
env,
opts = []}).
diff --git a/system/doc/general_info/deprecations_24.inc b/system/doc/general_info/deprecations_24.inc
index 0eb859789a..d508aca7d3 100644
--- a/system/doc/general_info/deprecations_24.inc
+++ b/system/doc/general_info/deprecations_24.inc
@@ -28,3 +28,10 @@
</p>
</section>
+ <section>
+ <title>?NO_APP macro</title>
+ <p>
+ The ?NO_APP macro in the edoc include file <c>edoc_doclet.hrl</c> has
+ been deprecated.
+ </p>
+ </section>