Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
curry
curry-tools
Commits
5b86d29b
Commit
5b86d29b
authored
Jan 21, 2014
by
Michael Hanus
Browse files
Titles to icons added
parent
732ac391
Changes
2
Hide whitespace changes
Inline
Side-by-side
currydoc/CurryDocConfig.curry
View file @
5b86d29b
...
...
@@ -11,7 +11,7 @@ module CurryDocConfig where
import Distribution(curryCompiler)
--- Version of currydoc
currydocVersion = "Version 0.7.2 of January 1
6
, 2014"
currydocVersion = "Version 0.7.2 of January
2
1, 2014"
--- The URL of the base directory containing the styles, images, etc.
baseURL = if curryCompiler=="pakcs"
...
...
currydoc/CurryDocHtml.curry
View file @
5b86d29b
...
...
@@ -23,6 +23,8 @@ import Distribution
import CategorizedHtmlList
import Markdown
infixl 0 `withTitle`
--------------------------------------------------------------------------
-- Generates the documentation of a module in HTML format where the comments
-- are already analyzed.
...
...
@@ -448,10 +450,17 @@ indexPage modnames =
]
detIcon = italic [] `addClass` "fa fa-long-arrow-down"
`withTitle` "This operation is deterministic"
nondetIcon = italic [] `addClass` "fa fa-arrows-alt"
`withTitle` "This operation might be non-deterministic"
rigidIcon = italic [] `addClass` "fa fa-cogs"
`withTitle` "This operation is rigid"
flexibleIcon = italic [] `addClass` "fa fa-pagelines"
`withTitle` "This operation is flexible"
flexrigidIcon = italic [] `addClass` "fa fa-exclamation-triangle"
`withTitle` "This operation is partially flexible and partially rigid"
withTitle he t = he `addAttr` ("title",t)
--------------------------------------------------------------------------
-- generate the function index page for the documentation directory:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment