JMRI / website

The JMRI.org website
https://www.jmri.org
Other
8 stars 41 forks source link

Add instructions for local JRE #471

Closed bobjacobsen closed 2 years ago

bobjacobsen commented 2 years ago

The corresponding code is in JMRI/JMRI#10999

bobjacobsen commented 2 years ago

Thanks. Got it down to

line 50 column 69 - Warning: unescaped & or unknown entity "&package"
line 75 column 101 - Warning: unescaped & or unknown entity "&field_operating_system_target_id"
line 75 column 138 - Warning: unescaped & or unknown entity "&field_architecture_target_id"
line 75 column 171 - Warning: unescaped & or unknown entity "&field_java_package_target_id"
line 127 column 79 - Warning: unescaped & or unknown entity "&package"

But these are required ampersands in quoted URLs. Is it correct to change them to &?

dsand47 commented 2 years ago

Thanks. Got it down to

line 50 column 69 - Warning: unescaped & or unknown entity "&package"
line 75 column 101 - Warning: unescaped & or unknown entity "&field_operating_system_target_id"
line 75 column 138 - Warning: unescaped & or unknown entity "&field_architecture_target_id"
line 75 column 171 - Warning: unescaped & or unknown entity "&field_java_package_target_id"
line 127 column 79 - Warning: unescaped & or unknown entity "&package"

But these are required ampersands in quoted URLs. Is it correct to change them to &?

At least in Safari, changing them to & works.

bobjacobsen commented 2 years ago

Found a standard reference that talks about using &: https://www.w3.org/TR/html401/appendix/notes.html#non-ascii-chars

dsand47 commented 2 years ago

The since span does not work with the embedded anchor. It also probably should by 4.99.9. I tend to put since tags within a h? tag.

Screen Shot 2022-05-17 at 1 29 49 PM

The link itself is not valid.

bobjacobsen commented 2 years ago

Sorry, don't understand. This is the format for all the @since links in the release notes:

<span class="since">Since <a href="jmri4.99.1.shtml">JMRI 4.99.1</a></span>

See for example https://www.jmri.org/releasenotes/jmri4.99.8.shtml

What would be different about this page doing that same thing, other than the URL needing fixing?

dsand47 commented 2 years ago

The since problem is caused by:

<a id="local"/>
<h2>Local install option:</h2>

The a tag apparently needs <a..></a>.

The easy fix: <h2 id="local">Local install option:</h2>