diff --git a/www/Default.aspx.vb b/www/Default.aspx.vb index 01ef266..740e7d8 100644 --- a/www/Default.aspx.vb +++ b/www/Default.aspx.vb @@ -96,26 +96,24 @@ Protected function preparePage(pageFile As FileInfo, ByRef basename As String, B end if ''' If the url ends with ".html", we just go for it - if Not pageFile.Extension.ToLower() = "html" Then + if Not pageFile.Extension.ToLower() = ".html" Then ''' Otherwise try adding ".html" - This would be the case for a file in a directory ''' E.g. /docs/installation should really load /docs/installation.html suffix = ".html" + dirInfo = New DirectoryInfo(pageFile.FullName) pageFile = New FileInfo(pageFile.FullName & suffix) - ''' test, if exists + ''' test, if file exists if not pageFile.Exists Then ''' otherwise it could be a directory, and we look for the "index.html" - ''' So test for the directory - dirInfo = New DirectoryInfo(pageFile.FullName) - if dirInfo.Exists Then ''' If found, assume the default: index.html suffix = "index.html" - pageFile = New FileInfo(pageFile.FullName & "\" & suffix) + pageFile = New FileInfo(dirInfo.FullName & "\" & suffix) end if diff --git a/www/Web.config b/www/Web.config index 1db6ac4..41846bd 100644 --- a/www/Web.config +++ b/www/Web.config @@ -44,6 +44,10 @@ + + + + diff --git a/www/assets/font/shell.eot b/www/assets/font/shell.eot new file mode 100644 index 0000000..d153e9f Binary files /dev/null and b/www/assets/font/shell.eot differ diff --git a/www/assets/font/shell.svg b/www/assets/font/shell.svg new file mode 100644 index 0000000..b95e2d5 --- /dev/null +++ b/www/assets/font/shell.svg @@ -0,0 +1,2709 @@ + + + + +Created by FontForge 20201107 at Wed Jun 29 20:28:19 2022 + By Unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/www/bin/LICENCE.md b/www/bin/LICENCE.md new file mode 100644 index 0000000..92e5b3f --- /dev/null +++ b/www/bin/LICENCE.md @@ -0,0 +1,19 @@ +# License + +Copyright (c) 2005-2011 Seth Yates + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated +documentation files (the “Software”), to deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit +persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +(Retrieved on 2023-03-13 +from https://web.archive.org/web/20150928035850/http://urlrewriter.net/index.php/download/licence.) diff --git a/www/bin/README.md b/www/bin/README.md new file mode 100644 index 0000000..2560bbd --- /dev/null +++ b/www/bin/README.md @@ -0,0 +1,30 @@ +# In this folder + +This folder contains binaries to run the documentation in a local website. See README.md in the directory above for +further details. + +## `Intelligencia.UrlRewriter.dll` from UrlRewriter.NET + +This library is used by the ASP web server (see README.md in the directory above). + +- See: \ + https://web.archive.org/web/20151023031134/http://urlrewriter.net:80/ +- Source Code: \ + https://github.com/sethyates/urlrewriter/ +- License: \ + MIT-style + +The build in this repository was extracted from the zip file retrieved on 2023-02-07 from +http://www.scottgu.com/blogposts/urlrewrite/UrlRewrite_HttpModule1.zip and was mentioned in +Scott Guthrie's post "Tip/Trick: Url Rewriting with ASP.NET", published 2007-02-27, also retrieved on +2023-02-27 from https://weblogs.asp.net/scottgu/tip-trick-url-rewriting-with-asp-net + +## CassiniDev4 (Folder) + +This folder is not part of the repository. It is created if your run the scripts shown in the README.md in the directory +above. + +If the folder exists, it should have the following files in it: + +- `CassiniDev4.exe` +- `Common.Logging.dll` \ No newline at end of file