-
Notifications
You must be signed in to change notification settings - Fork 783
docs: Explain in greater depth what content packages should include #3472
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
base: main
Are you sure you want to change the base?
Conversation
with examples and cross-references to particular definitions. This should help to prevent misunderstandings with the connection between the `package.exclude` key in the manifest and this repository.
which previously pointed to nonexistent document sections.
elegaanz
left a comment
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.
Thanks for writing this, I think it is an improvement to be more explicit. I left a few comments, mostly nitpicking, but I think it would improve what you wrote a bit and make it more consistent with other documentation files.
I think it would be good to link to this file in the relevant section(s) of the existing docs, so that it is easier to discover for people who may need this extra information.
docs/contents.md
Outdated
|
|
||
| ## Imported package version (Stage 3) | ||
|
|
||
| This is the state of the package that users get when they `#import` your code. |
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.
Maybe you should be explicit here and say that these files will be downloaded and stored in the local package cache?
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've rephrased the sentence, do you think it's better now?
but keep the internal references to the file category definitions. Other documentation files don't have a ToC either, so there's no need to start this now.
instead of blindly copying pre-existing sentence fragments from other parts of the docs.
since the examples stand out from the regular text enough as they are. Heavy application of markup tends to distract from truly important points.
so the stages themselves stand out more. In future communications, this may make it easier to refer to which *stage* of a package certain things apply.
in a way that makes it clear that a) this is the *final* package content and b) this is what users actually get (download/store) when they `import` a package.
in addition to the bare file listing. This should give new packagers a better idea of how to transform from Stage 2 to Stage 3.
since the latter is more detailed explanation of the former, including examples and motivation behind the individual steps.
so users used to the previous docs layout (possibly with bookmarks in their browsers) can discover the new documentation more easily.
with examples and cross-references to particular definitions. This should help to prevent misunderstandings with the connection between the
package.excludekey in the manifest and this repository.After publishing my last package I had to learn the hard way that I misunderstood parts of the "What to commit? What to exclude?" section. Now that I know what I did wrong, the documentation starts making sense. However, it wasn't clear to me before and I had read that section 3 or 4 times.
Here's a proposal for a more elaborate description of the connection between a packages original repository, the contents of a PR published here, and what the users finally downloads to their machine when compiling documents. I haven't yet embedded this into the existing documentation because I wanted to get feedback on whether you think this is helpful first.
Thank you in advance!