Skip to content

Commit 6560277

Browse files
authored
Merge pull request #1120 from jdaugherty/7.0.x
documentation prep for 7.0.0-M4
2 parents 86ebb7d + 2092063 commit 6560277

File tree

2 files changed

+15
-26
lines changed

2 files changed

+15
-26
lines changed

gradle/docs-config.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,14 @@ tasks.register('guideDocs', Copy) {
7575

7676
tasks.register('copyGhPages', Copy) {
7777
group = 'documentation'
78-
description = 'Copy the ghpages.html file to the root docs directory'
79-
from(findProject(':core-docs').layout.projectDirectory.file('src/docs/index.tmpl'))
78+
description = 'Copy the ghpages.html file to the plugin docs directory'
79+
80+
from(findProject(':core-docs').layout.projectDirectory.dir('src/docs')) {
81+
include 'index.tmpl'
82+
rename('index.tmpl', 'ghpages.html')
83+
}
84+
8085
into(rootProject.layout.buildDirectory.dir('docs'))
81-
rename('index.tmpl', 'ghpages.html')
8286
}
8387

8488
tasks.register('copyGuide', Copy) {

plugin-core/docs/src/docs/index.tmpl

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,21 @@ img {
8585

8686
<div id="container">
8787
<h1>Grails Spring Security Core Plugin</h1>
88-
<table id="properties">
89-
<tbody>
90-
<tr>
91-
<td class="propName">Author</td>
92-
<td>Puneet Behl</td>
93-
</tr>
94-
</tbody>
95-
</table>
9688

9789
<hr />
9890

9991
<h2>Spring Security Core Plugin - Documentation</h2>
10092
<ul>
101-
<li><a href="/grails-spring-security/snapshot/index.html">Documentation Snapshot</a></li>
102-
<!-- <li><a href="/grails-spring-security/latest/index.html">Latest Documentation</a></li> -->
93+
<li><a href="/grails-spring-security/snapshot/core-plugin/guide/index.html">Documentation Snapshot</a></li>
94+
<!-- <li><a href="/grails-spring-security/latest/core-plugin/guide/index.html">Latest Documentation</a></li> -->
10395
</ul>
10496

105-
<h2>Grails 6.x.x and beyond</h2>
97+
<h2>Grails 7.x.x and beyond</h2>
98+
<ul>
99+
<li><a href="/grails-spring-security/7.0.x/core-plugin/guide/index.html">User guide</a></li>
100+
</ul>
101+
102+
<h2>Grails 6.x.x</h2>
106103
<ul>
107104
<li><a href="/grails-spring-security/6.0.x/index.html">User guide</a></li>
108105
</ul>
@@ -156,17 +153,5 @@ img {
156153
</p>
157154

158155
</div>
159-
160-
<script type="text/javascript">
161-
var _gaq = _gaq || [];
162-
_gaq.push(['_setAccount', 'UA-16219500-1']);
163-
_gaq.push(['_trackPageview']);
164-
165-
(function() {
166-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
167-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
168-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
169-
})();
170-
</script>
171156
</body>
172157
</html>

0 commit comments

Comments
 (0)