[v2] yocto-docs: profile manual, added banner at the top for direction to most recent website for version 3.1.3

Message ID 20220414144718.63967-1-abongwabonalais@gmail.com
State New
Headers show
Series [v2] yocto-docs: profile manual, added banner at the top for direction to most recent website for version 3.1.3 | expand

Commit Message

Abongwa Bonalais April 14, 2022, 2:47 p.m. UTC
Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
---
 3.1.3/profile-manual/profile-manual-style.css | 28 ++++++++++++++++---
 3.1.3/profile-manual/profile-manual.html      |  8 +++++-
 2 files changed, 31 insertions(+), 5 deletions(-)

Comments

Michael Opdenacker April 14, 2022, 5:46 p.m. UTC | #1
Hi Abongwa,

On 4/14/22 16:47, Abongwa Amahnui Bonalais wrote:
> Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
> ---
>  3.1.3/profile-manual/profile-manual-style.css | 28 ++++++++++++++++---
>  3.1.3/profile-manual/profile-manual.html      |  8 +++++-
>  2 files changed, 31 insertions(+), 5 deletions(-)


Thanks for the patch, but which git repository (or branch?) is it
supposed to apply to?
Cheers
Michael.
Nicolas Dechesne April 14, 2022, 6:31 p.m. UTC | #2
On Thu, Apr 14, 2022 at 6:46 PM Michael Opdenacker via
lists.yoctoproject.org <michael.opdenacker=
bootlin.com@lists.yoctoproject.org> wrote:

> Hi Abongwa,
>
> On 4/14/22 16:47, Abongwa Amahnui Bonalais wrote:
> > Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
> > ---
> >  3.1.3/profile-manual/profile-manual-style.css | 28 ++++++++++++++++---
> >  3.1.3/profile-manual/profile-manual.html      |  8 +++++-
> >  2 files changed, 31 insertions(+), 5 deletions(-)
>
>
> Thanks for the patch, but which git repository (or branch?) is it
> supposed to apply to?
>

We've discussed that on IRC, the context is basically
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14394.

So this patch can't really be applied on yocto-docs, but is needed to
update the 'old docs' tarball that we use on the autobuilder when we
produce the content of docs.yoctoproject.org. Abongwa offered to add the
banner and has sent the work done on the list for review.

I suppose RP will take that into the autobuilder, one way or the other.



> Cheers
> Michael.
>
> --
> Michael Opdenacker, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#2773):
> https://lists.yoctoproject.org/g/docs/message/2773
> Mute This Topic: https://lists.yoctoproject.org/mt/90466004/1279857
> Group Owner: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [
> nicolas.dechesne@linaro.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

Patch

diff --git a/3.1.3/profile-manual/profile-manual-style.css b/3.1.3/profile-manual/profile-manual-style.css
index f3cca853..b9805545 100644
--- a/3.1.3/profile-manual/profile-manual-style.css
+++ b/3.1.3/profile-manual/profile-manual-style.css
@@ -43,11 +43,31 @@ 
 body {
   font-family: Verdana, Sans, sans-serif;
 
-  min-width: 640px;
-  width: 80%;
-  margin:  0em auto;
-  padding: 2em 5em 5em 5em;
+  /*min-width: 640px;*/
+  width: 100%;
+  margin:  0;
+  padding: 0;
   color: #333;
+  overflow-x: hidden;
+  }
+ 
+ /*added books too*/
+.book{
+margin:  0 auto;
+min-width: 640px;
+padding: 0 5em 5em 5em;
+}
+/* added the id below to make the banner show and be fixed*/
+#outdated-warning{
+text-align: center;
+background-color: rgb(255, 186, 186); 
+color: rgb(106, 14, 14); 
+padding: 0.5em 0; 
+width: 100%;
+position: fixed;
+top: 0;
+
+
 }
 
 h1,h2,h3,h4,h5,h6,h7 {
diff --git a/3.1.3/profile-manual/profile-manual.html b/3.1.3/profile-manual/profile-manual.html
index b81f5b21..9fa44c12 100644
--- a/3.1.3/profile-manual/profile-manual.html
+++ b/3.1.3/profile-manual/profile-manual.html
@@ -1,5 +1,11 @@ 
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Yocto Project Profiling and Tracing Manual</title><link rel="stylesheet" type="text/css" href="profile-manual-style.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /></head><body><div xml:lang="en" class="book" title="Yocto Project Profiling and Tracing Manual" id="profile-manual" lang="en"><div class="titlepage"><div><div><h1 class="title">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
+    <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <title>Yocto Project Profiling and Tracing Manual</title>
+    <link rel="stylesheet" type="text/css" href="profile-manual-style.css" />
+    <meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /></head>
+    <body>  <div id="outdated-warning">This document is for outdated version 3.1.3, you should select the <a href="https://docs.yoctoproject.org/">latest release version</a> in this series.</div>
+    <div xml:lang="en" class="book" title="Yocto Project Profiling and Tracing Manual" id="profile-manual" lang="en"><div class="titlepage"><div><div><h1 class="title">
 		  Yocto Project Profiling and Tracing Manual
 		</h1></div><div><div class="authorgroup">
             <div class="author"><h3 class="author"></h3><div class="affiliation">