Commit 3bab1816 by Rune Madsen

Merge pull request #52 from Shopify/chore/runmad.update-documentation

Fix paths so local documentation now links correctly
parents dae19c4c 1c0abcb5
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<title>{{page.title}}</title> <title>{{page.title}}</title>
<link rel="stylesheet" href="{{page.cssPath}}"> <link rel="stylesheet" href="{{page.cssPath}}">
<link rel="stylesheet" href="/api/mobile-buy-sdk/ios/api/css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4"> <meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
{{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}} {{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}}
</head> </head>
...@@ -58,7 +57,6 @@ ...@@ -58,7 +57,6 @@
</div> </div>
</article> </article>
<script src="/api/mobile-buy-sdk/ios/api/script.js"></script>
<script src="{{page.jsPath}}"></script> <script src="{{page.jsPath}}"></script>
</body> </body>
</html> </html>
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<title>{{page.title}}</title> <title>{{page.title}}</title>
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="/api/mobile-buy-sdk/ios/api/css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4"> <meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
{{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}} {{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}}
</head> </head>
...@@ -92,7 +91,6 @@ ...@@ -92,7 +91,6 @@
</div> </div>
</article> </article>
<script src="/api/mobile-buy-sdk/ios/api/script.js"></script>
<script src="js/script.js"></script> <script src="js/script.js"></script>
</body> </body>
</html> </html>
...@@ -108,5 +106,5 @@ Section Classes ...@@ -108,5 +106,5 @@ Section Classes
EndSection EndSection
Section Navigation Section Navigation
<li><a href="/api/mobile-buy-sdk/ios/api/index.html">Home</a></li> <li><a href="index.html">Home</a></li>
EndSection EndSection
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<title>{{page.title}}</title> <title>{{page.title}}</title>
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="/api/mobile-buy-sdk/ios/api/css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4"> <meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
{{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}} {{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}}
</head> </head>
...@@ -57,7 +56,7 @@ ...@@ -57,7 +56,7 @@
<h2 class="index-title">{{page.docsTitle}}</h2> <h2 class="index-title">{{page.docsTitle}}</h2>
<ul> <ul>
{{#docs}} {{#docs}}
<li><a href="/api/mobile-buy-sdk/ios/api/{{href}}">{{title}}</a></li> <li><a href="{{href}}">{{title}}</a></li>
{{/docs}} {{/docs}}
</ul> </ul>
</div> </div>
...@@ -68,7 +67,7 @@ ...@@ -68,7 +67,7 @@
<h2 class="index-title">{{strings.indexPage.classesTitle}}</h2> <h2 class="index-title">{{strings.indexPage.classesTitle}}</h2>
<ul> <ul>
{{#classes}} {{#classes}}
<li><a href="/api/mobile-buy-sdk/ios/api/{{href}}">{{title}}</a></li> <li><a href="{{href}}">{{title}}</a></li>
{{/classes}} {{/classes}}
</ul> </ul>
</div> </div>
...@@ -80,7 +79,7 @@ ...@@ -80,7 +79,7 @@
<h2 class="index-title">{{strings.indexPage.protocolsTitle}}</h2> <h2 class="index-title">{{strings.indexPage.protocolsTitle}}</h2>
<ul> <ul>
{{#protocols}} {{#protocols}}
<li><a href="/api/mobile-buy-sdk/ios/api/{{href}}">{{title}}</a></li> <li><a href="{{href}}">{{title}}</a></li>
{{/protocols}} {{/protocols}}
</ul> </ul>
{{/hasProtocols}} {{/hasProtocols}}
...@@ -89,7 +88,7 @@ ...@@ -89,7 +88,7 @@
<h2 class="index-title">{{strings.indexPage.constantsTitle}}</h2> <h2 class="index-title">{{strings.indexPage.constantsTitle}}</h2>
<ul> <ul>
{{#constants}} {{#constants}}
<li><a href="/api/mobile-buy-sdk/ios/api/{{href}}">{{title}}</a></li> <li><a href="{{href}}">{{title}}</a></li>
{{/constants}} {{/constants}}
</ul> </ul>
{{/hasConstants}} {{/hasConstants}}
...@@ -98,7 +97,7 @@ ...@@ -98,7 +97,7 @@
<h2 class="index-title">{{strings.indexPage.categoriesTitle}}</h2> <h2 class="index-title">{{strings.indexPage.categoriesTitle}}</h2>
<ul> <ul>
{{#categories}} {{#categories}}
<li><a href="/api/mobile-buy-sdk/ios/api/{{href}}">{{title}}</a></li> <li><a href="{{href}}">{{title}}</a></li>
{{/categories}} {{/categories}}
</ul> </ul>
{{/hasCategories}} {{/hasCategories}}
...@@ -121,11 +120,10 @@ ...@@ -121,11 +120,10 @@
</div> </div>
</article> </article>
<script src="/api/mobile-buy-sdk/ios/api/script.js"></script>
<script src="js/script.js"></script> <script src="js/script.js"></script>
</body> </body>
</html> </html>
Section Navigation Section Navigation
<li><a href="/api/mobile-buy-sdk/ios/api/hierarchy.html">Hierarchy</a></li> <li><a href="hierarchy.html">Hierarchy</a></li>
EndSection EndSection
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<title>{{page.title}}</title> <title>{{page.title}}</title>
<link rel="stylesheet" href="../css/style.css"> <link rel="stylesheet" href="../css/style.css">
<link rel="stylesheet" href="/api/mobile-buy-sdk/ios/api/css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4"> <meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
{{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}} {{#strings.appledocData}}<meta name="generator" content="{{tool}} {{version}} (build {{build}})">{{/strings.appledocData}}
</head> </head>
...@@ -370,8 +369,8 @@ EndSection ...@@ -370,8 +369,8 @@ EndSection
Section Navigation Section Navigation
<li><a href="/api/mobile-buy-sdk/ios/api/index.html">Index</a></li> <li><a href="../index.html">Index</a></li>
<li><a href="/api/mobile-buy-sdk/ios/api/hierarchy.html">Hierarchy</a></li> <li><a href="../hierarchy.html">Hierarchy</a></li>
EndSection EndSection
Section JumpTo Section JumpTo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment