No support for directories
Gollum has support for directories in newer versions.
When use smeagol and attempting to access a page that exists in a directory sinatra 404s
Do you just mean something like the following using folders, or another feature?
\ gollum-docs-folder
|- Home.md
\ Test_Folder
|- Test.md
Yep exactly that.
Hmm...I'm able to get to Test.md just fine in the above example. Are you doing:
http://example.server.com/Test
or
http://example.server.com/Test.md
or
http://example.server.com/Test_Folder/...
Otherwise, Gollum supports directories, but not explicitly referencing them (or at least what I can see right now in Gollum HEAD).
For the above example tree...
Gollum behavior:
- navigate to http://example.server.com/Test_Folder
- Gollum asks to make Test_Folder.md
Smeagol behavior:
- navigate to http://example.server.com/Test_Folder
- Smeagol redirects to Test_Folder/index.html (which does 404)
I'm having the same issue.
I have:
\- wiki
|- Home.md
\- getting-started-guide
|- _Sidebar.md
|- getting-started-guide.md
In my Home.md i have a link like this:
[[Getting Started Guide|getting-started-guide]]
Works fine in Gollum, but in smeagol i get Sinatra doesn’t know this ditty.
Url after clicking on link shows http://localhost:4567/getting-started-guide/getting-started-guide
Terminal window for smeagol preview shows:
localhost - - [14/Aug/2014:09:07:53 EST] "GET /getting-started-guide/getting-started-guide HTTP/1.1" 404 521
http://localhost:4567/ -> /getting-started-guide/getting-started-guide
localhost - - [14/Aug/2014:09:07:53 EST] "GET /__sinatra__/404.png HTTP/1.1" 404 497
http://localhost:4567/getting-started-guide/getting-started-guide -> /__sinatra__/404.png
+1: Same for me, under root directory of the project, subdirectories aren't supported, it always results in a 404
:+1: