Skip to content

Commit

Permalink
[Documentazione]
Browse files Browse the repository at this point in the history
Aggiunti sorgenti della documentazione in 'resources/doc/src'
  • Loading branch information
andreapoli committed Nov 7, 2018
1 parent a3fa74e commit 8a1092c
Show file tree
Hide file tree
Showing 213 changed files with 16,428 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2018-11-06 Andrea Poli <[email protected]>
2018-11-07 Andrea Poli <[email protected]>

* Rilasciata versione 3.0.1.rc2

Expand Down
4 changes: 2 additions & 2 deletions ant/setup/antinstall-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
ifProperty="${antinstaller_modalita_installazione}==nuova">

<!-- <comment displayText="Directory di lavoro" bold="true"/> sotto come display c'era path -->
<directory defaultValue="/var/govway" defaultValueWin="C:\govway" displayText="Directory di lavoro"
<directory defaultValue="/etc/govway" defaultValueWin="C:\govway" displayText="Directory di lavoro"
property="antinstaller_directory_lavoro_openspcoop" checkExists="false" />

<comment displayText=""/>

<!-- <comment displayText="Directory di log" bold="true"/> sotto come display c'era path -->
<directory defaultValue="/var/govway/log" defaultValueWin="C:\govway\log" displayText="Directory di log"
<directory defaultValue="/var/log/govway" defaultValueWin="C:\govway\log" displayText="Directory di log"
property="antinstaller_directory_log_openspcoop" checkExists="false" />

<comment displayText=""/>
Expand Down
Binary file modified resources/doc/pdf/GovWay-ManualeInstallazione.pdf
Binary file not shown.
Binary file modified resources/doc/pdf/GovWay-ManualeMonitoraggio.pdf
Binary file not shown.
Binary file modified resources/doc/pdf/GovWay-ManualeUtente.pdf
Binary file not shown.
Binary file modified resources/doc/pdf/GovWay-ReleaseNotes.pdf
Binary file not shown.
1,892 changes: 1,892 additions & 0 deletions resources/doc/src/core/docbook-custom/chunk-common.xsl

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions resources/doc/src/core/makefile/commons
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
html: convert-accents
@echo "Producing html files ..."
xmlto html-nochunks -x ../core/xsl/main-html-nochunks.xsl ${SOURCE_FILE}.converted --skip-validation
@echo "Producing html files ok"

xhtml:
xmlto xhtml -x ../core/xsl/main-xhtml-chunks.xsl ${SOURCE_FILE}.converted -o xhtmlout --skip-validation

pdf: convert-accents
@echo "Producing pdf ..."
dblatex ${DB_LATEX_OPTIONS} --pdf ${SOURCE_FILE}.converted -o ${SOURCE_NAME}${PDF_DOC_VERSION}_originalCover.pdf
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=${SOURCE_NAME}${PDF_DOC_VERSION}_originalCover_noPagineIniziali.pdf -dFirstPage=2 ${SOURCE_NAME}${PDF_DOC_VERSION}_originalCover.pdf
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=GovWay-${SOURCE_NAME}.pdf cover/cover.pdf ${SOURCE_NAME}${PDF_DOC_VERSION}_originalCover_noPagineIniziali.pdf
@echo "Producing pdf ok"

img:
@echo "Producing img ..."
@mkdir -p FIGURE_OUT
@for file in figure/*.jpg; do \
( convert $$file FIGURE_OUT/`basename $$file jpg`pdf; convert $$file FIGURE_OUT/`basename $$file`) \
done
@for file in figure/*.png; do \
( convert $$file FIGURE_OUT/`basename $$file png`pdf; convert $$file FIGURE_OUT/`basename $$file`) \
done
@echo "Producing img ok"

clean: clean-html clean-pdf clean-xhtml
rm -f ${SOURCE_FILE}~
rm -f ${SOURCE_FILE}.converted
rm -rf FIGURE_OUT

clean-html:
rm -f *.html

clean-xhtml:
rm -rf xhtmlout

clean-pdf:
rm -f *${SOURCE_NAME}*.pdf

convert-accents:
cp ${SOURCE_FILE} ${SOURCE_FILE}.converted
perl -pi -e "s/à/&agrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/è/&egrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/È/&Egrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/È/&Egrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/ì/&igrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/Ì/&Igrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/ù/&ugrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/Ù/&Ugrave;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/Ò/&Ograve;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/é/&eacute;/g" ${SOURCE_FILE}.converted
perl -pi -e "s/É/&Eacute;/g" ${SOURCE_FILE}.converted


5 changes: 5 additions & 0 deletions resources/doc/src/core/makefile/env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
LANG=it_IT

DB_LATEX_OPTIONS=-P latex.output.revhistory=0 -P doc.collab.show=0
DOC_VERSION=3.0
PDF_DOC_VERSION=3.0
40 changes: 40 additions & 0 deletions resources/doc/src/core/xsl/html-common-relnotes.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!-- created by Tammy Fox [email protected] for the Fedora Project -->
<!-- License: GPL -->
<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl">

<!-- Admonition Graphics -->

<xsl:param name="admon.graphics" select="1"></xsl:param>
<xsl:param name="admon.graphics.path">./stylesheet-images/</xsl:param>
<xsl:param name="callout.graphics.path">./stylesheet-images/</xsl:param>

<!-- titles after all elements -->

<xsl:param name="formal.title.placement">
figure after
example after
equation after
table after
procedure after
</xsl:param>

<xsl:output method="html" indent="no"/>

<!--
disable for FC4
<xsl:param name="generate.legalnotice.link" select="1"></xsl:param>
-->

<xsl:param name="html.stylesheet" select="'fedora.css'"></xsl:param>
<xsl:param name="html.stylesheet.type">text/css</xsl:param>

<xsl:param name="html.cleanup" select="1"></xsl:param>



</xsl:stylesheet>
35 changes: 35 additions & 0 deletions resources/doc/src/core/xsl/html-common.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!-- created by Tammy Fox [email protected] for the Fedora Project -->
<!-- License: GPL -->
<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl">

<!-- Admonition Graphics -->

<xsl:param name="admon.graphics" select="1"></xsl:param>
<xsl:param name="admon.graphics.path">./stylesheet-images/</xsl:param>
<xsl:param name="callout.graphics.path">./stylesheet-images/</xsl:param>

<!-- titles after all elements -->

<xsl:param name="formal.title.placement">
figure after
example after
equation after
table after
procedure after
</xsl:param>

<xsl:output method="html" indent="no"/>

<xsl:param name="html.stylesheet" select="'fedora.css'"></xsl:param>
<xsl:param name="html.stylesheet.type">text/css</xsl:param>

<xsl:param name="html.cleanup" select="1"></xsl:param>



</xsl:stylesheet>
51 changes: 51 additions & 0 deletions resources/doc/src/core/xsl/main-html-chunks.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!-- created by Tammy Fox [email protected] for the Fedora Project -->
<!-- License: GPL -->
<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl">

<xsl:import href="redhat.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl"/>
<!-- tito -->
<xsl:import href="../docbook-custom/chunk-common.xsl"/>
<xsl:include href="html-common.xsl"/>

<!-- TOC -->
<xsl:param name="toc.section.depth">3</xsl:param>
<xsl:param name="section.autolabel" select="1" />
<xsl:param name="section.label.includes.component.label" select="1"></xsl:param>

<xsl:param name="generate.toc">
book toc,title,figure,table,example,equation
article toc
chapter nop
qandadiv toc
qandaset toc
sect1 nop
sect2 nop
sect3 nop
sect4 nop
sect5 nop
section nop
</xsl:param>

<!-- Navigation
<xsl:param name="navig.graphics" select="1"></xsl:param>
<xsl:param name="navig.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="navig.graphics.path">nav-images/</xsl:param>
<xsl:param name="navig.showtitles">1</xsl:param>
-->

<!-- multiple pages -->
<xsl:param name="onechunk" select="0"/>

<!-- utf-8 html pages -->
<xsl:param name="chunker.output.encoding">UTF-8</xsl:param>

<!-- indent html generated output -->
<xsl:param name="chunker.output.indent">yes</xsl:param>

</xsl:stylesheet>
47 changes: 47 additions & 0 deletions resources/doc/src/core/xsl/main-html-nochunks-relnotes.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!-- created by Tammy Fox [email protected] for the Fedora Project -->
<!-- License: GPL -->
<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl">

<xsl:import href="redhat.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl"/>
<xsl:include href="html-common-relnotes.xsl"/>

<!-- TOC -->
<xsl:param name="toc.section.depth">3</xsl:param>
<xsl:param name="section.autolabel" select="1" />
<xsl:param name="section.label.includes.component.label" select="1"></xsl:param>
<xsl:param name="generate.toc">
book toc,title,figure,table,example,equation
article toc
chapter nop
qandadiv toc
qandaset toc
sect1 nop
sect2 nop
sect3 nop
sect4 nop
sect5 nop
section nop
</xsl:param>

<!-- Navigation
<xsl:param name="navig.graphics" select="1"></xsl:param>
<xsl:param name="navig.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="navig.graphics.path">nav-images/</xsl:param>
<xsl:param name="navig.showtitles">1</xsl:param>
-->

<!-- one page -->
<xsl:param name="onechunk" select="1"/>

<!-- Generate UTF-8 html == only applies to the one chunk-->
<xsl:output method="html"
encoding="UTF-8"
indent="yes"/>

</xsl:stylesheet>
51 changes: 51 additions & 0 deletions resources/doc/src/core/xsl/main-html-nochunks.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!-- created by Tammy Fox [email protected] for the Fedora Project -->
<!-- License: GPL -->
<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
version="1.0"
exclude-result-prefixes="exsl">

<xsl:import href="redhat.xsl"/>
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl"/>
<xsl:include href="html-common.xsl"/>

<!-- TOC -->
<xsl:param name="toc.section.depth">3</xsl:param>
<xsl:param name="section.autolabel" select="1" />
<xsl:param name="section.label.includes.component.label" select="1"></xsl:param>
<xsl:param name="generate.toc">
book toc,title,figure,table,example,equation
article toc
chapter nop
qandadiv toc
qandaset toc
sect1 nop
sect2 nop
sect3 nop
sect4 nop
sect5 nop
section nop
</xsl:param>

<!-- Navigation
<xsl:param name="navig.graphics" select="1"></xsl:param>
<xsl:param name="navig.graphics.extension" select="'.png'"></xsl:param>
<xsl:param name="navig.graphics.path">nav-images/</xsl:param>
<xsl:param name="navig.showtitles">1</xsl:param>
-->

<!-- one page -->
<xsl:param name="onechunk" select="1"/>

<!-- Generate UTF-8 html == only applies to the one chunk-->
<xsl:output method="html"

indent="yes"/>
<!-- encoding="UTF-8"-->

<!-- Override legalnotice linkage -->
<xsl:param name="generate.legalnotice.link" select="0"></xsl:param>

</xsl:stylesheet>
Loading

0 comments on commit 8a1092c

Please sign in to comment.