Closed foxmask closed 12 years ago
Did you "initialize" the book as indicated into the documentation ? https://github.com/laurentj/gitiwiki/blob/master/docs/books.md#book-initialization
no i didnt
so I made this and now I have everything in var/books/jelix/pages/mise-en-route
but the page does not display the link which are in var/books/jelix/pages/mise-en-route/index/page.php
weird.
It works for me... In var/books/jelix/, What are the content of books/index.gtw/index.php, pages/mise-en-route/index/page.php and pages/mise-en-route/page.php ?
Have you got other navigation links "introduction", "fondamentaux", "guide du développeur" ? And the legal notice at the bottom ?
I will display the content later from home :)
and from this page I have nothing else that the content of the page it self ; no introduction/fondamentaux/guide/legal notice
here is the content of each file
https://gist.github.com/2473149 https://gist.github.com/2473158 https://gist.github.com/2473160
i Got it !
thanks to Debug bar :=)
the issue was in my config file where i set this :
[gitiwiki]
booksPath = "var/books"
instead of this
[gitiwiki]
; a full path or a jelix relative path
; booksPath = "/home/foxmask/Public/www_docs.jelix.org/gitiwiki/var/books"
booksPath = "app:var/books"
This little detail is not explain in the book.md file of Gitiwiki. Something like :
"once the book is generated ; set the var booksPath in the section [gitiwiki] in ddefaultconfig.ini.php as follow : ..."
doc fixed :-)
perfect and quick :)
In my defaultconfig.ini.php I've set up the following :
and when we compare this
http://docs.jelix.org/fr/manuel-1.3/mise-en-route
with this
http://docs-jelix-org.localhost/index.php/wiki/jelix/mise-en-route
I can see that the "children" are not displayed in my local app ...
in fact $hasChildren is empty...
and I can only read