[mlpack-git] master: Make sure to output <link /> not <link></link>. (ac060e8)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Aug 27 19:40:48 EDT 2015


Repository : https://github.com/mlpack/mlpack.org

On branch  : master
Link       : https://github.com/mlpack/mlpack.org/compare/5278e8fd3c5436ace56cd787823ddab483d0bfb3...75c8b77a6b071b5f071810492ddc919172e55047

>---------------------------------------------------------------

commit ac060e837b481a22ab532014a383caa0e51869c7
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Aug 25 18:36:50 2015 -0400

    Make sure to output <link /> not <link></link>.


>---------------------------------------------------------------

ac060e837b481a22ab532014a383caa0e51869c7
 docs/doxygen-post/html_template_labeler.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/doxygen-post/html_template_labeler.py b/docs/doxygen-post/html_template_labeler.py
index 616e549..895427a 100644
--- a/docs/doxygen-post/html_template_labeler.py
+++ b/docs/doxygen-post/html_template_labeler.py
@@ -10,6 +10,9 @@ class HTMLTemplateLabeler(HTMLParser):
     if tag == "br":
       print("<br />")
       return
+    elif tag == "link":
+      print("<link " + ' '.join([a[0] + '="' + a[1] + '"' for a in attrs]) + " />")
+      return
 
     # Process the current data we have.
     if self.current_data != '':



More information about the mlpack-git mailing list