Raneto
Raneto copied to clipboard
Provide option to specify category title manually, rather than automatically generated
This would be handy for custom capitalization and special characters, or just for having shorter URLs (e.g. /faqs/... instead of /frequently-asked-questions/... A simple method would probably be to include a title
file in the category folder with the custom title (similar to the way categories are sorted).
Related comment from #18
Should we do a central YAML file per category and put all category, article, and sort metadata in there?
Would that work for your purposes @caseyjhol?
Yes, that works, and would be much easier than separating it into multiple files.
I second this. For our support documentation, our company name, hearTV, is being rendered as "Hear TV".
I third this, because using Raneto with pt_BR titles, it just can't find categories named with characters like ç
, ã
, á
and so on...
I agree. My bandwidth is low right now, so it's up for grabs. Marking it as a priority tag
I made a kludge in which a "dirmeta" file is created underneath the newly created category directory. That file contains the raw input from the category creation before it is sanitized for the file system. I am happy to submit the change as a pull request if this sounds like a decent way to accomplish this.
This then allows for titles such as CamelCase or CamelCASE or what have you to be displayed properly while not affecting the file system directory creation logic.
Yes, that would be a great start to a solution @IllusionaryOne. Happy to review and discuss the PR when you submit
Yes, do it @IllusionaryOne. We can help you turning the meta into YAML for the issue #18
This issue seems to be fixed. Why isn't it closed?