Skip to content

Commit

Permalink
Add Title documentation page (#143)
Browse files Browse the repository at this point in the history
* chore: remove temporary file

* chore: update dotnet tools and Docs F# dependencies

* docs: add `Title` documentation page
  • Loading branch information
MangelMaxime authored Oct 29, 2024
1 parent 7f14cda commit 748ce14
Show file tree
Hide file tree
Showing 7 changed files with 210 additions and 81 deletions.
11 changes: 7 additions & 4 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,22 @@
"version": "7.2.1",
"commands": [
"paket"
]
],
"rollForward": false
},
"femto": {
"version": "0.19.0",
"commands": [
"femto"
]
],
"rollForward": false
},
"fable": {
"version": "4.1.4",
"version": "4.22.0",
"commands": [
"fable"
]
],
"rollForward": false
}
}
}
3 changes: 2 additions & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"sdk": {
"version": "7.0.100"
"version": "8.0.100",
"rollForward": "latestMinor"
}
}
42 changes: 21 additions & 21 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -252,33 +252,33 @@ GROUP Docs
STORAGE: NONE
NUGET
remote: https://api.nuget.org/v3/index.json
Fable.AST (4.2.1) - restriction: >= netstandard2.0
Fable.Browser.Blob (1.3) - restriction: >= netstandard2.0
Fable.Core (>= 3.0) - restriction: >= netstandard2.0
Fable.AST (4.5) - restriction: >= netstandard2.0
Fable.Browser.Blob (1.4) - restriction: >= netstandard2.0
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Fable.Browser.Dom (2.14) - restriction: >= netstandard2.0
Fable.Browser.Blob (>= 1.3) - restriction: >= netstandard2.0
Fable.Browser.Event (>= 1.5) - restriction: >= netstandard2.0
Fable.Browser.WebStorage (>= 1.2) - restriction: >= netstandard2.0
Fable.Browser.Dom (2.18) - restriction: >= netstandard2.0
Fable.Browser.Blob (>= 1.4) - restriction: >= netstandard2.0
Fable.Browser.Event (>= 1.7) - restriction: >= netstandard2.0
Fable.Browser.WebStorage (>= 1.3) - restriction: >= netstandard2.0
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Fable.Browser.Event (1.5) - restriction: >= netstandard2.0
Fable.Browser.Gamepad (>= 1.1) - restriction: >= netstandard2.0
Fable.Core (>= 3.0) - restriction: >= netstandard2.0
Fable.Browser.Event (1.7) - restriction: >= netstandard2.0
Fable.Browser.Gamepad (>= 1.3) - restriction: >= netstandard2.0
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Fable.Browser.Gamepad (1.2) - restriction: >= netstandard2.0
Fable.Core (>= 3.0) - restriction: >= netstandard2.0
Fable.Browser.Gamepad (1.3) - restriction: >= netstandard2.0
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Fable.Browser.WebStorage (1.2) - restriction: >= netstandard2.0
Fable.Browser.Event (>= 1.5) - restriction: >= netstandard2.0
Fable.Core (>= 3.0) - restriction: >= netstandard2.0
Fable.Browser.WebStorage (1.3) - restriction: >= netstandard2.0
Fable.Browser.Event (>= 1.6) - restriction: >= netstandard2.0
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Fable.Core (4.0)
Fable.Elmish (4.0.2) - restriction: >= netstandard2.0
Fable.Core (4.3)
Fable.Elmish (4.2) - restriction: >= netstandard2.0
Fable.Core (>= 3.7.1) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Fable.Elmish.Debugger (4.0)
Fable.Elmish (>= 4.0) - restriction: >= netstandard2.0
Fable.Elmish.Debugger (4.1)
Fable.Elmish (>= 4.2) - restriction: >= netstandard2.0
FSharp.Core (>= 6.0.7) - restriction: >= netstandard2.0
Thoth.Json (>= 6.0) - restriction: >= netstandard2.0
Fable.Elmish.HMR (7.0)
Expand All @@ -296,7 +296,7 @@ NUGET
Fable.ReactDom.Types (18.2) - restriction: >= netstandard2.0
Fable.React.Types (>= 18.3) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Feliz (2.6) - restriction: >= netstandard2.0
Feliz (2.8) - restriction: >= netstandard2.0
Fable.ReactDom.Types (>= 18.2) - restriction: >= netstandard2.0
Feliz.CompilerPlugins (>= 2.2) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
Expand All @@ -307,7 +307,7 @@ NUGET
Fable.Elmish (>= 4.0) - restriction: >= netstandard2.0
Feliz (>= 2.3) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
FSharp.Core (7.0.400)
FSharp.Core (8.0.401)
Thoth.Json (10.2) - restriction: >= netstandard2.0
Fable.Core (>= 3.6.2) - restriction: >= netstandard2.0
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
45 changes: 0 additions & 45 deletions src/Docs/Docs.csproj

This file was deleted.

3 changes: 3 additions & 0 deletions src/Docs/Router.fs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type Page =
| DocumentationPanel
| DocumentationProgressbar
| DocumentationTag
| DocumentationTitle
| DocumentationTabs
| DocumentationBreadcrumb
| DocumentationHelpersColor
Expand Down Expand Up @@ -48,6 +49,7 @@ let parseUrl = function
| [ "documentation"; "panel" ] -> DocumentationPanel
| [ "documentation"; "progressbar" ] -> DocumentationProgressbar
| [ "documentation"; "tag" ] -> DocumentationTag
| [ "documentation"; "title" ] -> DocumentationTitle
| [ "documentation"; "tabs" ] -> DocumentationTabs
| [ "documentation"; "breadcrumb" ] -> DocumentationBreadcrumb
| [ "documentation"; "helpers" ] -> DocumentationHelpersColor
Expand Down Expand Up @@ -79,6 +81,7 @@ let getHref = function
| DocumentationPanel -> Router.format ([ "documentation"; "panel" ])
| DocumentationProgressbar -> Router.format ([ "documentation"; "progressbar" ])
| DocumentationTag -> Router.format ([ "documentation"; "tag" ])
| DocumentationTitle -> Router.format ([ "documentation"; "title" ])
| DocumentationTabs -> Router.format ([ "documentation"; "tabs" ])
| DocumentationBreadcrumb -> Router.format ([ "documentation"; "breadcrumb" ])
| DocumentationHelpersColor -> Router.format ([ "documentation"; "helpers" ])
Expand Down
2 changes: 2 additions & 0 deletions src/Docs/View.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ let menuPart (model:Model) =
item "Panel" DocumentationPanel
item "ProgressBar" DocumentationProgressbar
item "Tag" DocumentationTag
item "Title" DocumentationTitle
item "Tabs" DocumentationTabs
item "Breadcrumb" DocumentationBreadcrumb
item "Helpers - Color" DocumentationHelpersColor
Expand Down Expand Up @@ -72,6 +73,7 @@ let contentPart model =
| DocumentationPanel -> Views.Documentation.panel
| DocumentationProgressbar -> Views.Documentation.progressbar
| DocumentationTag -> Views.Documentation.tag
| DocumentationTitle -> Views.Documentation.title
| DocumentationTabs -> Views.Documentation.tabs
| DocumentationBreadcrumb -> Views.Documentation.breadcrumb
| DocumentationHelpersColor -> Views.Documentation.helpersColor
Expand Down
Loading

0 comments on commit 748ce14

Please sign in to comment.