module Drasil.Website.GettingStarted where
import Language.Drasil
gettingStartedSec :: Reference -> Reference -> Reference -> Reference -> Reference -> Reference -> Section
gettingStartedSec :: Reference
-> Reference
-> Reference
-> Reference
-> Reference
-> Reference
-> Section
gettingStartedSec Reference
quickstartWiki Reference
newWorkspaceSetupWiki Reference
contribGuideWiki Reference
workflowWiki Reference
createProjWiki Reference
debuggingWiki =
Sentence -> [Contents] -> [Section] -> Reference -> Section
section Sentence
gettingStartedTitle
[Sentence -> Contents
mkParagraph Sentence
gettingStartedIntro]
[Reference -> Section
quickStartSec Reference
quickstartWiki, Reference -> Section
newWorkspaceSec Reference
newWorkspaceSetupWiki, Reference -> Reference -> Section
contribGuideWorkflowSec Reference
contribGuideWiki
Reference
workflowWiki, Reference -> Section
createOwnProjectSec Reference
createProjWiki, Reference -> Section
debuggingDrasilSec Reference
debuggingWiki]
(Reference -> Section) -> Reference -> Section
forall a b. (a -> b) -> a -> b
$ String -> Sentence -> Reference
makeSecRef String
"GettingStarted" (Sentence -> Reference) -> Sentence -> Reference
forall a b. (a -> b) -> a -> b
$ String -> Sentence
S String
"GettingStarted"
gettingStartedTitle :: Sentence
gettingStartedTitle :: Sentence
gettingStartedTitle = String -> Sentence
S String
"Getting Started"
gettingStartedIntro :: Sentence
gettingStartedIntro :: Sentence
gettingStartedIntro = String -> Sentence
S String
""
quickStartSec :: Reference -> Section
quickStartSec :: Reference -> Section
quickStartSec Reference
quickstartWiki =
Sentence -> [Contents] -> [Section] -> Reference -> Section
section Sentence
quickStartTitle
[Sentence -> Contents
mkParagraph (Sentence -> Contents) -> Sentence -> Contents
forall a b. (a -> b) -> a -> b
$ Reference -> Sentence
quickStartDesc Reference
quickstartWiki]
[] (Reference -> Section) -> Reference -> Section
forall a b. (a -> b) -> a -> b
$ String -> Sentence -> Reference
makeSecRef String
"QuickStart" (Sentence -> Reference) -> Sentence -> Reference
forall a b. (a -> b) -> a -> b
$ String -> Sentence
S String
"QuickStart"
quickStartTitle :: Sentence
quickStartTitle :: Sentence
quickStartTitle = String -> Sentence
S String
"Quick Start"
quickStartDesc :: Reference -> Sentence
quickStartDesc :: Reference -> Sentence
quickStartDesc Reference
quickstartWiki = String -> Sentence
S String
"Navigate to the" Sentence -> Sentence -> Sentence
+:+ Reference -> Sentence -> Sentence
forall r.
(HasUID r, HasRefAddress r, HasShortName r) =>
r -> Sentence -> Sentence
namedRef Reference
quickstartWiki (String -> Sentence
S String
"Quick Start Guide")
Sentence -> Sentence -> Sentence
+:+ String -> Sentence
S String
"to see what Drasil can do."
newWorkspaceSec :: Reference -> Section
newWorkspaceSec :: Reference -> Section
newWorkspaceSec Reference
newWorkspaceSetupWiki =
Sentence -> [Contents] -> [Section] -> Reference -> Section
section Sentence
newWorkspaceTitle
[Sentence -> Contents
mkParagraph (Sentence -> Contents) -> Sentence -> Contents
forall a b. (a -> b) -> a -> b
$ Reference -> Sentence
newWorkspaceDesc Reference
newWorkspaceSetupWiki]
[] (Reference -> Section) -> Reference -> Section
forall a b. (a -> b) -> a -> b
$ String -> Sentence -> Reference
makeSecRef String
"NewWorkspace" (Sentence -> Reference) -> Sentence -> Reference
forall a b. (a -> b) -> a -> b
$ String -> Sentence
S String
"NewWorkspace"
newWorkspaceTitle :: Sentence
newWorkspaceTitle :: Sentence
newWorkspaceTitle = String -> Sentence
S String
"New Workspace Setup"
newWorkspaceDesc :: Reference -> Sentence
newWorkspaceDesc :: Reference -> Sentence
newWorkspaceDesc Reference
newWorkspaceSetupWiki = String -> Sentence
S String
"Workspace recommendations are available on the" Sentence -> Sentence -> Sentence
+:+ Reference -> Sentence -> Sentence
forall r.
(HasUID r, HasRefAddress r, HasShortName r) =>
r -> Sentence -> Sentence
namedRef
Reference
newWorkspaceSetupWiki (String -> Sentence
S String
"New Workspace Setup") Sentence -> Sentence -> Sentence
+:+ String -> Sentence
S String
"page."
contribGuideWorkflowSec :: Reference -> Reference -> Section
contribGuideWorkflowSec :: Reference -> Reference -> Section
contribGuideWorkflowSec Reference
contribGuideWiki Reference
workflowWiki =
Sentence -> [Contents] -> [Section] -> Reference -> Section
section Sentence
contribGuideWorkflowTitle
[Sentence -> Contents
mkParagraph (Sentence -> Contents) -> Sentence -> Contents
forall a b. (a -> b) -> a -> b
$ Reference -> Reference -> Sentence
contribGuideWorkflowDesc Reference
contribGuideWiki Reference
workflowWiki]
[] (Reference -> Section) -> Reference -> Section
forall a b. (a -> b) -> a -> b
$ String -> Sentence -> Reference
makeSecRef String
"ContribGuideWorkflow" (Sentence -> Reference) -> Sentence -> Reference
forall a b. (a -> b) -> a -> b
$ String -> Sentence
S String
"ContribGuideWorkflow"
contribGuideWorkflowTitle :: Sentence
contribGuideWorkflowTitle :: Sentence
contribGuideWorkflowTitle = String -> Sentence
S String
"Contributor's Guide and Workflow"
contribGuideWorkflowDesc :: Reference -> Reference -> Sentence
contribGuideWorkflowDesc :: Reference -> Reference -> Sentence
contribGuideWorkflowDesc Reference
contribGuideWiki Reference
workflowWiki = String -> Sentence
S String
"If you are interested in contributing to the \
\project, please look at the" Sentence -> Sentence -> Sentence
+:+ Reference -> Sentence -> Sentence
forall r.
(HasUID r, HasRefAddress r, HasShortName r) =>
r -> Sentence -> Sentence
namedRef Reference
contribGuideWiki (String -> Sentence
S String
"Contributor's Guide") Sentence -> Sentence -> Sentence
+:+ String -> Sentence
SString
" as well as the"
Sentence -> Sentence -> Sentence
+:+ Reference -> Sentence -> Sentence
forall r.
(HasUID r, HasRefAddress r, HasShortName r) =>
r -> Sentence -> Sentence
namedRef Reference
workflowWiki (String -> Sentence
S String
"Workflow") Sentence -> Sentence -> Sentence
+:+ String -> Sentence
S String
"page."
createOwnProjectSec :: Reference -> Section
createOwnProjectSec :: Reference -> Section
createOwnProjectSec Reference
createProjWiki =
Sentence -> [Contents] -> [Section] -> Reference -> Section
section Sentence
createOwnProjectTitle
[Sentence -> Contents
mkParagraph (Sentence -> Contents) -> Sentence -> Contents
forall a b. (a -> b) -> a -> b
$ Reference -> Sentence
createOwnProjectDesc Reference
createProjWiki]
[] (Reference -> Section) -> Reference -> Section
forall a b. (a -> b) -> a -> b
$ String -> Sentence -> Reference
makeSecRef String
"OwnProject" (Sentence -> Reference) -> Sentence -> Reference
forall a b. (a -> b) -> a -> b
$ String -> Sentence
S String
"OwnProject"
createOwnProjectTitle :: Sentence
createOwnProjectTitle :: Sentence
createOwnProjectTitle = String -> Sentence
S String
"Creating Your Own Project"
createOwnProjectDesc :: Reference -> Sentence
createOwnProjectDesc :: Reference -> Sentence
createOwnProjectDesc Reference
createProjWiki = String -> Sentence
S String
"If you are interested in creating your own project in Drasil, \
\please look at the" Sentence -> Sentence -> Sentence
+:+ Reference -> Sentence -> Sentence
forall r.
(HasUID r, HasRefAddress r, HasShortName r) =>
r -> Sentence -> Sentence
namedRef Reference
createProjWiki (String -> Sentence
S String
"Creating Your Project in Drasil") Sentence -> Sentence -> Sentence
+:+ String -> Sentence
S String
"page."
debuggingDrasilSec :: Reference -> Section
debuggingDrasilSec :: Reference -> Section
debuggingDrasilSec Reference
debuggingWiki =
Sentence -> [Contents] -> [Section] -> Reference -> Section
section Sentence
debuggingDrasilTitle
[Sentence -> Contents
mkParagraph (Sentence -> Contents) -> Sentence -> Contents
forall a b. (a -> b) -> a -> b
$ Reference -> Sentence
debuggingDrasilDesc Reference
debuggingWiki]
[] (Reference -> Section) -> Reference -> Section
forall a b. (a -> b) -> a -> b
$ String -> Sentence -> Reference
makeSecRef String
"DebuggingDrasil" (Sentence -> Reference) -> Sentence -> Reference
forall a b. (a -> b) -> a -> b
$ String -> Sentence
S String
"DebuggingDrasil"
debuggingDrasilTitle :: Sentence
debuggingDrasilTitle :: Sentence
debuggingDrasilTitle = String -> Sentence
S String
"Debugging Drasil"
debuggingDrasilDesc :: Reference -> Sentence
debuggingDrasilDesc :: Reference -> Sentence
debuggingDrasilDesc Reference
debuggingWiki = String -> Sentence
S String
"Debugging information can be found on the" Sentence -> Sentence -> Sentence
+:+ Reference -> Sentence -> Sentence
forall r.
(HasUID r, HasRefAddress r, HasShortName r) =>
r -> Sentence -> Sentence
namedRef
Reference
debuggingWiki (String -> Sentence
S String
"Debugging in Drasil") Sentence -> Sentence -> Sentence
+:+ String -> Sentence
S String
"page."