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

Output filename collisions #201

Closed
c-lliope opened this issue Apr 15, 2013 · 1 comment · Fixed by #203
Closed

Output filename collisions #201

c-lliope opened this issue Apr 15, 2013 · 1 comment · Fixed by #203

Comments

@c-lliope
Copy link
Contributor

currently, if there are two or more files with the same root name and different extensions
(ex: user.rb and user.js), the generated documentation filenames will both map to docs/user.html

$ touch user.js
$ touch user.rb
$ docco index.rb index.js
docco: index.js -> docs/index.html
docco: index.rb -> docs/index.html
$ ls docs/
docco.css  index.html public

Suggested fix:

Include the original file extension before the .html on documentation pages. In the earlier example, this would result in:

$ ls docs/
docco.css  index.js.html  index.rb.html  public
@c-lliope
Copy link
Contributor Author

This would also allow the creation of a docs/index.html without worrying about collisions from a project's index.html

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

Successfully merging a pull request may close this issue.

1 participant