improved doxygen documentation
This commit is contained in:
parent
eb524436ce
commit
e3c35bd0d5
@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup shellmatta_api
|
||||
* @addtogroup shellmatta_api Shellmatta API description
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
@ -830,7 +830,8 @@ WARN_LOGFILE =
|
||||
# Note: If this tag is empty the current directory is searched.
|
||||
|
||||
INPUT = src \
|
||||
api
|
||||
api \
|
||||
doc
|
||||
|
||||
# This tag can be used to specify the character encoding of the source files
|
||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
||||
@ -2474,7 +2475,7 @@ DIAFILE_DIRS =
|
||||
# generate a warning when it encounters a \startuml command in this case and
|
||||
# will not generate output for the diagram.
|
||||
|
||||
PLANTUML_JAR_PATH =
|
||||
PLANTUML_JAR_PATH = /usr/bin
|
||||
|
||||
# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a
|
||||
# configuration file for plantuml.
|
||||
|
11
doc/main.dox
Normal file
11
doc/main.dox
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
|
||||
@mainpage
|
||||
|
||||
This is the entry to the doxygen documentation of the shellmatta library.
|
||||
|
||||
Please find the documenation here:
|
||||
|
||||
@subpage shellmatta
|
||||
|
||||
*/
|
35
doc/shellmatta.dox
Normal file
35
doc/shellmatta.dox
Normal file
@ -0,0 +1,35 @@
|
||||
/**
|
||||
|
||||
@page shellmatta Shellmatta
|
||||
|
||||
The shellmatta is a tiny shell implementation to be integrated in all kinds
|
||||
of software projects to add a debug and configuration interface.
|
||||
|
||||
Please take a look at the README.md file for some information that might
|
||||
not be included here.
|
||||
|
||||
@section shellmatta_api_section Shellmatta api description
|
||||
|
||||
The complete api of the shellmatta is included in the file api/shellmatta.h.
|
||||
|
||||
The api description can be found here:
|
||||
@subpage shellmatta_api
|
||||
|
||||
This is how the classic usage looks like:
|
||||
|
||||
@startuml
|
||||
App -> Shellmatta: shellmatta_doInit()
|
||||
|
||||
loop for every command
|
||||
App -> Shellmatta: shellmatta_addCmd(command)
|
||||
end
|
||||
|
||||
loop until finished
|
||||
IO -> Shellmatta: shellmatta_processData(data)
|
||||
Shellmatta -> App: call command function
|
||||
App -> Shellmatta: shellmatta_printf(output data)
|
||||
Shellmatta -> IO: write(data)
|
||||
end
|
||||
@enduml
|
||||
|
||||
*/
|
2
makefile
2
makefile
@ -78,6 +78,8 @@ DEPS := $(OBJ:%.o=%.d)
|
||||
|
||||
export
|
||||
|
||||
.PHONY: help cppcheck doc clean
|
||||
|
||||
help:
|
||||
@echo Shellmatta help
|
||||
@echo -----------------------------------------------
|
||||
|
@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup shellmatta_api
|
||||
* @addtogroup shellmatta_autocomplete
|
||||
* @{
|
||||
*/
|
||||
#ifndef _SHELLMATTA_AUTOCOMPLETE_H_
|
||||
|
@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup shellmatta_api
|
||||
* @addtogroup shellmatta_history
|
||||
* @{
|
||||
*/
|
||||
#ifndef _SHELLMATTA_HISTORY_H_
|
||||
|
Loading…
Reference in New Issue
Block a user