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

Allow request md files with or without the .md extension #66

Merged
merged 4 commits into from
Aug 8, 2018

Conversation

fpenapita
Copy link

Proposal to solve the issue #65

Copy link
Owner

@DannyBen DannyBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, besides a couple of suggestions and the fact that it fails CI at this stage.

Let me know if I can help.

@@ -27,7 +27,7 @@ def get_breadcrumbs
def breadcrumbs_maker(partial_path)
parent, basename = File.split partial_path
item = OpenStruct.new({
label: basename.to_label,
label: File.basename(basename, '.md').to_label,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this would be better in StringRefinements#to_label?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. You are right

@@ -1,4 +1,3 @@
tmp/theme-test:
public
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the change in this file? Seems to also be related to why the CI tests fail?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. I don't know why the output of ls -R #{theme_dir} is different on my system. I'm going to recover the previous content and comment that test in local to be able to check the other ones.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries. I will change the test to be more tolerant after we merge this.

@DannyBen
Copy link
Owner

DannyBen commented Aug 8, 2018

Beautiful work.

Is it ready to merge as far as you are concerned?

@fpenapita
Copy link
Author

Yes. I think so.

@DannyBen
Copy link
Owner

DannyBen commented Aug 8, 2018

Thanks for the nice PR.

This is now released as v0.6.2

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 this pull request may close these issues.

2 participants