aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/main
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-07-21 15:59:48 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-23 16:05:14 +0200
commite797533624293ada87eae41331b97df87101f366 (patch)
treee03b5ecfb587128b6f55201bdf3d39fedef3dc1e /plugins/javadoc/src/main
parent10fbd60612b2668afa2e430851773741e6debcd6 (diff)
downloaddokka-e797533624293ada87eae41331b97df87101f366.tar.gz
dokka-e797533624293ada87eae41331b97df87101f366.tar.bz2
dokka-e797533624293ada87eae41331b97df87101f366.zip
Remove leftover from javadoc
Diffstat (limited to 'plugins/javadoc/src/main')
-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>