]> granicus.if.org Git - graphviz/commitdiff
Docs: Migrate header and footer into template
authorMark Hansen <mark@markhansen.co.nz>
Sun, 31 May 2020 10:48:59 +0000 (20:48 +1000)
committerMark Hansen <mark@markhansen.co.nz>
Sun, 31 May 2020 10:50:23 +0000 (20:50 +1000)
doc/infosrc/Makefile
doc/infosrc/output.1 [deleted file]
doc/infosrc/output.2 [deleted file]
doc/infosrc/templates/output.html.j2

index 01ce342f45107123477294f874f3ecbff86310b6..6292983d124108bb5f3b1f6f5e8dbe03bf9d699c 100644 (file)
@@ -148,10 +148,8 @@ colors.html : colors.1 colors.n ../../lib/common/color_names ../../lib/common/sv
        rm -rf colortmp
 
 
-output.html : output.1 output.2 outputs mkoutput.py plugins.png jconvert.py schema.html templates/output.html.j2
-       cat output.1 > output.html
-       ./mkoutput.py < outputs >> output.html
-       cat output.2 >> output.html
+output.html : outputs mkoutput.py plugins.png schema.html templates/output.html.j2
+       ./mkoutput.py < outputs > output.html
 
 schema.html : jconvert.py graphviz_json_schema.json
        ./jconvert.py graphviz_json_schema.json schema.html
diff --git a/doc/infosrc/output.1 b/doc/infosrc/output.1
deleted file mode 100644 (file)
index d125ee0..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<!--
-    This is a generated document.  Do not edit.
--->
-<HTML VERSION="2.0">
-<HEAD>
-<TITLE>Output Formats</TITLE>
-<style>
-.jsontable {
-    border: 1px solid black;
-    background-color: beige;
-}
-</style>
-<script src="w3data.js"></script>
-</HEAD>
-<BODY BGCOLOR=white>
-<A NAME="top"></A>
-<H1 align=CENTER>Output Formats</H1>
-<HR>
-The output format is specified with the <STRONG>-T</STRONG><I>lang</I>
-flag on the <A HREF=command.html>command line</A>, where <I>lang</I>
-is one of the parameters listed below.
-<P>
-The formats actually available in a given Graphviz system depend on
-how the system was built and the presence of additional libraries.
-To see what formats <b>dot</b> supports, run <TT>dot -T?</TT>.
-See the <A HREF=command.html#d:T> description of the -T</A>
-flag for additional information.
-<P>
-Note that the internal coordinate system has the origin
-in the lower left corner.
-Thus, positions in the
-<A HREF=#d:canon>canon</A>,
-<A HREF=#d:dot>dot</A>,
-<A HREF=#d:xdot>xdot</A>,
-<A HREF=#d:plain>plain</A>, and
-<A HREF=#d:plain-ext>plain-ext</A>
-formats need to be interpreted in this manner.
-<P>
diff --git a/doc/infosrc/output.2 b/doc/infosrc/output.2
deleted file mode 100644 (file)
index 63e9932..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<H1 align=CENTER><A NAME=d:image_fmts>Image Formats</A></H1>
-<HR>
-The <A HREF=attrs.html#a:image>image</A> and <A HREF=attrs.html#a:shapefile>shapefile</A> attributes specify an image file to be included
-as part of the final diagram. Not all image formats can be read. In addition,
-even if read, not all image formats can necessarily be used in a given
-output format.
-<P>
-The graph below shows what image formats can be used in which output formats,
-and the required plugins. On the left are the supported image formats. 
-On the right are the supported output formats.
-In the middle are the plugins: image loaders, renderers, drivers, arranged by 
-plugin library.  
-This presents the most general case. A given installation may not provide
-one of the plugins, in which case, that transformation is not possible.
-<BR>
-<IMG WIDTH="80%" SRC="plugins.png">
-<HR>
-<H2>Notes</H2>
-<OL TYPE="1">
-<LI>
-<A NAME=ID></A>In the formats: -Tcmap, -Tcmapx, -Tsvg, -Tvml, the output generates
-'id="node#"' properties for nodes, 'id="edge#"' properties for edges, and 'id="cluster#"' properties for clusters, with the '#' replaced by an internally assigned integer. These strings can be provided instead by an externally provided "id=xxx" attribute on the object.
-Normal "&#92;N" "&#92;E" "&#92;G" substitutions are applied.
-Externally provided id values are not used internally, and it is the use's reponsibilty to ensure
-that they are sufficiently unique for their intended downstream use.
-Note, in particular, that "&#92;E" is not a unique id for multiedges.
-</OL>
-</BODY>
-</HTML>
index d82c71263de6e3388ea1d804446a1af20147056f..351f8708ac71bc92e2e83f7d980e4419abd27e3f 100644 (file)
@@ -1,3 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<!--
+    This is a generated document.  Do not edit.
+-->
+<HTML VERSION="2.0">
+<HEAD>
+<TITLE>Output Formats</TITLE>
+<style>
+.jsontable {
+    border: 1px solid black;
+    background-color: beige;
+}
+</style>
+<script src="w3data.js"></script>
+</HEAD>
+<BODY BGCOLOR=white>
+<A NAME="top"></A>
+<H1 align=CENTER>Output Formats</H1>
+<HR>
+The output format is specified with the <STRONG>-T</STRONG><I>lang</I>
+flag on the <A HREF=command.html>command line</A>, where <I>lang</I>
+is one of the parameters listed below.
+<P>
+The formats actually available in a given Graphviz system depend on
+how the system was built and the presence of additional libraries.
+To see what formats <b>dot</b> supports, run <TT>dot -T?</TT>.
+See the <A HREF=command.html#d:T> description of the -T</A>
+flag for additional information.
+<P>
+Note that the internal coordinate system has the origin
+in the lower left corner.
+Thus, positions in the
+<A HREF=#d:canon>canon</A>,
+<A HREF=#d:dot>dot</A>,
+<A HREF=#d:xdot>xdot</A>,
+<A HREF=#d:plain>plain</A>, and
+<A HREF=#d:plain-ext>plain-ext</A>
+formats need to be interpreted in this manner.
+<P>
 <TABLE ALIGN=CENTER>
 <TR><TH>Command-line<BR>parameter</TH><TH>Format</TH></TR>
 {% for params, format in formats | dictsort %}
 {% endfor %}
 </DL>
 <HR>
+<H1 align=CENTER><A NAME=d:image_fmts>Image Formats</A></H1>
+<HR>
+The <A HREF=attrs.html#a:image>image</A> and <A HREF=attrs.html#a:shapefile>shapefile</A> attributes specify an image file to be included
+as part of the final diagram. Not all image formats can be read. In addition,
+even if read, not all image formats can necessarily be used in a given
+output format.
+<P>
+The graph below shows what image formats can be used in which output formats,
+and the required plugins. On the left are the supported image formats. 
+On the right are the supported output formats.
+In the middle are the plugins: image loaders, renderers, drivers, arranged by 
+plugin library.  
+This presents the most general case. A given installation may not provide
+one of the plugins, in which case, that transformation is not possible.
+<BR>
+<IMG WIDTH="80%" SRC="plugins.png">
+<HR>
+<H2>Notes</H2>
+<OL TYPE="1">
+<LI>
+<A NAME=ID></A>In the formats: -Tcmap, -Tcmapx, -Tsvg, -Tvml, the output generates
+'id="node#"' properties for nodes, 'id="edge#"' properties for edges, and 'id="cluster#"' properties for clusters, with the '#' replaced by an internally assigned integer. These strings can be provided instead by an externally provided "id=xxx" attribute on the object.
+Normal "&#92;N" "&#92;E" "&#92;G" substitutions are applied.
+Externally provided id values are not used internally, and it is the use's reponsibilty to ensure
+that they are sufficiently unique for their intended downstream use.
+Note, in particular, that "&#92;E" is not a unique id for multiedges.
+</OL>
+</BODY>
+</HTML>