commit:     4d842a4e5ce9bfba49866aea5e71a9b182f664a2
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 13 16:11:45 2021 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Tue Jul 13 16:11:45 2021 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=4d842a4e

Update Site generating scripts

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 web/content/sitemap.html  | 42 +++++++++++++++++++++++++++++-------------
 web/gentoo_sources_web.pm |  2 ++
 web/makesite.pl           |  3 +++
 3 files changed, 34 insertions(+), 13 deletions(-)

diff --git a/web/content/sitemap.html b/web/content/sitemap.html
index 577bce6..34ca22c 100644
--- a/web/content/sitemap.html
+++ b/web/content/sitemap.html
@@ -1,30 +1,43 @@
-<h1>genpatches homepage</h1>
-
-<h2>Information</h2>
+<div class="container">
+       <div class="row">
+               <div id="content" class="col-md-12">
+                       <h1 class="first-header">Genpatches Homepage
+  <br> <br>
+  <small>Information</small>
+</h1>
 
 <ul>
 
-<li><h4><b><a href="about.html">About genpatches</a></b></h4><br />
+<li><h4><b><a href="about.html">About genpatches</a></b></h4>
 A brief description of the package, and details about our patching and release 
policy.</li>
+<br/>
 
-<li><h4><b><a href="kernels.html">Available Kernels</a></b></h4><br />
+<li><h4><b><a href="kernels.html">Available Kernels</a></b></h4>
 List of kernels available in Portage which are based on genpatches.</li>
+<br/>
 
-<li><h4><b><a href="faq.html">Frequently Asked Questions</a></b></h4><br />
+<li><h4><b><a href="faq.html">Frequently Asked Questions</a></b></h4>
 Questions that we are bored of answering :)</li>
+<br/>
 
-<li><h4><b><a href="releases.html">Release Information</a></b></h4><br />
+<li><h4><b><a href="releases.html">Release Information</a></b></h4>
 Information about the patches we apply to our kernel releases, and links to 
patch tarballs.</li>
+<br/>
 
-<li><h4><b><a href="bugs.html">Reporting Bugs</a></b></h4><br />
+<li><h4><b><a href="bugs.html">Reporting Bugs</a></b></h4>
 The ideal process you should follow when reporting kernel bugs.</li>
-
-<li><h4><b><a href="issues.html">Known Issues &amp; Solutions</a></b></h4><br 
/>
-Details about common issues with our kernel releases, and their solutions.</li>
-
+<br/>
 </ul>
+               </div>
+   </div>
+</div>
 
-<h2>Resources</h2>
+<div class="container">
+       <div class="row">
+               <div id="content" class="col-md-12">
+                       <h1 class="first-header"> <br>
+  <small>Resources</small>
+</h1>
 
 <ul>
 
@@ -49,3 +62,6 @@ Problems reported by Gentoo users regarding the mainline 
kernel, currently being
 <br/>
 
 </ul>
+               </div>
+   </div>
+</div>

diff --git a/web/gentoo_sources_web.pm b/web/gentoo_sources_web.pm
index e4a1ee0..7c6423f 100644
--- a/web/gentoo_sources_web.pm
+++ b/web/gentoo_sources_web.pm
@@ -27,6 +27,8 @@ my $cmd="";
 $webscript_path = &Cwd::cwd();
 $output_path = $webscript_path.'/output';
 
+print "outuput path is  is $output_path\n";
+
 $website_base = 'http://dev.gentoo.org/~mpagano/genpatches';
 
 # TODO fix this, maybe from .genpatchsrc

diff --git a/web/makesite.pl b/web/makesite.pl
index 914dee9..0bb3cc2 100755
--- a/web/makesite.pl
+++ b/web/makesite.pl
@@ -36,6 +36,8 @@ make_kernels_page();
 make_release_pages();
 process_static_content();
 
+exit 1;
+
 sub make_index_page {
        local *FD;
        print ">> Making index page\n";
@@ -407,6 +409,7 @@ sub generate_info {
 }
 
 sub process_static_content {
+       print "process_static_content called\n";
        copy($webscript_path.'/content/style.css', $output_path);
        copy($webscript_path.'/content/.htaccess', $output_path);
 }

Reply via email to