-
Notifications
You must be signed in to change notification settings - Fork 26
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
Evaluate (Seemingly Outdated) DocLang Constructors. #1602
Comments
A summary of observations:
|
Also, it was mentioned previously that we were moving away from labels. What should be done with the |
The observations listed above will be helpful in planning modifications to Drasil. I'm sure @JacquesCarette will have some advice based on this. Hopefully there will be some code cleanup that this facilitates. One thing that I don't think we should change is your observation 4, where you observe that we always sort the table alphabetically. Although that is true for the current set of examples, we want our documentation "recipes" to allow for a family of documents that may be quite different from our current examples. In the future, someone may have a recipe where the table of symbols is presented in order of appearance. It is also conceivable to have different versions of what it means to sort alphabetically. We had to make decisions on how to handle Greek characters, subscripts and supercripts. Someone else might want to make different choices. If it doesn't cause us any problems, we should keep our interface as general as we can. |
I need to dig deeper into this. Most likely I agree with all of the above, but without looking at the code itself, I might forget something important. |
I searched through Drasil example for all the constructors mentioned in I found no instances of the following constructors in any of the drasil examples:
|
Excellent. I would say that the task on this issue is almost done. What you should do next is to create one issue each for all 9 (10?) of the above constructors, to investigate removing them. The first step, for each, would be an investigation of
For some of them, perhaps 1 will reveal that we really do want to do that, it's just not plugged in yet. So the 'solution' will be to plug it in, not to delete it! |
I started the investigation and just put 5 tickets up assigned to myself, but i was wondering if maybe they might be too vague? i thought it wouldn't matter because it's assigned to myself, but maybe for future purposes and clarity should i add some more detail? @JacquesCarette |
They are indeed too succinct. At the very least, they should all refer to this issue, which does have more context. In the future, we might indeed need to look at them again, and then they wouldn't make any sense "on their own", even if they were all fixed. |
DocLang
is (moreso in the past) a living structure that has evolved over the course of its life. As such, likely some of the constructors are outdated and unused, but have been forgotten about.For example:
GSDProg
, no examples use this constructor, and it's types look like it was an older version from when Drasil was much more layout oriented. Further evidence of this is the next constructor forGSDSec
:GSDProg2
.I'm sure there are others in
DocLang
which have become forgotten about and superseded.If you're looking for something to do, can you catalogue the unused
DocLang
constructors? I don't want to remove them just yet as @JacquesCarette might have some insight on why some haven't been removed, but I definitely think some could be.The text was updated successfully, but these errors were encountered: