-
Notifications
You must be signed in to change notification settings - Fork 347
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
docs for folders.root and self.base_source_folder #2418
docs for folders.root and self.base_source_folder #2418
Conversation
- **self.folders.root**: To specify the relative path from the ``conanfile.py`` to the root of the project, in case | ||
the conanfile.py is in a subfolder and not in the project root. If defined all the other paths will be relative to | ||
the project root, not to the location of the ``conanfile.py`` | ||
- **self.folders.base_source_folder** points to the root folder that is used as a base to compute the actual ``self.source_folder``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would extract this one from the list because it is read-only (we should say it) and previously the docs say: In the ``layout()`` method you can set:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
Docs for conan-io/conan#10654
Docs for conan-io/conan#10612