Skip to content

Trying to fix publishing #910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion FromYmlToTOC-INDEX.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ 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_path = [System.IO.Path]::GetFullPath((Join-Path $docfx_dir 'index.html.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 @@ -434,10 +435,15 @@ 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"
}
2 changes: 1 addition & 1 deletion advocates/index.html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ profiles:
twitter: "Bob1German"
- uid: advocates.brian-benz
name: Brian Benz
tagline: Java AND AI
tagline: Java / AI / DevOps / Cloud
image:
src: media/profiles/brian-benz.png
alt: "Brian Benz Principal Cloud Developer Advocate"
Expand Down
Loading
Loading