function for determining path to pollen.rkt #251

Closed
opened 3 years ago by mbutterick · 2 comments
mbutterick commented 3 years ago (Migrated from github.com)

According to @otherjoel:

It would be nice to have a Pollen-provided way of determining the path to the pollen.rkt file that applies to a particular Pollen source file. I could write my own (i.e., basically copy get-path-to-override from pollen/setup) but it seems more future-proof and less redundant to ask Pollen.

[According to](https://github.com/mbutterick/pollen-users/issues/86#issuecomment-792350555) @otherjoel: > It would be nice to have a Pollen-provided way of determining the path to the pollen.rkt file that applies to a particular Pollen source file. I could write my own (i.e., basically copy get-path-to-override from pollen/setup) but it seems more future-proof and less redundant to ask Pollen.
mbutterick commented 3 years ago (Migrated from github.com)

This function is now exported from pollen/setup as find-nearest-default-directory-require. For now I’m not going to add it to the public documentation, but maybe later, if it works the way you hope.

This function is now exported from `pollen/setup` as `find-nearest-default-directory-require`. For now I’m not going to add it to the public documentation, but maybe later, if it works the way you hope.
otherjoel commented 3 years ago (Migrated from github.com)

So far, this is working great!

So far, this is working great!
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#251
Loading…
There is no content yet.