diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-01-27 23:40:02 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-01-27 23:40:42 +0100 |
commit | e1747fe452d0d0f14e89ca6e332c720f6c71f5d3 (patch) | |
tree | 6d4440082e43606bcea354d2b255d9e21b08361e /app-doc/devmanual | |
parent | app-metrics/prometheus-bin: new package, binary version of prometheus (diff) | |
download | gentoo-e1747fe452d0d0f14e89ca6e332c720f6c71f5d3.tar.gz gentoo-e1747fe452d0d0f14e89ca6e332c720f6c71f5d3.tar.bz2 gentoo-e1747fe452d0d0f14e89ca6e332c720f6c71f5d3.zip |
app-doc/devmanual: Use a less intrusive patch for offline fallback.
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-doc/devmanual')
-rw-r--r-- | app-doc/devmanual/files/devmanual-fallback.patch | 75 |
1 files changed, 10 insertions, 65 deletions
diff --git a/app-doc/devmanual/files/devmanual-fallback.patch b/app-doc/devmanual/files/devmanual-fallback.patch index 9e86cca39c8e..76cefe2547e2 100644 --- a/app-doc/devmanual/files/devmanual-fallback.patch +++ b/app-doc/devmanual/files/devmanual-fallback.patch @@ -3,18 +3,17 @@ https://bugs.gentoo.org/617724 --- a/devbook.xsl +++ b/devbook.xsl -@@ -451,9 +451,7 @@ +@@ -451,8 +451,7 @@ </xsl:variable> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="The Gentoo Devmanual is a technical manual which covers topics such as writing ebuilds and eclasses, and policies that developers should be abiding by." /> - <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen" /> - <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen" /> -- <link rel="stylesheet" href="{$relative_path_depth_recursion}devmanual.css" type="text/css" /> + <link rel="stylesheet" href="{$relative_path_depth_recursion}fallback.css" type="text/css" /> + <link rel="stylesheet" href="{$relative_path_depth_recursion}devmanual.css" type="text/css" /> <link rel="icon" href="https://www.gentoo.org/favicon.ico" type="image/x-icon" /> </head> - <body> -@@ -486,9 +484,6 @@ +@@ -486,9 +485,6 @@ </div> <div class="logo"> <a href="/" title="Back to the homepage" class="site-logo"> @@ -24,75 +23,19 @@ https://bugs.gentoo.org/617724 </a> <span class="site-label">Development Guide</span> </div> -@@ -530,45 +525,7 @@ - </div> - </div> - </nav> -- <nav class="navbar navbar-grey navbar-stick" id="devmanual-actions" role="navigation"> -- <div class="container"> -- <div class="row"> -- <div class="navbar-header"> -- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#gw-toolbar"> -- <span class="sr-only">Toggle navigation</span> -- <span class="icon-bar"></span> -- <span class="icon-bar"></span> -- <span class="icon-bar"></span> -- </button> -- </div> -- <div class="collapse navbar-collapse" id="gw-toolbar"> -- <div class="input-group"> -- <input type="search" name="search" placeholder="Search" title="Search Gentoo Developer Manual [f]" accesskey="f" id="searchInput" class="form-control" onclick="fetchDocuments()"/> -- <div class="input-group-btn"> -- <input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton btn btn-default" onclick="search()"/> -- </div> -- </div> -- </div> -- </div> -- </div> -- </nav> - </header> -- <div id="searchResults" class="modal fade" role="dialog"> -- <div class="modal-dialog"> -- <div class="modal-content"> -- <div class="modal-header"> -- <button type="button" class="close" data-dismiss="modal">x</button> -- <h4 class="modal-title">Search Results</h4> -- </div> -- <div class="modal-body"> -- <p>No results found.</p> -- </div> -- <div class="modal-footer"> -- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> -- </div> -- </div> -- </div> -- </div> - <div class="container"> - <div class="row"> - <div class="col-md010"> -@@ -613,19 +570,7 @@ +@@ -613,9 +609,6 @@ </div> </div> </footer> - <script src="https://assets.gentoo.org/tyrian/jquery.min.js"></script> - <script src="https://assets.gentoo.org/tyrian/bootstrap.min.js"></script> - <script src="https://assets.gentoo.org/lunr/lunr.min.js"></script> -- <xsl:variable name="relative_path_depth" select="string-length(/guide/@self)-string-length(translate(/guide/@self, '/' , ''))"/> -- <xsl:variable name="relative_path_depth_recursion"> -- <xsl:call-template name="str:repeatString"> -- <xsl:with-param name="count" select="$relative_path_depth"/> -- <xsl:with-param name="append">../</xsl:with-param> -- </xsl:call-template> -- </xsl:variable> -- <script><xsl:text>var documentsSrc = "</xsl:text><xsl:value-of select="$relative_path_depth_recursion"/><xsl:text>documents.js"</xsl:text></script> -- <script src="{$relative_path_depth_recursion}search.js"></script> - </body> - </html> - </xsl:template> - + <xsl:variable name="relative_path_depth" select="string-length(/guide/@self)-string-length(translate(/guide/@self, '/' , ''))"/> + <xsl:variable name="relative_path_depth_recursion"> + <xsl:call-template name="str:repeatString"> --- /dev/null +++ b/fallback.css -@@ -0,0 +1,20 @@ +@@ -0,0 +1,22 @@ +body { + margin: 40px auto; + max-width: 650px; @@ -108,6 +51,8 @@ https://bugs.gentoo.org/617724 + +.divider, +.footerlinks, ++.input-group, ++.modal-dialog, +.navbar-toggle, +.site-title, +.tyrian-navbar { |