Skip to content

Commit

Permalink
Update docs templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jun 25, 2024
1 parent 9db315d commit 23caa30
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 51 deletions.
14 changes: 7 additions & 7 deletions grace-docs/src/main/resources/grails/doc/doc.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# javadoc alias used to link to external javadocs in the form [HttpServletRequest|api:javax.servlet.http.HttpServletRequest]
api.org.hibernate=http://docs.jboss.org/hibernate/orm/4.3/javadocs/
api.org.grails=http://grails.org/doc/latest/api
api.org.codehaus.groovy.grails=http://grails.org/doc/latest/api
api.org.springframework=http://docs.spring.io/spring/docs/current/javadoc-api/
api.javax.servlet=http://docs.oracle.com/javaee/6/api/
api.java.=http://docs.oracle.com/javase/7/docs/api/
api.org.hibernate=https://docs.jboss.org/hibernate/orm/4.3/javadocs/
api.org.grails=https://grails.org/doc/latest/api
api.org.codehaus.groovy.grails=https://grails.org/doc/latest/api
api.org.springframework=https://docs.spring.io/spring/docs/current/javadoc-api/
api.javax.servlet=https://docs.oracle.com/javaee/6/api/
api.java.=https://docs.oracle.com/javase/7/docs/api/

# Regular expression to parse out source code
source.tag.regex=/\s*?def\s+?[a-zA-Z]+?\s*?=\s*?\{\s*?attrs\s*?,{0,1}\s*?body{0,1}\s*?->.+?/

# logos
logo=<a href="http://grails.org" target="_blank"><img alt="The Grails Framework" src="../img/grails-cupsonly-logo-white.svg" border="0"/></a>
logo=<a href="https://graceframework.org" target="_blank"><img alt="Grace Framework" src="../img/grace.png" border="0"/></a>
6 changes: 3 additions & 3 deletions grace-docs/src/main/template/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ strong {
}

#main.reference h1 {
color: #feb672;
color: #f49b06;
}

.local {
Expand Down Expand Up @@ -189,7 +189,7 @@ strong {

#table-of-content a:hover {
text-decoration: none;
border-right: 2px solid #feb672;
border-right: 2px solid #f49b06;
}

/*
Expand Down Expand Up @@ -376,7 +376,7 @@ strong {
}

#main h1:hover .anchor, #main h2:hover .anchor, #main h3:hover .anchor, #main h4:hover .anchor, #main h5:hover .anchor, #main h6:hover .anchor {
color: #feb672;
color: #f49b06;
color: var(--color-brand-primary);
visibility: visible;
}
Expand Down
4 changes: 2 additions & 2 deletions grace-docs/src/main/template/css/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ a:hover,
#navigation #nav-summary-childs a:hover,
#main h1,
#main h2 {
color: #feb672;
color: #f49b06;
font-weight: bold;
}

Expand Down Expand Up @@ -119,7 +119,7 @@ a:hover,

.navTitle {
color:#fff;
background: url(../img/grails.svg) no-repeat 0 center;
background: url(../img/grace.svg) no-repeat 0 center;
background-size: 80px;
padding-left: 90px;
width: 180px;
Expand Down
Binary file modified grace-docs/src/main/template/img/favicon.ico
Binary file not shown.
Binary file added grace-docs/src/main/template/img/grace-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added grace-docs/src/main/template/img/grace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions grace-docs/src/main/template/img/grace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 0 additions & 26 deletions grace-docs/src/main/template/img/grails-cupsonly-logo-white.svg

This file was deleted.

Binary file removed grace-docs/src/main/template/img/grails-icon.png
Binary file not shown.
Binary file removed grace-docs/src/main/template/img/grails.png
Binary file not shown.
Loading

0 comments on commit 23caa30

Please sign in to comment.