Raneto icon indicating copy to clipboard operation
Raneto copied to clipboard

Provide option to specify category title manually, rather than automatically generated

Open caseyjhol opened this issue 9 years ago • 9 comments

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).

caseyjhol avatar Oct 20 '15 21:10 caseyjhol

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?

ryanlelek avatar Jan 31 '16 02:01 ryanlelek

Yes, that works, and would be much easier than separating it into multiple files.

caseyjhol avatar Feb 03 '16 20:02 caseyjhol

I second this. For our support documentation, our company name, hearTV, is being rendered as "Hear TV".

namannik avatar Apr 25 '16 23:04 namannik

I third this, because using Raneto with pt_BR titles, it just can't find categories named with characters like ç, ã, á and so on...

forsureitsme avatar Jun 01 '16 12:06 forsureitsme

I agree. My bandwidth is low right now, so it's up for grabs. Marking it as a priority tag

ryanlelek avatar Jun 05 '16 20:06 ryanlelek

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.

IllusionaryOne avatar Jun 10 '16 15:06 IllusionaryOne

Yes, that would be a great start to a solution @IllusionaryOne. Happy to review and discuss the PR when you submit

ryanlelek avatar Jun 11 '16 22:06 ryanlelek

Yes, do it @IllusionaryOne. We can help you turning the meta into YAML for the issue #18

forsureitsme avatar Jun 11 '16 22:06 forsureitsme

This issue seems to be fixed. Why isn't it closed?

Evgeny-A avatar Dec 21 '18 17:12 Evgeny-A