summaryrefslogtreecommitdiff
path: root/doc/cdoc/README
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-06-05 15:02:50 +0000
committerPauli Virtanen <pav@iki.fi>2010-06-05 15:02:50 +0000
commite520cdd88f53448bbd5fb7b9ef06fa22635d5189 (patch)
tree9331f4903d23a6048dc025e7d5d4210a11943541 /doc/cdoc/README
parent5e4cd5706e7ad8cb405574fd23c2651ff4bc11b8 (diff)
downloadnumpy-e520cdd88f53448bbd5fb7b9ef06fa22635d5189.tar.gz
DOC: add automatic documentation generation from C sources (using Doxygen at the moment)
Diffstat (limited to 'doc/cdoc/README')
-rw-r--r--doc/cdoc/README31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/cdoc/README b/doc/cdoc/README
new file mode 100644
index 000000000..98be85484
--- /dev/null
+++ b/doc/cdoc/README
@@ -0,0 +1,31 @@
+cdoc
+====
+
+This is a simple Doxygen project for building Numpy C code documentation,
+with docstrings extracted from the C sources themselves.
+
+The understood syntax for documentation in the C source is
+
+ /*
+ * Some text in reStructuredText format
+ */
+ int function_to_which_the_text_applies()
+ {
+ ...
+ }
+
+ /*
+ * More text in reStructuredText format
+ */
+ struct
+ {
+ int variable_1; /* Documentation for variable_1 */
+
+ /*
+ * Documentation for variable_2
+ */
+ int variable_2;
+ } struct_name_t;
+
+Please do not use JavaDoc or Doxygen-specific formatting at the moment.
+