mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
Add Support menu.json for navigation Structure
Merge pull request #207 from metaworx/add-local-website
This commit is contained in:
9 files changed
+279
-108
No files matched your search
+216
-92
File diff suppressed because it is too large.
Load diff
+2
-1
@@ -83,7 +83,8 @@ http://ultidev.com/download/RegisterAndDownload.aspx?ProductID=3245eb7e-5b39-456
|
||||
http://download.ultidev.com/Products/Cassini/Pro/Build21/UltiDev%20Web%20Server%20Setup.exe
|
||||
|
||||
```cmd
|
||||
"%ProgramFiles%\UltiDev\Web Server\UWS.InteractiveServer.Clr4AnyCPU.exe" /port:80 /path:C:\Users\mdr\projects\nilesoft.shell\www\root /vdir: /defaultdoc:Default.aspx /dirbrowsing:no /bypass:no /browser:firefox.exe
|
||||
"%ProgramFiles%\UltiDev\Web Server\UWS.InteractiveServer.Clr4AnyCPU.exe" /port:80 /path:C:\Users\mdr\projects\nilesoft.shell\www /vdir: /defaultdoc:Default.aspx /dirbrowsing:no /bypass:no /browser:firefox.exe
|
||||
"%ProgramFiles%\UltiDev\Web Server\UWS.InteractiveServer.Clr4AnyCPU.exe" /port:8080 /path:C:\Users\mdr\projects\nilesoft.shell\www /vdir: /defaultdoc:Default.aspx /dirbrowsing:no /bypass:no /browser:firefox.exe
|
||||
```
|
||||
|
||||
-->
|
||||
+61
-10
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- @see https://weblogs.asp.net/scottgu/tip-trick-url-rewriting-with-asp-net -->
|
||||
|
||||
@@ -10,6 +10,38 @@
|
||||
type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
|
||||
</configSections>
|
||||
|
||||
<runtime>
|
||||
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
|
||||
<dependentAssembly>
|
||||
<!-- bin/System.Memory.dll has fileVersion="4.6.31308.1" but assemblyVersion="4.0.1.2" -->
|
||||
<assemblyIdentity name="System.Memory"
|
||||
publicKeyToken="cc7b13ffcd2ddd51"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2"/>
|
||||
</dependentAssembly>
|
||||
|
||||
<dependentAssembly>
|
||||
<!-- bin/System.Buffers.dll has fileVersion="4.6.28619.1" but assemblyVersion="4.0.3.0" -->
|
||||
<assemblyIdentity name="System.Buffers"
|
||||
publicKeyToken="cc7b13ffcd2ddd51"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
|
||||
</dependentAssembly>
|
||||
|
||||
<dependentAssembly>
|
||||
<!-- bin/System.Runtime.CompilerServices.Unsafe.dll has fileVersion="6.0.21.52210" but assemblyVersion="6.0.0.0" -->
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe"
|
||||
publicKeyToken="b03f5f7f11d50a3a"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
|
||||
</dependentAssembly>
|
||||
|
||||
</assemblyBinding>
|
||||
|
||||
</runtime>
|
||||
|
||||
<system.web>
|
||||
|
||||
<httpModules>
|
||||
@@ -41,27 +73,46 @@
|
||||
</if>
|
||||
|
||||
<!-- Remove trailing slash -->
|
||||
<redirect url="^(.*)/$" exists="$1" to="$1/" processing="stop"/>
|
||||
<redirect url="^(.*)/$" to="$1" processing="stop"/>
|
||||
<redirect url="^(.*)/$"
|
||||
exists="$1"
|
||||
to="$1/"
|
||||
processing="stop"/>
|
||||
<redirect url="^(.*)/$"
|
||||
to="$1"
|
||||
processing="stop"/>
|
||||
|
||||
<!-- Remove trailing .html -->
|
||||
<redirect url="^(.*)/index\.html$" to="$1" processing="stop"/>
|
||||
<redirect url="^(.*)\.html$" to="$1" processing="stop"/>
|
||||
<redirect url="^(.*)/index\.html$"
|
||||
to="$1"
|
||||
processing="stop"/>
|
||||
<redirect url="^(.*)\.html$"
|
||||
to="$1"
|
||||
processing="stop"/>
|
||||
|
||||
<!-- Use dynamic pass-through, since /images/docs/* are actually under the projects /docs/images folder -->
|
||||
<if url="^/images/docs(/.*)?$">
|
||||
<rewrite url="^/images/docs(/.*)?$" to="/Default.aspx?type=image&path=/docs/images$1" processing="stop"/>
|
||||
<rewrite url="^/images/docs(/.*)?$"
|
||||
to="/Default.aspx?type=image&path=/docs/images$1"
|
||||
processing="stop"/>
|
||||
</if>
|
||||
|
||||
<!-- Do NOT rewrite everything under /assets/ and /images/ -->
|
||||
<if url="^/(assets|images)($|/)">
|
||||
<rewrite url="^/(.*)" to="~/$1" processing="stop"/>
|
||||
<rewrite url="^/(.*)"
|
||||
to="~/$1"
|
||||
processing="stop"/>
|
||||
</if>
|
||||
|
||||
<rewrite url="^/Default.aspx$" to="/Default.aspx?path=/" processing="stop"/>
|
||||
<rewrite url="~/favicon.ico$" to="~/images/favicon.ico" processing="stop"/>
|
||||
<rewrite url="^/Default.aspx$"
|
||||
to="/Default.aspx?path=/"
|
||||
processing="stop"/>
|
||||
<rewrite url="~/favicon.ico$"
|
||||
to="~/images/favicon.ico"
|
||||
processing="stop"/>
|
||||
|
||||
<rewrite url="^(/.*)$" to="/Default.aspx?path=$1" processing="stop"/>
|
||||
<rewrite url="^(/.*)$"
|
||||
to="/Default.aspx?path=$1"
|
||||
processing="stop"/>
|
||||
|
||||
</rewriter>
|
||||
|
||||
|
||||
@@ -4,11 +4,6 @@
|
||||
<div class="menu">
|
||||
<div class="container">
|
||||
<ul class="menu-list">
|
||||
<li>
|
||||
<a href="/docs">
|
||||
<span class="ml-5">Introduction</span>
|
||||
</a>
|
||||
</li>
|
||||
<% Response.Write(PrintNav(docsRoot).toString()) %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user