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

Refactor Nikola.path #790

Closed
ralsina opened this issue Oct 3, 2013 · 1 comment
Closed

Refactor Nikola.path #790

ralsina opened this issue Oct 3, 2013 · 1 comment
Assignees
Milestone

Comments

@ralsina
Copy link
Member

ralsina commented Oct 3, 2013

Currently Nikola uses Nikola.path() and Nikola.link() to resolve a number of things like "what's the path to the tag called foo".

The problem is that these are in the Nikola class, which therefore needs to know a lot about the internal workings of a bunch of plugins, which means the separation of concerns sucks.

Solution, make plugins register their own path resolution mechanisms with Nikola and then use them.

@ralsina
Copy link
Member Author

ralsina commented Oct 10, 2013

@DBeath already did a large chunk of this in #814

ralsina added a commit that referenced this issue Oct 11, 2013
@ralsina ralsina mentioned this issue Oct 11, 2013
@ralsina ralsina closed this as completed Oct 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant