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

Add project example for subpackages #78

Open
vabenil opened this issue Oct 4, 2023 · 1 comment
Open

Add project example for subpackages #78

vabenil opened this issue Oct 4, 2023 · 1 comment

Comments

@vabenil
Copy link

vabenil commented Oct 4, 2023

The documentation for dub subpackages as the rest of the dub docs are lacking in examples.
Adding a repository with simple dub examples would massively help beginners getting into D and thereafter dub.

To be more specific my reason for opening this issue is because of the lack of mention of the file structure of a subpackage. In the dub subpackage documentation in this example:
2023-10-04_21:28:34
Does not include that the source directory for component1 or component2 should be ./component/source/component/ whereas a beginner might assume that the correct path should ./component/source/.

Had there been an example dub project where I could have seen the correct file structure I would not have wasted hours with this issue.

@WebFreak001
Copy link
Member

for current new docs deployment see https://deploy-preview-54--dub-registry.netlify.app/

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

No branches or pull requests

2 participants