Skip to content

Commit e7c2357

Browse files
committed
Removing the index.html.yml as we shouldn't use that unless we want SEO problems
1 parent eabcdd7 commit e7c2357

File tree

4 files changed

+4
-1010
lines changed

4 files changed

+4
-1010
lines changed

FromYmlToTOC-INDEX.ps1

-6
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ foreach ($source_folder in $source_folders) {
386386
$docfx_dir = [System.IO.Path]::GetFullPath((Join-Path $directory $source_folder))
387387
$docfx_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'docfx.json'))
388388
$toc_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'toc.yml'))
389-
$index_html_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'index.html.yml'))
390389
$index_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'index.yml'))
391390

392391
Write-Verbose "Found docfx json: $docfx_path"
@@ -438,15 +437,10 @@ profiles:
438437
ForEach-Object -Begin { return $content } -Process { Format-Yaml -object $objects }
439438
| Out-File -filepath $toc_path -encoding utf8
440439

441-
# writing to Index file
442-
ForEach-Object -Begin { return $IndexFilecontent } -Process { Format-Index-Yaml -object $objects }
443-
| Out-File -filepath $index_html_path -encoding utf8
444-
445440
# writing to Index file
446441
ForEach-Object -Begin { return $IndexFilecontent } -Process { Format-Index-Yaml -object $objects }
447442
| Out-File -filepath $index_path -encoding utf8
448443

449444
Write-Verbose "Generated table of contents at $toc_path"
450-
Write-Verbose "Generated Index file at $index_html_path"
451445
Write-Verbose "Generated Index file at $index_path"
452446
}

0 commit comments

Comments
 (0)