Replies: 9 comments 5 replies
-
Collection docs/ directory sizes in KiB:
|
Beta Was this translation helpful? Give feedback.
-
I would also prefer to keep these auto-generates files out of the tarballs... and from the git repository too. Where can I get update regarding the Galaxy/docs integration? |
Beta Was this translation helpful? Give feedback.
-
For me a clear removal imo. Never ever used the provided docs. Always gone online. |
Beta Was this translation helpful? Give feedback.
-
Having a separate tarball for docs would be awesome, especially one including the .html files. Sometimes people have to work offline or in restricted environments, or have a very slow internet connection. But they really don't have to be in the main tarball. |
Beta Was this translation helpful? Give feedback.
-
The problem I have in general when de-coupling things that belong together is that over time they become out of sync and in a very short time, very confusing for a user trying to debug or setting up for the first time. |
Beta Was this translation helpful? Give feedback.
-
I for one really enjoy having the docs included because historically I use |
Beta Was this translation helpful? Give feedback.
-
A couple tangential thoughts, not directly answering the question... what we decide here shouldn't make things worse for these situations but does not need to address them itself:
|
Beta Was this translation helpful? Give feedback.
-
Regarding whether it's nice to have docs inside of the collection tarballs: I don't think that galaxy currently allows for multiple tarballs per release. So someone who gets a collection from galaxy will need any non-plugin offline documentation (the guides that we've talked about moving out of the ansible-base tarball) available in the collection tarball. Certain classes of plugins (modules, for instance) have offline documentation available via |
Beta Was this translation helpful? Give feedback.
-
After a longer discussion, it seems this may not be worth the effort. To explain - the initial goal was to reduce the Ansible tarball since it has grown to about 29MB. Removing the docs from this only brings it down to 28MB (7% reduction). At this point, it doesn't seem worth it since we'd have to create and maintain separate packages and determine if it will break GPL licensing etc (that is, we don't get enough size reduction to make the additional work with the effort). |
Beta Was this translation helpful? Give feedback.
-
For the collection tarball - including the
/docs
folder adds space, especially for those collections generating module/plugin rst files within the collection/docs
folder to provide documentation linked to from the Galaxy readme (an interim fix until Galaxy displays module docs).If we decide to remove them, then:
Add
build_ignore
ingalaxy.yml
for/docs
(and in collection_template)Proposal for Ansible package at large - even if we decide to keep the
/docs
folder within the collection tarball, we could remove all .rst from the Ansible package itself (along with the main Ansible .rst files indocs/docsite/rst
for all the Ansible user/developer guide content) A similar story wherein the Ansible package is large and this would trim down the size of it. We can create a separateansible-documentation
package that includes the .rst files and the generated HTML for offline reading.We'd ❤️ your feedback!
ansible-base
or any of the collections directly, rather than via docs.ansible.com?Beta Was this translation helpful? Give feedback.
All reactions