summaryrefslogtreecommitdiff
path: root/app-doc/devmanual/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /app-doc/devmanual/files
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'app-doc/devmanual/files')
-rw-r--r--app-doc/devmanual/files/devmanual-eclasses.patch20
-rw-r--r--app-doc/devmanual/files/devmanual-fallback.patch60
2 files changed, 20 insertions, 60 deletions
diff --git a/app-doc/devmanual/files/devmanual-eclasses.patch b/app-doc/devmanual/files/devmanual-eclasses.patch
new file mode 100644
index 000000000000..88b2322c25b6
--- /dev/null
+++ b/app-doc/devmanual/files/devmanual-eclasses.patch
@@ -0,0 +1,20 @@
+The offline version doesn't generate eclass manpages.
+Add a dummy file, otherwise internal links would be broken.
+
+--- /dev/null
++++ b/eclass-reference/text.xml
+@@ -0,0 +1,14 @@
++<?xml version="1.0"?>
++<guide self="eclass-reference/">
++<chapter>
++<title>Eclass Reference</title>
++<body>
++
++<note>
++The offline version of the devmanual does not include the documentation for the
++eclasses. If you need it, emerge <c>app-doc/eclass-manpages</c>.
++</note>
++
++</body>
++</chapter>
++</guide>
diff --git a/app-doc/devmanual/files/devmanual-fallback.patch b/app-doc/devmanual/files/devmanual-fallback.patch
deleted file mode 100644
index 789451d13b2b..000000000000
--- a/app-doc/devmanual/files/devmanual-fallback.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Fix assets for offline browsing.
-https://bugs.gentoo.org/617724
-
---- a/devbook.xsl
-+++ b/devbook.xsl
-@@ -439,11 +439,9 @@
- <xsl:with-param name="append">../</xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
-- <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" />
- <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="icon" href="https://www.gentoo.org/favicon.ico" type="image/x-icon" />
- </head>
- <body>
-@@ -476,9 +474,6 @@
- </div>
- <div class="logo">
- <a href="/" title="Back to the homepage" class="site-logo">
-- <object data="https://assets.gentoo.org/tyrian/site-logo.svg" type="image/svg+xml">
-- <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo Linux Logo" />
-- </object>
- </a>
- <span class="site-label">Development Guide</span>
- </div>
-@@ -566,8 +561,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>
- </body>
- </html>
- </xsl:template>
---- /dev/null
-+++ b/fallback.css
-@@ -0,0 +1,20 @@
-+body {
-+ margin: 40px auto;
-+ max-width: 650px;
-+ line-height: 1.6;
-+ font-size: 18px;
-+ color: #454545;
-+ padding: 0 10px;
-+}
-+
-+h1,h2,h3,h4,h5,h6 {
-+ line-height: 1.2;
-+}
-+
-+.divider,
-+.footerlinks,
-+.navbar-toggle,
-+.site-title,
-+.tyrian-navbar {
-+ display: none;
-+}