Skip to content

Commit

Permalink
added module:doc to abstract documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Apr 16, 2021
1 parent 83a1fa4 commit 9938a0e
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
* V1.55.4.1
* V1.55.5
* added --tags to "ck find" action to be able to search for entries
by tags and return their paths
* added module:doc to abstract documentation

* V1.55.4
* [sztaylor] fix cpu & gpu set_freq commands
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Please see https://ck.readthedocs.io/en/latest/guide/how-to-contribute.html
N: Grigori Fursin (alias: FGG)
E: [email protected]
H: https://fursin.net
O: cTuning foundation, France
O: cTuning foundation, France / OctoML.ai, USA
C: original concept and prototyping, real-world use cases, development of https://cKnowledge.org and https://cKnowledge.io
W: since Nov.1, 2014
Expand Down
2 changes: 1 addition & 1 deletion ck/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


# We use 3 digits for the main (released) version and 4th digit for development revision
__version__ = "1.55.4.1"
__version__ = "1.55.5"
# Do not use characters (to detect outdated version)!

# Import packages that are global for the whole kernel
Expand Down
1 change: 1 addition & 0 deletions ck/repo/module/.cm/alias-a-doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
52b840ae194e640b
1 change: 1 addition & 0 deletions ck/repo/module/.cm/alias-u-52b840ae194e640b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doc
1 change: 1 addition & 0 deletions ck/repo/module/doc/.cm/desc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
21 changes: 21 additions & 0 deletions ck/repo/module/doc/.cm/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"backup_data_uid": "52b840ae194e640b",
"backup_module_uid": "032630d041b4fd8a",
"backup_module_uoa": "module",
"control": {
"author": "Grigori Fursin",
"author_email": "[email protected]",
"author_webpage": "http://fursin.net",
"copyright": "See CK COPYRIGHT.txt for copyright details",
"engine": "CK",
"iso_datetime": "2021-04-16T15:54:03.688043",
"license": "See CK LICENSE.txt for licensing details",
"version": [
"1",
"55",
"4",
"1"
]
},
"data_name": "doc"
}
9 changes: 9 additions & 0 deletions ck/repo/module/doc/.cm/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"actions": {},
"copyright": "See CK COPYRIGHT.txt for copyright details",
"desc": "documentation",
"developer": "Grigori Fursin",
"developer_email": "[email protected]",
"developer_webpage": "http://fursin.net",
"license": "See CK LICENSE.txt for licensing details"
}
32 changes: 32 additions & 0 deletions ck/repo/module/doc/module.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# Collective Knowledge (documentation)
#
# See CK LICENSE.txt for licensing details
# See CK COPYRIGHT.txt for copyright details
#
# Developer: Grigori Fursin, [email protected], http://fursin.net
#

cfg = {} # Will be updated by CK (meta description of this module)
work = {} # Will be updated by CK (temporal data)
ck = None # Will be updated by CK (initialized CK kernel)

# Local settings

##############################################################################
# Initialize module


def init(i):
"""
Input: {}
Output: {
return - return code = 0, if successful
> 0, if error
(error) - error text if return > 0
}
"""
return {'return': 0}

0 comments on commit 9938a0e

Please sign in to comment.