summaryrefslogtreecommitdiffstats
path: root/doc/docblocks.doc
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-04 12:07:53 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-04 12:07:53 (GMT)
commit0dd59398b3f62288897c8c3405977a27a94fbfee (patch)
tree233682549d60a88b9c4dd8b7c58bd01e3504d716 /doc/docblocks.doc
parent6f0269ef3074bbc4bc16ad63a0e0a8f9b5f0ce31 (diff)
downloadDoxygen-0dd59398b3f62288897c8c3405977a27a94fbfee.zip
Doxygen-0dd59398b3f62288897c8c3405977a27a94fbfee.tar.gz
Doxygen-0dd59398b3f62288897c8c3405977a27a94fbfee.tar.bz2
Bug 734099 - Add support for non-parsed language
Diffstat (limited to 'doc/docblocks.doc')
-rw-r--r--doc/docblocks.doc19
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/docblocks.doc b/doc/docblocks.doc
index c74211c..333e5d2 100644
--- a/doc/docblocks.doc
+++ b/doc/docblocks.doc
@@ -371,7 +371,7 @@ typedef, enum or preprocessor definition you must first document the file
that contains it (usually this will be a header file, because that file
contains the information that is exported to other source files).
-Let's repeat that, because it is often overlooked:
+@attention Let's repeat that, because it is often overlooked:
to document global objects (functions, typedefs, enum, macros, etc), you
<em>must</em> document the file in which they are defined. In other words,
there <em>must</em> at least be a \verbatim /*! \file */ \endverbatim
@@ -395,6 +395,23 @@ using structural commands:
in comment blocks which are place in front of a function. This is clearly
a case where the \\fn command is redundant and will only lead to problems.
+ When you place a comment block in a file with one of the following extensions
+ `.dox`, `.txt`, or `.doc` then doxygen will hide this file from the file list.
+
+ If you have a file that doxygen cannot parse but still would like to document it,
+ you can show it as-is using \ref cmdverbinclude "\\verbinclude", e.g.
+
+\verbatim
+/*! \file myscript.sh
+ * Look at this nice script:
+ * \verbinclude myscript.sh
+ */
+\endverbatim
+
+Make sure that the script is explicitly listed in the \ref cfg_input "INPUT" or
+that \ref cfg_file_patterns "FILE_PATTERNS" includes the `.sh` extention and the
+the script can be found in the path set via \ref cfg_example_path "EXAMPLE_PATH".
+
\subsection pythonblocks Comment blocks in Python
For Python there is a standard way of documenting the code using