diff options
author | Stephen Finucane <stephen@that.guru> | 2016-12-08 12:55:30 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-12-12 09:11:03 -0800 |
commit | c431227e33503421d3412bd33415750b6010730d (patch) | |
tree | 8bb311ccbd801d8af5c8f087304f4a3a74783fe5 /build-aux | |
parent | 11e029064ca2cd71c7382df5202dca8a9ed0c968 (diff) | |
download | openvswitch-c431227e33503421d3412bd33415750b6010730d.tar.gz |
doc: Remove documentation from distdoc target
Basic Sphinx integration is now complete. Remove the documentation
aspects of the 'dist-docs' target in favor of the htmldocs target.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/dist-docs | 50 |
1 files changed, 1 insertions, 49 deletions
diff --git a/build-aux/dist-docs b/build-aux/dist-docs index 1d7eeb534..d2d11d7b5 100755 --- a/build-aux/dist-docs +++ b/build-aux/dist-docs @@ -34,7 +34,6 @@ search_path () { exit 1 } search_path man -search_path rst2html search_path ps2pdf # Create dist-docs directory. @@ -56,54 +55,7 @@ cat >&3 <<EOF <link rel="stylesheet" type="text/css" href="style.css"> <title>Open vSwitch $VERSION Documentation</title> </head><body> -<h1>Open vSwitch $VERSION Documentation</h1> -<h2>Documents</h2> -<table> -EOF - -# Add top-level documentation to index.html, giving it .txt extensions so that -# the webserver doesn't serve it as rST and make your web browser try to invoke -# some kind of external helper you don't have installed. -# -# Also translate documentation to HTML. -for file -do - title=`head -1 "$srcdir/$file"` - dir=$distdir/`dirname $file`; test -d "$dir" || mkdir "$dir" - case $file in - *.rst) - title=`grep -A 1 -e "^=" $srcdir/$file | sed -n 2p` - cp "$srcdir/$file" "$distdir/$file.txt" - ln -s $(basename "$file.txt") "$distdir/$file" - rst2html "$distdir/$file.txt" --stylesheet-path="style.css" \ - --link-stylesheet --title="$file (Open vSwitch $VERSION)" \ - > "$distdir/$file.html" - cat <<EOF -<tr> - <td>$file</td> - <td>$title</td> - <td><a href="$file.html">HTML</a>, <a href="$file.txt">plain text</a></td> -</tr> -EOF - ;; - - *) - cp "$srcdir/$file" "$distdir/$file" - cat <<EOF -<tr> - <td>$file</td> - <td>$title</td> - <td><a href="$file">plain text</a></td> -</tr> -EOF - ;; - esac -done >&3 - -# Add header for manpages to index.html. -cat >&3 <<EOF -</table> -<h2>Manpages</h2> +<h1>Open vSwitch $VERSION Manpages</h1> <table> EOF |