Replies: 2 comments 8 replies
-
I'm confused, the JS files are included in the tar ball, but are only needed for the documentation if it is built. Are you actually building and using the documentation? The JS files are not used in the actual library. I feel like I've had this conversation with a package maintainer at one time...I can't remember if it was for this package or another, but ultimately, they didn't bother generating them as it is not useful for the package itself. |
Beta Was this translation helpful? Give feedback.
-
I see no reason for this in the tarball, we ship the minimum needed so docs can be built locally if desired, but currently have no intention of providing all the JS framework bloat. I'm struggling to see the value in this.
I don't quite understand this because since we don't include any of the JS deps, we don't need to worry about them.
Again, the JS build deps aren't being included, just our own custom loaders for things like MathJax, and Mermaid UML diagrams.
Again, what libs are we talking about? None are included. The only external libs for documentation that are actively used in the tarball are defined in the included source: https://github.com/facelessuser/pymdown-extensions/blob/main/mkdocs.yml#L167 I've kind of already explained the process, and I'm happy to help anyone that is interested recreate the build if it is truly desired, but I see no value in including all of this in the tarball. No other package maintainers have ever asked for this, and it is included in many, various distributions. |
Beta Was this translation helpful? Give feedback.
-
Hi,
the upstream code currently includes some minimized JS code in
docs/theme/assets/pymdownx-extras
.While working on packaging pymdown-extensions for Debian the QS tool Lintian is mentioning that some source code files are missing for these minimized JS files.
The reason for this is that the DFSG and the Debian packaging rules see such minimized files not as usual source code because it's not really readable by human. From a Debian POV it would be enough if the source for the files is available to, even better would be if we could rebuild the minimized files while we build the package.
Is it possible to add the minimized files or at least some kind of small read me where the source is coming from and how it was built? That would help me to get the package prepared for an upload to the Debian archive. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions