Skip to main content

Documentation site

A complete guide composition using the shared shell, navigation, content, examples, and pager.

On this page

Guide with navigation

This preview executes the same complete documentation page definition shown under Code.

Guide with navigation
let documentationPage =
    docsArticle "guide" "Getting started" "Build your first integration." [
        docsSection "install" "Install" [ docsCode "shell" "dotnet add package Acme" ] ]
    |> docsWithPager (docsPager (Some(docsPageLink "Overview" "/")) None)

let documentationHtml =
    docsDocument exampleSite documentationPage
    |> Render.toHtmlDocString