-
Notifications
You must be signed in to change notification settings - Fork 168
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
Add SystemModeler generated pages to doc.modelica.org #3245
Conversation
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.
Looks good to me.
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.
The Resources (e.g., \Modelica 3.2.3\Resources\Documentation\ and \Modelica 3.2.3\Resources\Images) are shared between Dymola, OM and Maplesim. With WSM these resources ared added again.
@dietmar I suppose you did some manual editing to have a single directory for the resources.
I'm not sure I did or if it is simply the way Dymola and OM are using the standard location. @maltelenz would that be an option for WSW aswell? |
To point to the existing images, we would have to write a special generator just for doc.modelica.org. We would prefer not doing that, since it would be a one-off project with all that means in terms of invested time, testing and potential for bugs in code that will very rarely be used. |
I understand. Would be fine by me. OK for you too, @beutlich ? |
For Dymola the default is that we don't copy images and resources when generating the html in the normal way, but instead reference the exisitng files. However, we have been forced to change Dymola for doc.modelica.org to allow that special folder (Resources/helpDymola). |
I checked again taking the resource
I'd prefer if resources (especially binary files like PDFs) are shared across tools (or even versions), but I see that it might be an ambitious goal. If we do not want to force tools to do so, we simply can move on and accept this and any later pull requests. The only down-side is that it bloats the git repository. |
Actually although not optimal the bloat would only happen in the checked out working copy since the git repo will not contain duplicates (even if renamed):
So I would not worry too much about bloat. |
The size of the git repo has just changed by 3 MB by adding the WSM documentation:
|
It seems like an old issue that has been resolved in Dymola 2020x related to using relative links for such cases. I can regenerate the help-files later. |
In that case I see no reason to require tool vendors to point to a centralized location of the resources. |
This only applies to the .git folder, right? Otherwise, helpWSM is 106 MB on disk. |
@HansOlsson Make sure to also use MSL v3.2.3+build.3. Simply open a new PR for the gh-pages branch of this repo. (It is recommend to have a separate clone of that gh-pages branch). |
Who is supposed to push the merge button on this, now that all reviewers approved? Should I? |
Alright, alright .... |
I didn't mean to push, I genuinely wanted to know if it was my responsibility if I opened the pull request ;-) |
@beutlich Can you provide a link for that just that procedure without anything special? |
Confirmed that #3277 resolves it. |
This pull request is to add MSL library documentation generated by Wolfram SystemModeler to https://doc.modelica.org/
The structure of the generated files follows a similar pattern as the ones for OpenModelica, but has a subdirectory structure for each top level library.