diff options
author | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-01-20 08:47:57 +0100 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-01-20 08:47:57 +0100 |
commit | af81b318f31b8b4d53600f27385e2b41dd8cb738 (patch) | |
tree | 46416b48b01e612d3a5d274e0458d2d53f293d61 | |
parent | 865578cfb8b0fcd21fb85d0d1f9c27ff8008b7ad (diff) | |
download | qtivi-qface-af81b318f31b8b4d53600f27385e2b41dd8cb738.tar.gz |
fixed docu
-rw-r--r-- | docs/domain.rst | 2 | ||||
-rw-r--r-- | docs/usage.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/domain.rst b/docs/domain.rst index 7dd15d0..bf8f1c1 100644 --- a/docs/domain.rst +++ b/docs/domain.rst @@ -27,7 +27,7 @@ The domain model is the base for the code generation. You traverse the domain tr from qface.generator import FileSystem - system = FileSystem.parse_dir('interfaces') + system = FileSystem.parse('./interfaces') for module in sytem.modules: print(module.name) diff --git a/docs/usage.rst b/docs/usage.rst index 974ae7e..32411f1 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -77,7 +77,7 @@ The code generation is driven by a small script which iterates over the domain m from qface.generator import FileSystem, Generator def generate(input, output): - system = FileSystem.parse_dir(input) + system = FileSystem.parse(input) generator = Generator(searchpath='templates') ctx = {'output': output, 'system': system} generator.write('{{output}}/modules.csv', 'modules.csv', ctx) |