From b07cc9783f33b241c3b6529d5aad625381ea0883 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Mon, 4 Jun 2012 07:21:37 -0700 Subject: [PATCH] extend the sample documentation outline --- src/create-module.py | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/src/create-module.py b/src/create-module.py index dc8899756..fa329d50c 100755 --- a/src/create-module.py +++ b/src/create-module.py @@ -230,11 +230,13 @@ Model Description The source code for the new module lives in the directory ``src/%(MODULE)s``. +Add here a basic description of what is being modeled. + Design ====== -Add here an overall description of the software design and how it fits -into the existing ns-3 architecture. +Briefly describe the software design of the model and how it fits into +the existing ns-3 architecture. Scope and Limitations ===================== @@ -252,18 +254,31 @@ Usage ***** This section is principally concerned with the usage of your model, using -the public API. +the public API. Focus first on most common usage patterns, then go +into more advanced topics. Building New Module =================== -Include this section if there are special build instructions. +Include this subsection only if there are special build instructions or +platform limitations. -Helper -====== +Helpers +======= What helper API will users typically use? Describe it here. +Attributes +========== + +What classes hold attributes, and what are the key ones worth mentioning? + +Output +====== + +What kind of data does the model generate? What are the key trace +sources? What kind of logging output can be enabled? + Advanced Usage ============== @@ -275,6 +290,11 @@ Examples What examples using this new code are available? Describe them here. +Troubleshooting +=============== + +Add any tips for avoiding pitfalls, etc. + Validation **********