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
HTML errors in FundamentalWave #1107
Comments
Comment by christiankral on 18 May 2013 19:45 UTC
Personally, I cannot access Modelica.Magnetic.FundamentalWave.UsersGuide.MultiPhase.html (where is it located on the OpenModelica SVN repository or similar?). So I assume that line 26 of such HTML file means the following: If I store the HTML documentation of the affected Modelica class in a separate text file, then line 1 starts with
How shall I interpret this message?
What is the rule on line 44 that we are not following?
However, the recommended formatting of enumerated figures -- see Modelica.UsersGuide.Conventions.Documentation.Format.Figures -- has been incorporated in Modelica.Magnetic.FundamentalWave.UsersGuide.MultiPhase |
Comment by christiankral on 18 May 2013 19:53 UTC |
Comment by dietmarw on 18 May 2013 21:49 UTC
The reported line numbers refer to the HTML that is extracted by OpenModelica's HTML generator. Basically this is just an indicator for what you need to look out. You can simply access the generated HTML documentation by browsing along starting from https://build.openmodelica.org/Documentation/. However you need to be aware that those HTML files will have been fixed by Tidy already but at least you can see what the HTML code was changed into. You can and should not use the exported HTML of Dymola as reference since that one adds loads of HTML errors in addition unfortunately. What I normally do is simply counting the lines with the modelica info field of the respective class. This normally is almost in the right region. Then do a simple search for what ever was the offending tag. This normally works out quite nicely. To check if you found all errors you will either have to wait until next OpenModelica has rebuild the documentation (I think about once a day) or you can run my modified version locally on a Linux machine https://svn.modelica.org/projects/Modelica/branches/tools/MSLrelease/
All errors reported are real HTML issues and have nothing to do with any rule or guideline that we have defined in the User's Guide. So the errors reported are simply errors in the HTML syntax that need fixing. I just ran the check locally on my machine and it seems you managed to fix it anyway :-) |
Comment by dietmarw on 18 May 2013 22:59 UTC
This wasn't entirely true. There was one tiny bit left that needed fixing. |
Reported by dietmarw on 16 May 2013 08:15 UTC
The current version of HTML documentation in FundamentalWave contains the following errors (taken from tidy.filtered file that is generated by OpenModelica on a daily basis)
Migrated-From: https://trac.modelica.org/Modelica/ticket/1107
The text was updated successfully, but these errors were encountered: