سؤال

Is there a way in github to have a wiki's title be based on the markup? I have found another project using markdown that has the title for Home.md wiki page come from the file. The author could have also used the web interface and made the title of the page the same as the markdown. That project is here:

https://github.com/sitaramc/gitolite/wiki

When I tried doing the same thing with restructuredtext (Home.rest) using the underline of ='s the title ends up being ignored and not even shown in the rendered page. The same thing also happens when using markdown.

هل كانت مفيدة؟

المحلول

Looking at this pull request from a few months ago and the related discussion, it appears that the page title used to be set based on the markdown, but is now based exclusively on the filename.

That would explain why a project might have RestructuredText/Markdown that appears to define the title (it once did!), but the same doesn't work for you.

It appears that you're out of luck for defining the wiki page title through the RestructuredText/MarkDown file these days.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top