diff --git a/build/pdf/README.txt b/build/pdf/README.txt new file mode 100644 index 00000000000..2335ff4b7f7 --- /dev/null +++ b/build/pdf/README.txt @@ -0,0 +1,9 @@ +To make htmldoc working from wiki.dolibarr.org, them must be modified to have + +$_SERVER["HTTP_USER_AGENT"] is "HTMLDOC/x.y.z" +$_COOKIE["htmldoc"] may also be defined if set on command line. + +To disable part, add +class="htmldoc-ignore" with css +.htmldoc-ignore { display: none; } + diff --git a/build/pdf/htmldoc.book b/build/pdf/htmldoc.book deleted file mode 100644 index 5286c335b73..00000000000 --- a/build/pdf/htmldoc.book +++ /dev/null @@ -1,4 +0,0 @@ -#HTMLDOC 1.8.27 --t pdf14 -f "../../docs/dolibarr.pdf" --webpage --no-title --logoimage "../../docs/images/dolibarr_256x256.png" --linkcolor #2200c0 --linkstyle plain --size Universal --left 0.30in --right 0.30in --top 0.40in --bottom 0.30in --header ... --header1 ... --footer c/d --nup 1 --tocheader ... --tocfooter ... --portrait --color --no-pscommands --no-xrxcomments --compression=9 --jpeg=50 --fontsize 10.0 --fontspacing 1.0 --headingfont Helvetica --bodyfont Helvetica --headfootsize 9.0 --headfootfont Helvetica --charset iso-8859-1 --links --no-embedfonts --pagemode document --pagelayout single --firstpage p1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680 --no-strict --no-overflow -http://wiki.dolibarr.org/index.php/Main_Page -http://wiki.dolibarr.org/index.php/What_Dolibarr_Do \ No newline at end of file diff --git a/build/pdf/htmldoc_en.book b/build/pdf/htmldoc_en.book new file mode 100644 index 00000000000..f6c407f1bd2 --- /dev/null +++ b/build/pdf/htmldoc_en.book @@ -0,0 +1,4 @@ +#HTMLDOC 1.8.27 +-t pdf14 -f "../../doc/dolibarr_en.pdf" --webpage --no-title --logoimage "../../doc/images/dolibarr_256x256.png" --linkcolor #2200c0 --linkstyle plain --size Universal --left 0.30in --right 0.30in --top 0.40in --bottom 0.30in --header ... --header1 ... --footer c/d --nup 1 --tocheader ... --tocfooter ... --portrait --color --no-pscommands --no-xrxcomments --compression=9 --jpeg=50 --fontsize 10.0 --fontspacing 1.0 --headingfont Helvetica --bodyfont Helvetica --headfootsize 9.0 --headfootfont Helvetica --charset iso-8859-1 --links --no-embedfonts --pagemode document --pagelayout single --firstpage p1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680 --no-strict --no-overflow +http://wiki.dolibarr.org/index.php/Main_Page +http://wiki.dolibarr.org/index.php/What_Dolibarr_Do diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 00000000000..dccff0dd502 --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1 @@ +/dolibarr_*.pdf