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

Per Project Settings #28

Closed
allejo opened this issue Feb 7, 2015 · 5 comments
Closed

Per Project Settings #28

allejo opened this issue Feb 7, 2015 · 5 comments
Labels

Comments

@allejo
Copy link

allejo commented Feb 7, 2015

In the README, it says that I can have per-project settings since I'm maintaining multiple Jekyll sites but how do I do that? The README says to "make sure you add your Jekyll settings correctly" but I'm not sure how that works. Do I add a separate file to my Jekyll site where it'll have the settings for this plug-in or does it read the _config.yml?

@23maverick23
Copy link
Owner

Hey @allejo - thanks for using the plugin!

Have a look at issue #16 - that should hopefully clear it up for you. If you have additional questions, let me know.

@allejo
Copy link
Author

allejo commented Feb 7, 2015

Ah thanks! Sorry about not doing a good job searching before I asked. I do have one more question though, when defining the values, are they relative to the project or do I need to specify the full path? If I specify the full path, moving the project elsewhere would become a burden and it doesn't seem to work if I try ./_posts or _posts.

For example:

{
    "folders":
    [
        {
            "follow_symlinks": true,
            "path": "."
        }
    ],

    "settings":
    {
        "Jekyll":
        {
            "posts_path": "_posts",
            "drafts_path": "_drafts"
        }
    }
}

@23maverick23
Copy link
Owner

Glad that helped, @allejo . The current implementation requires a full path for those dict keys, which is a pain if you plan to move your projects around a lot (or share them across machines).

I'm hoping to release v2.2.0 soon which will optionally allow Sublime to "find" the correct folder in your Jekyll project automatically, without specifying a path in either the User or Project settings. Stay tuned!

@allejo
Copy link
Author

allejo commented Feb 8, 2015

Thanks for the clarification! Yea, I share a project among different machines so I look forward to v2.2.0!

@23maverick23 23maverick23 modified the milestones: 2.2.0, next ➜ Mar 4, 2015
@allejo
Copy link
Author

allejo commented Mar 13, 2015

Is the automatically_find_paths option meant only to be set in the package's setting or can it be done on a per-project basis? I can only get it to work as a setting for the actual package.

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

No branches or pull requests

2 participants