Skip to content

Conversation

@chfw
Copy link
Member

@chfw chfw commented Nov 17, 2018

@CLiu13, Please review it. And I will make a release 0.3.4.

The build will become green when https://github.com/moremoban/moban-handlebars will be released.

So please review moban-handlebars too.

@chfw chfw requested review from PrajwalM2212 and jayvdb November 17, 2018 23:38
@codecov-io
Copy link

codecov-io commented Nov 17, 2018

Codecov Report

Merging #134 into dev will decrease coverage by 0.3%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #134      +/-   ##
==========================================
- Coverage   98.74%   98.44%   -0.31%     
==========================================
  Files          41       39       -2     
  Lines        1836     1800      -36     
==========================================
- Hits         1813     1772      -41     
- Misses         23       28       +5
Impacted Files Coverage Δ
tests/test_engine.py 100% <ø> (ø) ⬆️
tests/test_jinja2_engine.py 100% <100%> (ø) ⬆️
moban/plugins.py 96.35% <100%> (-0.69%) ⬇️
tests/test_docs.py 100% <100%> (ø) ⬆️
moban/utils.py 95.1% <0%> (-2.8%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72ae965...cf596a5. Read the comment docs.

Copy link
Collaborator

@CLiu13 CLiu13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, don't forget to update the changelog :)

Level 11: use handlebars
================================================================================

moban is extensible via lml. Charlie Liu through google code in 2018 has
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

google code in -> Google Code-in

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, thanks for the shoutout :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the least I could do.

Please go to `docs/level-11-use-handlebars` directory.


Here is the `.moban.yml`, whihc replaces the command in level 3::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whihc -> which

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sharp eyes.

'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
]
extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode',]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this format intentional? Used to be a list with each element separated by a newline.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one comes from pypi-mobans-pkg, which then comes from sphinx project. The fix is better to come from there.

@chfw chfw merged commit 7573f8e into dev Nov 18, 2018
@chfw chfw deleted the separate-handlebars branch November 18, 2018 13:07
ayan-b pushed a commit to ayan-b/moban that referenced this pull request Jan 15, 2019
* 🔥 separate handlebars to moban-handlebars

* 🐛 fix get_primary_key will fail when a module is loaded later. fix moremoban#8. and remove pybars3

* 📚 update handlebars usage

* 🐛 moban hash does not work because trailing new line was not removed when the hash is calculated but is removed when saving the files. hence moban think the file is always updated. 🔥 remove engine handlebars loading

* 📚 update conf.py from pypi-mobans-pkg

* 💚 use moban-handlebars git repo for testing

* 📚 update change log, docs and correct typepos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants