aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/javadoc/src/main/resources/views/components/base.korte9
-rw-r--r--plugins/javadoc/src/main/resources/views/components/head.korte2
-rw-r--r--plugins/javadoc/src/main/resources/views/components/indexPage.korte2
-rw-r--r--plugins/javadoc/src/main/resources/views/components/pageStart.korte12
4 files changed, 5 insertions, 20 deletions
diff --git a/plugins/javadoc/src/main/resources/views/components/base.korte b/plugins/javadoc/src/main/resources/views/components/base.korte
index 786f007c..6e2f6c4c 100644
--- a/plugins/javadoc/src/main/resources/views/components/base.korte
+++ b/plugins/javadoc/src/main/resources/views/components/base.korte
@@ -3,14 +3,7 @@
<html lang="en">
{%- include "components/head.korte" -%}
<body>
-<script type="text/javascript"><!--
-try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title = "adaptation (terrain-generator 0.0.1 API)";
- }
-} catch (err) {
-}
-//-->
+<script type="text/javascript">
var pathtoroot = "{{ pathToRoot }}";
</script>
<noscript>
diff --git a/plugins/javadoc/src/main/resources/views/components/head.korte b/plugins/javadoc/src/main/resources/views/components/head.korte
index 1b8a61ca..fff6a0c8 100644
--- a/plugins/javadoc/src/main/resources/views/components/head.korte
+++ b/plugins/javadoc/src/main/resources/views/components/head.korte
@@ -1,5 +1,5 @@
<head>
- <title>{{ title }} ({{ docName }} {{ version }})</title>
+ <title>{{ title }}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-03-25">
<link rel="stylesheet" type="text/css" href="{{ pathToRoot }}stylesheet.css" title="Style">
diff --git a/plugins/javadoc/src/main/resources/views/components/indexPage.korte b/plugins/javadoc/src/main/resources/views/components/indexPage.korte
index d22b89ea..f57d4ddf 100644
--- a/plugins/javadoc/src/main/resources/views/components/indexPage.korte
+++ b/plugins/javadoc/src/main/resources/views/components/indexPage.korte
@@ -1,6 +1,6 @@
<main role="main">
<div class="header">
- <h1 {{ h1Title(kind)|raw }}class="title">{{ title }} {{ version }} API</h1>
+ <h1 {{ h1Title(kind)|raw }}class="title">{{ title }}</h1>
</div>
<div class="header">
<div class="subtitle">
diff --git a/plugins/javadoc/src/main/resources/views/components/pageStart.korte b/plugins/javadoc/src/main/resources/views/components/pageStart.korte
index 56cf243e..92be7495 100644
--- a/plugins/javadoc/src/main/resources/views/components/pageStart.korte
+++ b/plugins/javadoc/src/main/resources/views/components/pageStart.korte
@@ -18,17 +18,9 @@
<script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-ui.js"></script>
</head>
<body>
-<script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="{{ documentTitle }} ({{ title }} {{ version }} API)";
- }
- }
- catch(err) {
- }
-//-->
+<script type="text/javascript">
var pathtoroot = "{{ pathToRoot }}";
-loadScripts(document, 'script');</script>
+</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>