Skip to content

Commit

Permalink
Removing the index.html.yml as we shouldn't use that unless we want S…
Browse files Browse the repository at this point in the history
…EO problems
  • Loading branch information
aaronpowell committed Dec 12, 2024
1 parent eabcdd7 commit e7c2357
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1,010 deletions.
6 changes: 0 additions & 6 deletions FromYmlToTOC-INDEX.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ foreach ($source_folder in $source_folders) {
$docfx_dir = [System.IO.Path]::GetFullPath((Join-Path $directory $source_folder))
$docfx_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'docfx.json'))
$toc_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'toc.yml'))
$index_html_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'index.html.yml'))
$index_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'index.yml'))

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

# writing to Index file
ForEach-Object -Begin { return $IndexFilecontent } -Process { Format-Index-Yaml -object $objects }
| Out-File -filepath $index_html_path -encoding utf8

# writing to Index file
ForEach-Object -Begin { return $IndexFilecontent } -Process { Format-Index-Yaml -object $objects }
| Out-File -filepath $index_path -encoding utf8

Write-Verbose "Generated table of contents at $toc_path"
Write-Verbose "Generated Index file at $index_html_path"
Write-Verbose "Generated Index file at $index_path"
}
Loading

0 comments on commit e7c2357

Please sign in to comment.