Merge: nitdoc: introduces phases
authorJean Privat <jean@pryen.org>
Fri, 6 Feb 2015 01:14:13 +0000 (08:14 +0700)
committerJean Privat <jean@pryen.org>
Fri, 6 Feb 2015 01:14:13 +0000 (08:14 +0700)
commit0dc7c7d8127e4f889f98568323ef83d8ebf2b066
tree37695fdf527091c54ae3aa3a015cc7636519aace
parent372e462c95eaf4e8cba82e836837ba857d3cdceb
parent1eb7082684b53e945230054fb6dc0014ada801a3
Merge: nitdoc: introduces phases

This serie of commit introduces the concept of DocPhase.

The first commit introduces new concepts that are used by the other commits to move code.

For each phase, related code is extracted from `doc_pages` to the corresponding `doc_phases`.
No code is actually deleted from `doc_pages` between steps. The complete module is deleted at the end.

Refactoring is kept at a minimal level in this PR (just enough to get compatibility between old `doc_model` and new `doc_phases`).
Some hacks are used to preserve a minimum of differences in the generated HTML.

Further commits will continue the cleaning / refactoring but also change the outputed HTML, so I prefer wait for a new PR.
Demo (wait for Jenkins): http://gresil.org/jenkins/job/CI-nitdoc/

Pull-Request: #1135
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>