Browse Source

Comments update for doxygen doc

Now we have a main page on doxygen
Yann Weber 9 years ago
parent
commit
f2a54b72cd
10 changed files with 39 additions and 11 deletions
  1. 0
    0
      DataSource/dummy/__init__.py
  2. 26
    0
      Lodel/__init__.py
  3. 3
    0
      Lodel/settings_format.py
  4. 1
    0
      install/__init__.py
  5. 1
    0
      leapi/__init__.py
  6. 2
    4
      leapi/leobject.py
  7. 2
    7
      leapi/letype.py
  8. 1
    0
      lodel_init.sh
  9. 2
    0
      refreshdyn.py
  10. 1
    0
      settings.py

+ 0
- 0
DataSource/dummy/__init__.py View File


+ 26
- 0
Lodel/__init__.py View File

@@ -0,0 +1,26 @@
1
+## @mainpage
2
+#
3
+# @section Introduction
4
+#
5
+# For basics Lodel2 configuration & usage see README.md
6
+#
7
+# @section mainpage_pkg_list Main packages
8
+#
9
+# - Lodel
10
+#  - Lodel.settings
11
+# - EditorialModel
12
+#  - EditorialModel.fieldtypes
13
+#  - EditorialModel.backend
14
+# - @ref leapi
15
+# - DataSource
16
+#  - DataSource.MySQL
17
+# 
18
+# @section mainpage_docs Dev ressources
19
+#
20
+# @subsection mainpage_docs_leapi LeAPI
21
+#
22
+# - LeAPI objects instanciation : @ref lecrud_instanciation
23
+# - Querying leapi : @ref api_user_side
24
+#
25
+# @subsection mainpage_docs_configs Lodel2 settings
26
+# - Lodel2 settings handling : @ref lodel_settings

+ 3
- 0
Lodel/settings_format.py View File

@@ -1,5 +1,7 @@
1 1
 #-*- coding: utf-8 -*-
2
+## @package Lodel.settings_format Rules for settings
2 3
 
4
+## @brief List mandatory configurations keys
3 5
 MANDATORY = [
4 6
     'debug',
5 7
     'debug_sql',
@@ -13,6 +15,7 @@ MANDATORY = [
13 15
     'migration_options',
14 16
 ]
15 17
 
18
+## @brief List allowed (but not mandatory) configurations keys
16 19
 ALLOWED = [
17 20
     'em_graph_output',
18 21
     'em_graph_format',

+ 1
- 0
install/__init__.py View File

@@ -0,0 +1 @@
1
+## @package install Regroup files and files templates designed to compose a lodel instance

+ 1
- 0
leapi/__init__.py View File

@@ -0,0 +1 @@
1
+## @package leapi Lodel Editorial API : accessing lodel2 datas & documents

+ 2
- 4
leapi/leobject.py View File

@@ -1,12 +1,10 @@
1 1
 #-*- coding: utf-8 -*-
2 2
 
3
-## @package leobject API to access lodel datas
3
+## @package leapi.leobject
4
+# @brief Contains abstract class designed to be implemented by LeObject
4 5
 #
5 6
 # This package contains abstract classes leapi.leclass.LeClass , leapi.letype.LeType, leapi.leapi._LeObject.
6 7
 # Those abstract classes are designed to be mother classes of dynamically generated classes ( see leapi.lefactory.LeFactory )
7
-
8
-## @package leapi.leobject
9
-# @brief Abstract class designed to be implemented by LeObject
10 8
 #
11 9
 # @note LeObject will be generated by leapi.lefactory.LeFactory
12 10
 

+ 2
- 7
leapi/letype.py View File

@@ -1,12 +1,7 @@
1 1
 #-*- coding: utf-8 -*-
2 2
 
3
-## @package leobject API to access lodel datas
4
-#
5
-# This package contains abstract classes leapi.leclass.LeClass , leapi.letype.LeType, leapi.leapi._LeObject.
6
-# Those abstract classes are designed to be mother classes of dynamically generated classes ( see leapi.lefactory.LeFactory )
7
-
8
-## @package leapi.leobject
9
-# @brief Abstract class designed to be implemented by LeObject
3
+## @package leapi.letype
4
+# @brief Contains abstract class designed to be implemented by LeType
10 5
 #
11 6
 # @note LeObject will be generated by leapi.lefactory.LeFactory
12 7
 

+ 1
- 0
lodel_init.sh View File

@@ -32,6 +32,7 @@ echo "Creating lodel instance directory '$instdir'"
32 32
 mkdir -pv "$instdir"
33 33
 
34 34
 cp -v $libdir/install/* $instdir
35
+rm -fv $instdir/__init__.py
35 36
 
36 37
 sed -i -e "s#LODEL2_LIB_ABS_PATH#$libdir#" "$settings"
37 38
 sed -i -e "s#LODEL2_INSTANCE_NAME#$name#" "$settings"

+ 2
- 0
refreshdyn.py View File

@@ -1,4 +1,6 @@
1 1
 # -*- coding: utf-8 -*-
2
+## @package refreshdyn Python script designed to generate dynamic API
3
+# @see leapi.lefactory
2 4
 
3 5
 import sys
4 6
 from EditorialModel.model import Model

+ 1
- 0
settings.py View File

@@ -1,4 +1,5 @@
1 1
 #-*- coding:utf8 -*-
2
+## @package settings Configuration file
2 3
 
3 4
 import pymysql
4 5
 

Loading…
Cancel
Save