IITC-CE / website

Page generator for https://iitc.app
GNU Affero General Public License v3.0
4 stars 2 forks source link

Support arbitrary categories #1

Closed johnd0e closed 5 years ago

johnd0e commented 5 years ago

Currently only predefined categories supported: https://github.com/IITC-CE/iitc.modos189.ru/blob/5d0df1f37b368026d637f83004244b2907eb44bd/update.py#L34

Examples now at https://iitc.modos189.ru/test_builds.html

johnd0e commented 5 years ago

It would be better if categories list was dynamically gathered from processed files.

modos189 commented 5 years ago

Show new categories w/o description

I like decision not to get rid of the Misc category, but to create new categories as needed

johnd0e commented 5 years ago

I like decision not to get rid of the Misc category

I never proposed get rid of Misc. There are some plugins with @category set to Misc. Also any uncategorized plugins also go there.

but to create new categories as needed

Do you mean automatically or manual way?

modos189 commented 5 years ago

Manual. In addition, this will motivate to create a description)

johnd0e commented 5 years ago

Manual.

Sure, we always can do it manual, but i do not think that it's hard to do it automatically.

Thing I do not like most: if we get some plugin with misspelled category - it silently goes to Misc. And it may stay unnoticed for long time.

In addition, this will motivate to create a description)

Empty description field is enough motivation for me)

modos189 commented 5 years ago

Added support undefined categories

https://github.com/IITC-CE/iitc.modos189.ru/commit/9a146edaad9afd257b71ccab4811056f145a6d7b