Skip to content

Commit 8946c00

Browse files
committed
fantomas formatting + typo
1 parent 6db57d5 commit 8946c00

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

src/fsdocs-tool/BuildCommand.fs

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,12 @@ type internal DocContent
687687
| _ -> () |]
688688

689689
member _.GetNavigationEntries
690-
(input, docModels: (string * bool * LiterateDocModel) list, currentPagePath: string option, ignoreUncategorized: bool)
691-
=
690+
(
691+
input,
692+
docModels: (string * bool * LiterateDocModel) list,
693+
currentPagePath: string option,
694+
ignoreUncategorized: bool
695+
) =
692696
let modelsForList =
693697
[ for thing in docModels do
694698
match thing with
@@ -1303,7 +1307,10 @@ type CoreBuildOptions(watch) =
13031307
[<Option("noapidocs", Default = false, Required = false, HelpText = "Disable generation of API docs.")>]
13041308
member val noapidocs = false with get, set
13051309

1306-
[<Option("ignoreuncategorized", Default = false, Required = false, HelpText = "Disable generation of 'Other' category for uncategorised docs.")>]
1310+
[<Option("ignoreuncategorized",
1311+
Default = false,
1312+
Required = false,
1313+
HelpText = "Disable generation of 'Other' category for uncategorized docs.")>]
13071314
member val ignoreuncategorized = false with get, set
13081315

13091316
[<Option("ignoreprojects", Default = false, Required = false, HelpText = "Disable project cracking.")>]
@@ -1807,7 +1814,14 @@ type CoreBuildOptions(watch) =
18071814
let docModels = docContent.Convert(this.input, defaultTemplate, extraInputs)
18081815
let actualDocModels = docModels |> List.map fst |> List.choose id
18091816
let extrasForSearchIndex = docContent.GetSearchIndexEntries(actualDocModels)
1810-
let navEntriesWithoutActivePage = docContent.GetNavigationEntries(this.input, actualDocModels, None, ignoreUncategorized = this.ignoreuncategorized)
1817+
1818+
let navEntriesWithoutActivePage =
1819+
docContent.GetNavigationEntries(
1820+
this.input,
1821+
actualDocModels,
1822+
None,
1823+
ignoreUncategorized = this.ignoreuncategorized
1824+
)
18111825

18121826
let headTemplateContent =
18131827
let headTemplatePath = Path.Combine(this.input, "_head.html")

0 commit comments

Comments
 (0)