Project wiki cannot discover or render AsciiDoc files with .adoc extension
Summary
Project wiki cannot discover or render AsciiDoc files with .adoc
extension. It only supports AsciiDoc files with extension .asciidoc
.
.adoc
is shorter and recommended by Asciidoctor. I suggest that GitLab prefers .adoc
or at least support it.
Steps to reproduce
- Clone a project wiki repository
- Create a new AsciiDoc file named
test.adoc
with content "= Test" - Commit and push to remote repository
- Check the Wiki Pages list
- Visit the wiki page manually (URL is like https://gitlab.com/USER/PROJECT/wikis/test)
What is the current bug behavior?
- Wiki Pages does not show the page "Test" in the list
- When visiting the "Test" page manually, GitLab shows a form to create the page.
What is the expected correct behavior?
- Wiki Pages should show the page "Test" in the list
- When visiting the "Test" page, GitLab should render the content of
test.adoc
.
Output of checks
This bug happens on GitLab.com