aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-06-15 12:23:57 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-06-15 12:23:57 -0400
commitb0bb39ffe6861b938113b596c04e86b0de934fcb (patch)
treefb99a29f88320126cac4120b1d68706fdcb28a14 /tmpl
parentd407a4eeec837a463bd636fd12daa307c3ea6047 (diff)
downloadlibrambutan-b0bb39ffe6861b938113b596c04e86b0de934fcb.tar.gz
librambutan-b0bb39ffe6861b938113b596c04e86b0de934fcb.zip
Add template page for creating libmaple proper API documentation.
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/libmaple-proper-page.rst.tmpl43
1 files changed, 43 insertions, 0 deletions
diff --git a/tmpl/libmaple-proper-page.rst.tmpl b/tmpl/libmaple-proper-page.rst.tmpl
new file mode 100644
index 0000000..c00dd63
--- /dev/null
+++ b/tmpl/libmaple-proper-page.rst.tmpl
@@ -0,0 +1,43 @@
+.. This page is a template for documenting a peripheral support header
+.. in libmaple proper (example: source/libmaple/api/adc.rst).
+..
+.. To use, modify "foo" appropriately, etc. If a section would be
+.. empty (i.e., there are no devices, just register maps) feel free to
+.. leave it out.
+..
+.. It would be nice if, in addition to the base breathe directives,
+.. you flesh out sections as appropriate with free-form text that
+.. helps the user get their job done.
+
+``foo.h``
+=========
+
+Support for Furious Oscillation Ocelots (FOO) peripherals.
+
+.. contents:: Contents
+ :local:
+
+Types
+-----
+
+.. Docs for register map and device types here
+
+Devices
+-------
+
+.. Docs for devices here
+
+Functions
+---------
+
+.. Documented, user-facing functions here
+
+Register Map Base Pointers
+--------------------------
+
+.. RMBPs here
+
+Register Bit Definitions
+------------------------
+
+.. you get the picture