impl: rename 'detail' to 'impl'

'impl' directory contains implementation-detail headers that are NOT
installed. 'detail' directory will be used for implementation-detail
headers that ARE installed.

refs #4782

Change-Id: I13428e032c93207753a6b856c693511c4fc3bbb8
diff --git a/docs/code-style.rst b/docs/code-style.rst
index 48984bb..dfad354 100644
--- a/docs/code-style.rst
+++ b/docs/code-style.rst
@@ -748,7 +748,7 @@
 
     .. code-block:: c++
 
-        #include "ndn-cxx/detail/pending-interest.hpp"
+        #include "ndn-cxx/impl/pending-interest.hpp"
         #include "ndn-cxx/util/random.hpp"
 
         #include <cstdlib>
diff --git a/docs/doxygen.conf.in b/docs/doxygen.conf.in
index 4ed7c55..e7a7315 100644
--- a/docs/doxygen.conf.in
+++ b/docs/doxygen.conf.in
@@ -836,7 +836,7 @@
 # Note that the wildcards are matched against the file with absolute path, so to
 # exclude all test directories for example use the pattern */test/*
 
-EXCLUDE_PATTERNS       = */ndn-cxx/detail/* */ndn-cxx/*/detail/*
+EXCLUDE_PATTERNS       = */ndn-cxx/impl/* */ndn-cxx/*/impl/*
 
 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
 # (namespaces, classes, functions, etc.) that should be excluded from the