Skip to content

Commit e49a8f4

Browse files
committed
Fix broken docs home page
The new docfx template no longer produces a /styles directory, therefore it needs to be created first for the PowerShell homepage copy to succeed. https://stackoverflow.com/questions/2695504/powershell-2-copy-item-which-creates-a-folder-if-doesnt-exist Also, the allyoucan.cloud link is unreachable, which blocks loading the home page for 20 seconds. Removed the reference, not sure if it was needed.
1 parent 4bfe4da commit e49a8f4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ for:
6666
Copy-Item CNAME _site/CNAME
6767
Copy-Item home/*.html _site/
6868
Copy-Item home/*.ico _site/
69+
New-Item -Force _site/styles -ItemType Directory | Out-Null
6970
Copy-Item -Recurse home/assets/* _site/styles/
7071
CD _site
7172
git add -A 2>&1

docs/build-dev.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ VerifySuccessExitCode
4545

4646
Copy-Item -Force home/*.html _site/
4747
Copy-Item -Force home/*.ico _site/
48+
New-Item -Force _site/styles -ItemType Directory | Out-Null
4849
Copy-Item -Force -Recurse home/assets/* _site/styles/
4950

5051
cd _site

docs/home/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<link href="favicon.ico" rel="apple-touch-icon">
1111
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,600,600i,700,700i" rel="stylesheet">
1212
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.css" rel="stylesheet">
13-
<link href="https://allyoucan.cloud/cdn/icofont/1.0.1/icofont.css" rel="stylesheet">
1413
<link href="https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css" rel="stylesheet">
1514
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/styles/default.min.css" rel="stylesheet">
1615
<link href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" rel="stylesheet">
@@ -127,7 +126,7 @@ <h4 class="title">Customizable</h4>
127126
<p class="description">Use various extensibility points to intercept and run custom code, besides just model annotations</p>
128127
</div>
129128
</div>
130-
</div>
129+
</div>
131130
</div>
132131
</section>
133132
<section id="code-example" class="services">
@@ -279,4 +278,4 @@ <h4>Contact us</h4>
279278
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
280279
<script src="styles/home.js"></script>
281280
</body>
282-
</html>
281+
</html>

0 commit comments

Comments
 (0)