Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kotano authored Aug 22, 2020
1 parent e5a6523 commit c60dfd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gendiff/views/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Views folder is made to add new views to Gendiff.
To add new view you should create new module in views folder.
It's name will be collected by `cli` automatically.

Inside that module you have to add function called 'modulename + _view', i.e. `plain_view` for plain module.
Inside that module you have to add function called 'render', which will be used by renderer.

After you finished creating your view, add corresponding code to views.\_\_init__.render function.
After you finished creating your view, add new view to VIEWS dictionary inside `views.__init__`.

0 comments on commit c60dfd7

Please sign in to comment.