Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a template engine to generate documents #46

Closed
kmyk opened this issue Dec 11, 2019 · 2 comments
Closed

Use a template engine to generate documents #46

kmyk opened this issue Dec 11, 2019 · 2 comments

Comments

@kmyk
Copy link
Member

kmyk commented Dec 11, 2019

現状は docs.py の中で手動で HTML を錬成していますが、template engine を利用すると楽になります。現状すでに動いているので置き換えてもすぐにはうれしさはないですが、一度やってしまえば開発速度は上がって長期的に楽になるはずです。

Python だと Jinja2 というのがおすすめです (最もよく使われているものなので)。
また、 Jekyll が Ruby 製の Liquid という template engine を使っていてこれと併せて 2 種類の異なる template engine が併存するのはなんとなく嫌な感じがしますが、これは仕方ないので無視するしかないと考えています。

@tsutaj
Copy link
Contributor

tsutaj commented Dec 11, 2019

情報ありがとうございます!!チェックします

@kmyk
Copy link
Member Author

kmyk commented Nov 14, 2020

これ終わってる

@kmyk kmyk closed this as completed Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants