From 6b9f2ac91aff55b1254624dd783a45653c0c2eee Mon Sep 17 00:00:00 2001
From: Ian McInerney <Ian.S.McInerney@ieee.org>
Date: Thu, 19 Dec 2019 17:57:15 +0000
Subject: [PATCH] Move markdown2html into thirdparty directory

Part of https://gitlab.com/kicad/code/kicad/issues/3637
---
 CMakeLists.txt                                                   | 1 -
 thirdparty/CMakeLists.txt                                        | 1 +
 {markdown2html => thirdparty/markdown2html}/CMakeLists.txt       | 0
 .../markdown2html}/html_formatter/LICENSE.txt                    | 0
 .../markdown2html}/html_formatter/houdini.h                      | 0
 .../markdown2html}/html_formatter/houdini_href_e.c               | 0
 .../markdown2html}/html_formatter/houdini_html_e.c               | 0
 .../markdown2html}/html_formatter/html.c                         | 0
 .../markdown2html}/html_formatter/html.h                         | 0
 .../markdown2html}/html_formatter/html_smartypants.c             | 0
 {markdown2html => thirdparty/markdown2html}/markdown2html.cpp    | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/README.md  | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/autolink.c | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/autolink.h | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/buffer.c   | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/buffer.h   | 0
 .../markdown2html}/md_parser/html_blocks.h                       | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/markdown.c | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/markdown.h | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/stack.c    | 0
 {markdown2html => thirdparty/markdown2html}/md_parser/stack.h    | 0
 21 files changed, 1 insertion(+), 1 deletion(-)
 rename {markdown2html => thirdparty/markdown2html}/CMakeLists.txt (100%)
 rename {markdown2html => thirdparty/markdown2html}/html_formatter/LICENSE.txt (100%)
 rename {markdown2html => thirdparty/markdown2html}/html_formatter/houdini.h (100%)
 rename {markdown2html => thirdparty/markdown2html}/html_formatter/houdini_href_e.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/html_formatter/houdini_html_e.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/html_formatter/html.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/html_formatter/html.h (100%)
 rename {markdown2html => thirdparty/markdown2html}/html_formatter/html_smartypants.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/markdown2html.cpp (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/README.md (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/autolink.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/autolink.h (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/buffer.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/buffer.h (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/html_blocks.h (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/markdown.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/markdown.h (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/stack.c (100%)
 rename {markdown2html => thirdparty/markdown2html}/md_parser/stack.h (100%)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57a7b9be68..2409eb9cac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1016,7 +1016,6 @@ endif()
 add_subdirectory( thirdparty )
 add_subdirectory( bitmaps_png )
 add_subdirectory( libs )
-add_subdirectory( markdown2html )
 add_subdirectory( common )
 add_subdirectory( 3d-viewer )
 add_subdirectory( cvpcb )
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index d38acbfa57..f2f8f903a4 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -23,5 +23,6 @@
 
 
 add_subdirectory( dxflib_qcad )
+add_subdirectory( markdown2html )
 add_subdirectory( nanosvg )
 add_subdirectory( tinyspline_lib )
diff --git a/markdown2html/CMakeLists.txt b/thirdparty/markdown2html/CMakeLists.txt
similarity index 100%
rename from markdown2html/CMakeLists.txt
rename to thirdparty/markdown2html/CMakeLists.txt
diff --git a/markdown2html/html_formatter/LICENSE.txt b/thirdparty/markdown2html/html_formatter/LICENSE.txt
similarity index 100%
rename from markdown2html/html_formatter/LICENSE.txt
rename to thirdparty/markdown2html/html_formatter/LICENSE.txt
diff --git a/markdown2html/html_formatter/houdini.h b/thirdparty/markdown2html/html_formatter/houdini.h
similarity index 100%
rename from markdown2html/html_formatter/houdini.h
rename to thirdparty/markdown2html/html_formatter/houdini.h
diff --git a/markdown2html/html_formatter/houdini_href_e.c b/thirdparty/markdown2html/html_formatter/houdini_href_e.c
similarity index 100%
rename from markdown2html/html_formatter/houdini_href_e.c
rename to thirdparty/markdown2html/html_formatter/houdini_href_e.c
diff --git a/markdown2html/html_formatter/houdini_html_e.c b/thirdparty/markdown2html/html_formatter/houdini_html_e.c
similarity index 100%
rename from markdown2html/html_formatter/houdini_html_e.c
rename to thirdparty/markdown2html/html_formatter/houdini_html_e.c
diff --git a/markdown2html/html_formatter/html.c b/thirdparty/markdown2html/html_formatter/html.c
similarity index 100%
rename from markdown2html/html_formatter/html.c
rename to thirdparty/markdown2html/html_formatter/html.c
diff --git a/markdown2html/html_formatter/html.h b/thirdparty/markdown2html/html_formatter/html.h
similarity index 100%
rename from markdown2html/html_formatter/html.h
rename to thirdparty/markdown2html/html_formatter/html.h
diff --git a/markdown2html/html_formatter/html_smartypants.c b/thirdparty/markdown2html/html_formatter/html_smartypants.c
similarity index 100%
rename from markdown2html/html_formatter/html_smartypants.c
rename to thirdparty/markdown2html/html_formatter/html_smartypants.c
diff --git a/markdown2html/markdown2html.cpp b/thirdparty/markdown2html/markdown2html.cpp
similarity index 100%
rename from markdown2html/markdown2html.cpp
rename to thirdparty/markdown2html/markdown2html.cpp
diff --git a/markdown2html/md_parser/README.md b/thirdparty/markdown2html/md_parser/README.md
similarity index 100%
rename from markdown2html/md_parser/README.md
rename to thirdparty/markdown2html/md_parser/README.md
diff --git a/markdown2html/md_parser/autolink.c b/thirdparty/markdown2html/md_parser/autolink.c
similarity index 100%
rename from markdown2html/md_parser/autolink.c
rename to thirdparty/markdown2html/md_parser/autolink.c
diff --git a/markdown2html/md_parser/autolink.h b/thirdparty/markdown2html/md_parser/autolink.h
similarity index 100%
rename from markdown2html/md_parser/autolink.h
rename to thirdparty/markdown2html/md_parser/autolink.h
diff --git a/markdown2html/md_parser/buffer.c b/thirdparty/markdown2html/md_parser/buffer.c
similarity index 100%
rename from markdown2html/md_parser/buffer.c
rename to thirdparty/markdown2html/md_parser/buffer.c
diff --git a/markdown2html/md_parser/buffer.h b/thirdparty/markdown2html/md_parser/buffer.h
similarity index 100%
rename from markdown2html/md_parser/buffer.h
rename to thirdparty/markdown2html/md_parser/buffer.h
diff --git a/markdown2html/md_parser/html_blocks.h b/thirdparty/markdown2html/md_parser/html_blocks.h
similarity index 100%
rename from markdown2html/md_parser/html_blocks.h
rename to thirdparty/markdown2html/md_parser/html_blocks.h
diff --git a/markdown2html/md_parser/markdown.c b/thirdparty/markdown2html/md_parser/markdown.c
similarity index 100%
rename from markdown2html/md_parser/markdown.c
rename to thirdparty/markdown2html/md_parser/markdown.c
diff --git a/markdown2html/md_parser/markdown.h b/thirdparty/markdown2html/md_parser/markdown.h
similarity index 100%
rename from markdown2html/md_parser/markdown.h
rename to thirdparty/markdown2html/md_parser/markdown.h
diff --git a/markdown2html/md_parser/stack.c b/thirdparty/markdown2html/md_parser/stack.c
similarity index 100%
rename from markdown2html/md_parser/stack.c
rename to thirdparty/markdown2html/md_parser/stack.c
diff --git a/markdown2html/md_parser/stack.h b/thirdparty/markdown2html/md_parser/stack.h
similarity index 100%
rename from markdown2html/md_parser/stack.h
rename to thirdparty/markdown2html/md_parser/stack.h