| - srcfile - this is the .xhtml file (the rende | | - srcfile - this is the .xhtml file (the rende |
| red body of the wiki snip) | | red body of the wiki snip) |
| - destfile - the expected output file which wi | | - destfile - the expected output file which wi |
| ll hold the .pdf file | | ll hold the .pdf file |
| | | |
| ## wiki_pdf_generation_cachedir | | ## wiki_pdf_generation_cachedir |
| | | |
t | This is the "cachedir" where generated PDF files ( | t | This is the "cachedir" where generated PDF files ( |
| and .xhtml files) will be stored. | | and .xhtml files) will be stored. (Default: /tmp/s |
| | | ct_pdf) |
| | |
|
| | | ## wiki_pdf_generation_static_filepath
|
| | |
|
| | | For smileys to work (if you are including a board |
| | | category in the wiki snip) you need to configure t |
| | | his setting. It should point to the static directo |
| | | ry - communitytools/static/sphene within the SCT r |
| | | elease / SCT repository.
|
| | | |
| # Methods | | # Methods |
| | | |
| The wiki snip contains a method 'pdf_enabled()' wh | | The wiki snip contains a method 'pdf_enabled()' wh |
| ich will return True or False depending if PDF gen | | ich will return True or False depending if PDF gen |
| eration is enabled (for the current user). | | eration is enabled (for the current user). |
| | | |