[
https://jira.jboss.org/jira/browse/JBRULES-1723?page=com.atlassian.jira.p...
]
Geoffrey De Smet commented on JBRULES-1723:
-------------------------------------------
Looks like even the png versions are f*ed up with the new template:
<img
src="/home/ge0ffrey/projects/jboss/drools/drools-docs/drools-docs-solver/en/Chapter-Solver/partiallySolvedNQueens04Explained.png"
So figure/mediaobject/imageobject/imagedata simply doesn't work...
SVG images break in the new docbook template, after publication
because they use hardcoded local file paths to the src directory
--------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-1723
URL:
https://jira.jboss.org/jira/browse/JBRULES-1723
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Documentation
Affects Versions: 5.0.0.M1
Reporter: Geoffrey De Smet
Assignee: Mark Proctor
Priority: Critical
Fix For: 5.0.0.M2
As you can see from the html which is generated, that html will only work on my pc:
<object
data="/home/ge0ffrey/projects/jboss/drools/drools-docs/drools-docs-solver/en/Chapter-Solver/unsolvedNQueens04.svg"
type="image/svg+xml"/>
Note that it's:
- an absolute file path (and I am pretty sure most users don't have a /home/ge0ffrey
directory)
- it's to the source directory, not the target directory
Instead it should be something like this:
<object data="Chapter-Solver/unsolvedNQueens04.svg"
type="image/svg+xml"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira