Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
imreddyTeja committed Oct 28, 2024
1 parent 7fd9676 commit 3ca2002
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/src/config_table.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,23 @@ function make_table_from_config_file(config_file, title)
title = title,
header = ["Argument", "Type", "Description"],
alignment = :l,
backend = Val(:markdown)
backend = Val(:markdown),
)
end
default_configs = joinpath(ca_dir, "config", "default_configs")
default_config_file = joinpath(default_configs, "default_config.yml")
open(output_file, "w") do config_md
open(input_file) do f
while ! eof(f)
while !eof(f)
s = readline(f)
write(config_md, s)
write(config_md, "\n")
end
end
table = make_table_from_config_file(default_config_file, "Default configuration")
table = make_table_from_config_file(
default_config_file,
"Default configuration",
)
write(config_md, table)
end

Expand Down

0 comments on commit 3ca2002

Please sign in to comment.