mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Fix path to images. CSS path doesn't work yet - I'll have a look at that tomorrow
(This used to be commit 0666499b1d
)
This commit is contained in:
parent
de523d7744
commit
74920cac5b
@ -104,10 +104,7 @@ txt: $(TXTDIR) $(TXTDIR)/Samba-HOWTO-Collection.txt $(TXTDIR)/Samba-Developers-G
|
||||
htmlman: $(HTMLDIR) $(MANPAGES_HTML) $(HTMLDIR)/CSS
|
||||
|
||||
html-single: $(HTMLDIR) $(HTMLDIR)/CSS $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html $(HTMLDIR)/Samba-Guide.html
|
||||
@if [ ! -d $(HTMLDIR)/images/ ]; then \
|
||||
mkdir $(HTMLDIR)/images/; \
|
||||
fi \
|
||||
&& cp -p $(IMAGEPROJDIR)/*png $(HTMLDIR)/images/
|
||||
cp -p $(GUIDEDOC_IMAGES_PNG) $(HOWTODIR_IMAGES_PNG) $(HTMLDIR)/images/
|
||||
|
||||
html: $(HTMLDIR)/howto $(HTMLDIR)/guide $(HTMLDIR)/devel
|
||||
|
||||
|
@ -270,13 +270,23 @@
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
<xsl:element name="imageobject">
|
||||
<xsl:attribute name="role"><xsl:text>html</xsl:text></xsl:attribute>
|
||||
<xsl:element name="imagedata">
|
||||
<xsl:attribute name="fileref">
|
||||
<xsl:text>howto/imagefiles/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute>
|
||||
<xsl:text>images/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute>
|
||||
<xsl:attribute name="scale"><xsl:text>50</xsl:text></xsl:attribute>
|
||||
<xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
<xsl:element name="imageobject">
|
||||
<xsl:element name="imagedata">
|
||||
<xsl:attribute name="fileref">
|
||||
<xsl:text>images/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute>
|
||||
<xsl:attribute name="scale"><xsl:text>50</xsl:text></xsl:attribute>
|
||||
<xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
Loading…
Reference in New Issue
Block a user