[
https://jira.jboss.org/jira/browse/JBRULES-1723?page=com.atlassian.jira.p...
]
Geoffrey De Smet updated JBRULES-1723:
--------------------------------------
Summary: Images break in the new docbook template, after publication because they use
hardcoded local file paths to the src directory (was: SVG images break in the new docbook
template, after publication because they use hardcoded local file paths to the src
directory)
it's not just the drools solver manual who has this problem, the drools-docs-expert
has the problem too for the section
"Rete algorithm", for the figure "Rete Nodes", under this paragraph:
... Dr. Forgy's 1982 paper, he described 4 basic nodes: root, 1-input, 2-input and
terminal.
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