Spyderisk / domain-csv2doc

Tool to convert from a domain model's CSV serialisation to a documentation website
Other
0 stars 0 forks source link

Backslashes in URLs #11

Open scp93ch opened 1 year ago

scp93ch commented 1 year ago

Some template files use backslashes in the link URLs. Perhaps it works somehow, but even if it does, it would be best to change them for forward slashes.

$ find . -name '*.html' -exec grep -Hni href= {} \; |grep '\\'
./templates/base.html:12:        <a class="navbar-brand" href="..\..\index.html">Ver {{model_version}}</a>
./templates/base.html:20:                    <a class="nav-link active" aria-current="page" href="..\..\index.html">Home</a>
./templates/base.html:23:                    <a class="nav-link" href="..\..\root\list\index.html">Root</a>
./templates/base.html:26:                    <a class="nav-link" href="..\..\matching\list\index.html">Matching</a>
./templates/base.html:29:                    <a class="nav-link dropdown-toggle" href="..\..\construction\list\index.html" id="navbarDropdown"
./templates/base.html:34:                        <li><a class="dropdown-item" href="..\..\construction\list\index.html">By Package</a></li>
./templates/base.html:35:                        <li><a class="dropdown-item" href="..\..\construction\priority\index.html">By Priority</a></li>
./templates/base.html:39:                    <a class="nav-link" href="..\..\threat\list\index.html">Threat</a>
./templates/base.html:42:                    <a class="nav-link" href="..\..\misbehaviour\list\index.html">Misbehaviour</a>
./templates/base.html:45:                    <a class="nav-link" href="..\..\csg\list\index.html">Control Strategy</a>
./templates/base.html:48:                    <a class="nav-link" href="..\..\control\list\index.html">Control</a>
./templates/base.html:51:                    <a class="nav-link" href="..\..\asset\list\index.html">Asset</a>
./templates/base.html:54:                    <a class="nav-link" href="..\..\package\list\index.html">Package</a>
./templates/home.html:13:        <a class="navbar-brand" href=".\index.html">Ver {{model_version}}</a>
./templates/home.html:21:                    <a class="nav-link active" aria-current="page" href=".\index.html">Home</a>
./templates/home.html:24:                    <a class="nav-link" href=".\root\list\index.html">Root</a>
./templates/home.html:27:                    <a class="nav-link" href=".\matching\list\index.html">Matching</a>
./templates/home.html:30:                    <a class="nav-link dropdown-toggle" href=".\construction\list\index.html" id="navbarDropdown"
./templates/home.html:35:                        <li><a class="dropdown-item" href=".\construction\list\index.html">By Package</a></li>
./templates/home.html:36:                        <li><a class="dropdown-item" href=".\construction\priority\index.html">By Priority</a></li>
./templates/home.html:40:                    <a class="nav-link" href=".\threat\list\index.html">Threat</a>
./templates/home.html:43:                    <a class="nav-link" href=".\misbehaviour\list\index.html">Misbehaviour</a>
./templates/home.html:46:                    <a class="nav-link" href=".\csg\list\index.html">Control Strategy</a>
./templates/home.html:49:                    <a class="nav-link" href=".\control\list\index.html">Control</a>
./templates/home.html:52:                    <a class="nav-link" href=".\asset\list\index.html">Asset</a>
./templates/home.html:55:                    <a class="nav-link" href=".\package\list\index.html">Package</a>