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

Search for parent directory containing Nanoc site #1210

merged 1 commit into from Aug 30, 2017


None yet
1 participant
Copy link

commented Aug 28, 2017

Let nanoc search in ancestral directories for a site.

Detailed description

This change makes it possible to run nanoc or bundle exec nanoc from a directory that is a subdirectory of a Nanoc site. If the site directory is not the current directory, Nanoc will cd to the site directory first.

Related issues

Implements nanoc/features#19.

@ddfreyne ddfreyne merged commit 213ba4f into master Aug 30, 2017

3 checks passed

codecov/patch 100% of diff hit (target 98.7%)
codecov/project 98.71% (+<.01%) compared to ef80d72
continuous-integration/travis-ci/pr The Travis CI build passed

@ddfreyne ddfreyne deleted the detect-nanoc-parent-directory branch Aug 30, 2017

@ddfreyne ddfreyne referenced this pull request Aug 30, 2017


Let #load_site load site #1212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.