Placement of copyright statements TMW vs mh_style/mh_copyright #257
Unanswered
drittelhacker
asked this question in
Q&A
Replies: 1 comment 1 reply
|
So there are two places MH looks:
So top-level being: there are no other MATLAB statements at all before that comment. As to recommendations, things are flexible, it is only SW after all :) Can you open a ticket with an example of how you'd like it and I will see what I can do... |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there any information about the placement of the copyright notice that I have overlooked? I mean; where in the file it has to be such that
mh_styleandmh_copyrightactually find it?Since
help myfunprints the first comment block inmyfun.m, we decided to add a separate comment right after that for the copyright statement. We are aware that this is against standard recommendations, but it is still pretty much at the top of the file, and we get the correct help text printed.However, both mh-tools don't like this style, and I am looking for a way to get this resolved that is better than ignoring
mh_copyrightand banning the copyright rule formh_style. Any suggestions or recommendations?Also, when running
mh_copyright --add-noticeon a file, the only thinghelpgives you afterwards is the copyright statement. Are we being too old-school, documenting our functions this way? Or is this actually worth an issue?All reactions