File: 0008-disable-quick-feedback.patch

package info (click to toggle)
blender-doc 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 253,604 kB
  • sloc: python: 13,030; javascript: 322; makefile: 113; sh: 107
file content (40 lines) | stat: -rw-r--r-- 1,628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Disable quick feedback
 This offline version is not guaranteed to be up to date with upstream,
 so we disable feedback buttons.
 .
 There is a contribution guide in the manual users can follow if they
 wish to contribute upstream.
Author: Jonathan Rubenstein <jrubcop@gmail.com>
Forwarded: not-needed

--- a/manual/conf.py
+++ b/manual/conf.py
@@ -137,7 +137,9 @@
 
 if html_theme == "furo":
     html_theme_options = {
-        "source_edit_link": "https://projects.blender.org/blender/blender-manual/_edit/main/manual/{filename}",
+        # Disabled for Debian
+        # "source_edit_link": "https://projects.blender.org/blender/blender-manual/_edit/main/manual/{filename}",
+        "top_of_page_buttons": [],
         "light_css_variables": {
             "color-brand-primary": "#265787",
             "color-brand-content": "#265787",
--- a/build_files/templates/components/footer_contribute.html
+++ b/build_files/templates/components/footer_contribute.html
@@ -11,6 +11,7 @@
       <a href="https://translate.blender.org/zen/blender-manual/{#
               #}manual/{{ language }}/?q=location%3Amanual%2F{{ pagename }}"> {{ _('View Translation') }}</a>
     </li>
+    <!-- Disabled for Debian
     <li>
       <a href="https://projects.blender.org/blender/documentation/issues/new?{#
               #}template=.gitea/issue_template/bug.yaml&field:{#
@@ -23,6 +24,7 @@
               #}Short+description+of+error%2A%2A%0D%0A%5B{#
               #}Please+fill+out+a+short+description+of+the+error+here%5D%0D%0A"> {{ _('Report issue on this page') }}</a>
     </li>
+    -->
   </ul>
 </div>
 {%- endif %}