-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jovenden
committed
Jul 17, 2017
1 parent
dd94891
commit da5791d
Showing
46 changed files
with
178 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/assets/ | ||
/htdocs/2.4/ | ||
/htdocs/master/ | ||
/htdocs/3.*/ | ||
/vendor/ | ||
/modulesource/ | ||
/en/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<IfModule mod_rewrite.c> | ||
SetEnv HTTP_MOD_REWRITE On | ||
RewriteEngine On | ||
|
||
# "Symlink" the root to the latest release (with "moved temporarily") | ||
RewriteRule ^/?$ /en/3.6/ [R=302,L] | ||
|
||
# Remove trailing slashes, ensures the redirect to en works | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^(.*)/$ /$1 [L,R] | ||
|
||
# Lookup script (used to be a SS app, now just a simple script) | ||
RewriteCond %{REQUEST_URI} ^/search/lookup$ | ||
RewriteRule ^search/lookup /search/lookup.php [L,R=301,QSA] | ||
|
||
# "Symlink" a "current" folder to the latest release | ||
RewriteRule ^.*/current.*?(.*)? /en/3.6/$1 [R=301,L] | ||
|
||
# Rewrite trunk to master | ||
RewriteRule ^.*/trunk/.*(.*)? /en/master/$1 [L,R=301] | ||
|
||
# Docs are stored in en - serve from there | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_URI} !^.*/en/.*$ [NC] | ||
RewriteRule .* /en%{REQUEST_URI} [L,R=301] | ||
|
||
# Rewrite PHPDocumentor links for apigen | ||
RewriteCond %{REQUEST_FILENAME} !^class- | ||
RewriteRule ^/?(trunk|[23]\.[0-9])/.*/(.+)\.html$ /$1/class-$2.html [R=301] | ||
|
||
ErrorDocument 404 /errors/404.html | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
infrastructure: ^3 | ||
shared_dirs: | ||
mysite: | ||
modulesource: {} | ||
en: {} | ||
crons: | ||
mytask: | ||
time: "0 3 * * *" | ||
command: "/var/www/mysite/www/makedoc.sh | logger -t SilverStripe_cron" | ||
url_rules: | ||
mysite: | ||
- '^.*html': 'apache' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!doctype html> | ||
<!--[if lt IE 7 ]><html lang="en-GB" class="no-js lte6 lte7 lte8 lte9 lte10"><![endif]--> | ||
<!--[if IE 7 ]><html lang="en-GB" class="no-js lte7 lte8 lte9 lte10"><![endif]--> | ||
<!--[if IE 8 ]><html lang="en-GB" class="no-js lte8 lte9 lte10"><![endif]--> | ||
<!--[if IE 9 ]><html lang="en-GB" class="no-js lte9 lte10"><![endif]--> | ||
<!--[if (gt IE 9)|!(IE)]><!--><html lang="en-GB" class="no-js"><!--<![endif]--> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> | ||
<title>Page not found » SilverStripe API docs</title> | ||
<link rel="stylesheet" type="text/css" href="/errors/error-styles.css"> | ||
</head> | ||
<body> | ||
<div class="gif_holder"> | ||
<div class="color_overlay"> | ||
<div class="text_container"> | ||
<h2>Whoa 404, either we broke something or you had a typing mishap :-/</h2> | ||
<h3> Let's go back <a href="/">home.</a></h3> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.gif_holder { | ||
background-image: url('https://www.silverstripe.com/themes/ssv3/img/banners/page-not-found.gif'); | ||
position: relative; | ||
z-index: 807; | ||
-webkit-background-size: cover; | ||
-moz-background-size: cover; | ||
-o-background-size: cover; | ||
background-size: cover; | ||
background-position: 50% 50%; | ||
background-repeat: no-repeat; | ||
background-attachment: scroll; | ||
padding: 200px 0; | ||
height: 100vh; | ||
width: 100%; | ||
} | ||
|
||
.color_overlay { | ||
background-color: rgba(0,91,148,.8); | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.text_container { | ||
color: white; | ||
font-weight: 700; | ||
font-size: 50px; | ||
font-family: proxima-nova,'Helvetica Neue',Helvetica,Arial,sans-serif; | ||
margin: 0 auto; | ||
} | ||
|
||
h2 { | ||
margin: 200px 0 100px 0; | ||
text-align: center; | ||
} | ||
|
||
h3 { | ||
margin: 0; | ||
text-align: center; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
color: #43c7f4; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
body { | ||
padding: 0; | ||
margin: 0;" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters