Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for directories #53

Open
chkelly opened this issue Aug 14, 2013 · 6 comments
Open

No support for directories #53

chkelly opened this issue Aug 14, 2013 · 6 comments

Comments

@chkelly
Copy link

chkelly commented Aug 14, 2013

Gollum has support for directories in newer versions.

When use smeagol and attempting to access a page that exists in a directory sinatra 404s

@pearofducks
Copy link

Do you just mean something like the following using folders, or another feature?

\ gollum-docs-folder
 |- Home.md
 \ Test_Folder
  |- Test.md

@chkelly
Copy link
Author

chkelly commented Aug 31, 2013

Yep exactly that.

@pearofducks
Copy link

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:

Smeagol behavior:

@apackeer
Copy link

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

@openhoat
Copy link

openhoat commented Sep 4, 2014

+1: Same for me, under root directory of the project, subdirectories aren't supported, it always results in a 404

@tel
Copy link

tel commented Oct 15, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants