aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/main/resources
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-09-03 13:39:58 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-09-04 08:55:02 +0200
commitcc3d4872f70cfebaf5d85c72af0030f526671915 (patch)
treeb8f75efddd4cb631b930b0d24efdbdcc4159ee73 /plugins/javadoc/src/main/resources
parent4d8e84396824b8a3d5d6e3e26ea4911fa944e3aa (diff)
downloaddokka-cc3d4872f70cfebaf5d85c72af0030f526671915.tar.gz
dokka-cc3d4872f70cfebaf5d85c72af0030f526671915.tar.bz2
dokka-cc3d4872f70cfebaf5d85c72af0030f526671915.zip
Javadoc version number is always 0.0.1 #1406
Diffstat (limited to 'plugins/javadoc/src/main/resources')
-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.korte29
3 files changed, 2 insertions, 31 deletions
diff --git a/plugins/javadoc/src/main/resources/views/components/head.korte b/plugins/javadoc/src/main/resources/views/components/head.korte
index fff6a0c8..6db0b31e 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 }}</title>
+ <title>{{ title }} {% if version != null %}{{ version }} API {% endif %}</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 f57d4ddf..84679fad 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 }}</h1>
+ <h1 {{ h1Title(kind)|raw }}class="title">{{ title }} {% if version != null %}{{ version }} API {% endif %}</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
deleted file mode 100644
index 92be7495..00000000
--- a/plugins/javadoc/src/main/resources/views/components/pageStart.korte
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE HTML>
-<!-- NewPage -->
-<html lang="en">
-<head>
-<title>$documentTitle ({{ title }} {{ version }} API)</title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<meta name="dc.created" content="{{ curDate() }}">
-<link rel="stylesheet" type="text/css" href="{{ pathToRoot }}stylesheet.css" title="Style">
-<link rel="stylesheet" type="text/css" href="{{ pathToRoot }}jquery/jquery-ui.css" title="Style">
-<script type="text/javascript" src="{{ pathToRoot }}script.js"></script>
-<script type="text/javascript" src="{{ pathToRoot }}jquery/jszip/dist/jszip.min.js"></script>
-<script type="text/javascript" src="{{ pathToRoot }}jquery/jszip-utils/dist/jszip-utils.min.js"></script>
-<!--[if IE]>
-<script type="text/javascript" src="{{ pathToRoot }}jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
-<![endif]-->
-<script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-{{ jQueryVersion() }}.js"></script>
-<script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-migrate-{{ jQueryMigrateVersion() }}.js"></script>
-<script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-ui.js"></script>
-</head>
-<body>
-<script type="text/javascript">
-var pathtoroot = "{{ pathToRoot }}";
-</script>
-<noscript>
-<div>JavaScript is disabled on your browser.</div>
-</noscript>
-<header role="banner">
-<nav role="navigation">
-<div class="fixedNav"> \ No newline at end of file