Skip to content

Commit

Permalink
Add % documented and bump to 0.8.0
Browse files Browse the repository at this point in the history
Also, clean up application resource file and update org/README.md
  • Loading branch information
yurrriq committed Jan 14, 2016
1 parent 68e9424 commit d216fb7
Show file tree
Hide file tree
Showing 8 changed files with 447 additions and 250 deletions.
2 changes: 1 addition & 1 deletion doc
19 changes: 12 additions & 7 deletions org/Lodox.org
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ branch = gh-pages
{application, 'lodox',
[{description, "The LFE rebar3 Lodox plugin"},
{vsn, "<<lodox-version()>>"},
{modules, ['lodox-html-writer','lodox-org-writer',
'lodox-p','lodox-parse','lodox-util',
lodox,
{modules, [lodox,
'lodox-html-writer', 'lodox-p', 'lodox-parse', 'lodox-util',
'unit-lodox-tests']},
{registered, []},
{applications, [kernel, stdlib]},
Expand Down Expand Up @@ -588,9 +587,15 @@ Use [pandoc] if available, otherwise [erlmarkdown].

(defun header* (project)
(div '(id "header")
`(,(h2 `("Generated by "
,(link-to "https://github.com/quasiquoting/lodox" "Lodox")))
,(h1 (link-to "index.html" (project-title project))))))
`[,(h2 `["Generated by "
,(link-to "https://github.com/quasiquoting/lodox" "Lodox")])
,(h1 (link-to "index.html"
`[,(project-title project) " "
,(span '(class "project-documented")
(io_lib:format "(~w% documented)"
`[,(-> (mref project 'documented)
(mref 'percentage)
(round))]))]))]))

;; TODO: package in lodox-parse
(defun package (project)
Expand Down Expand Up @@ -843,7 +848,7 @@ Use [pandoc] if available, otherwise [erlmarkdown].

```commonlisp
'#m(name #\"lodox\"
version \"0.7.0\"
version \"0.8.0\"
description \"The LFE rebar3 Lodox plugin\"
documents ()
modules {{list of maps of module metadata}}
Expand Down

0 comments on commit d216fb7

Please sign in to comment.