Commit dfa2f9bf authored by Jonas Smedegaard's avatar Jonas Smedegaard

Add patches 1003 1004 to fix template paths and normalize JavaScript library paths.

parent 401dbee4
Description: Fix template path
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2019-02-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ontospy/ontodocs/viz/viz_d3packHierarchy.py
+++ b/ontospy/ontodocs/viz/viz_d3packHierarchy.py
@@ -54,7 +54,7 @@
# Ontology - MAIN PAGE
contents = self._renderTemplate(
- "d3/d3_packHierarchy.html", extraContext=extra_context)
+ "d3/d3_packhierarchy.html", extraContext=extra_context)
FILE_NAME = "index.html"
main_url = self._save2File(contents, FILE_NAME, self.output_path)
Description: Normalize library paths
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2019-02-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ontospy/ontodocs/viz/viz_d3barHierarchy.py
+++ b/ontospy/ontodocs/viz/viz_d3barHierarchy.py
@@ -24,7 +24,7 @@
Init
"""
super(Dataviz, self).__init__(ontospy_graph, title)
- self.static_files = ["libs/d3-v3", "libs/jquery"]
+ self.static_files = ["libs/d3", "libs/jquery"]
def _buildTemplates(self):
"""
--- a/ontospy/ontodocs/viz/viz_d3bubbleChart.py
+++ b/ontospy/ontodocs/viz/viz_d3bubbleChart.py
@@ -24,7 +24,7 @@
Init
"""
super(Dataviz, self).__init__(ontospy_graph, title)
- self.static_files = ["libs/d3-v3", "libs/jquery"]
+ self.static_files = ["libs/d3", "libs/jquery"]
def _buildTemplates(self):
"""
--- a/ontospy/ontodocs/viz/viz_d3packHierarchy.py
+++ b/ontospy/ontodocs/viz/viz_d3packHierarchy.py
@@ -25,7 +25,7 @@
Init
"""
super(Dataviz, self).__init__(ontospy_graph, title)
- self.static_files = ["libs/d3-v3", "libs/jquery"]
+ self.static_files = ["libs/d3", "libs/jquery"]
def _buildTemplates(self):
"""
--- a/ontospy/ontodocs/viz/viz_d3partitionTable.py
+++ b/ontospy/ontodocs/viz/viz_d3partitionTable.py
@@ -24,7 +24,7 @@
Init
"""
super(Dataviz, self).__init__(ontospy_graph, title)
- self.static_files = ["libs/d3-v3", "libs/jquery"]
+ self.static_files = ["libs/d3", "libs/jquery"]
def _buildTemplates(self):
"""
--- a/ontospy/ontodocs/viz/viz_d3rotatingCluster.py
+++ b/ontospy/ontodocs/viz/viz_d3rotatingCluster.py
@@ -24,7 +24,7 @@
Init
"""
super(Dataviz, self).__init__(ontospy_graph, title)
- self.static_files = ["libs/d3-v3", "libs/jquery"]
+ self.static_files = ["libs/d3", "libs/jquery"]
def _buildTemplates(self):
"""
--- a/ontospy/ontodocs/viz/viz_d3tree.py
+++ b/ontospy/ontodocs/viz/viz_d3tree.py
@@ -25,7 +25,7 @@
Init
"""
super(Dataviz, self).__init__(ontospy_graph, title)
- self.static_files = ["libs/d3-v2", "libs/jquery"]
+ self.static_files = ["libs/d3", "libs/jquery"]
def _buildTemplates(self):
"""
--- a/ontospy/ontodocs/viz/viz_d3treePie.py
+++ b/ontospy/ontodocs/viz/viz_d3treePie.py
@@ -24,7 +24,7 @@
Init
"""
super(Dataviz, self).__init__(ontospy_graph, title)
- self.static_files = ["libs/d3-v3", "libs/jquery"]
+ self.static_files = ["libs/d3", "libs/jquery"]
def _buildTemplates(self):
"""
--- a/ontospy/ontodocs/viz/viz_html_multi.py
+++ b/ontospy/ontodocs/viz/viz_html_multi.py
@@ -30,10 +30,10 @@
super(KompleteViz, self).__init__(ontospy_graph, title)
self.static_files = [
"custom",
- "libs/bootswatch3_2",
- "libs/bootstrap-3_3_7-dist",
- "libs/jquery/1_12_4/",
- "libs/chartjs-2_4_0"
+ "libs/bootswatch",
+ "libs/bootstrap",
+ "libs/jquery",
+ "libs/chartjs"
]
self.theme = validate_theme(theme)
1001_fix_syntax_error.patch
1002_fix_error_msg.patch
1003_template_paths.patch
1004_library_paths.patch
2001_privacy.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment