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
1 parent
b5543e7
commit 7048e24
Showing
305 changed files
with
57,368 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
echo '' | ||
echo 'Build AssertJ Site ...' | ||
|
||
python generate-html.py | ||
|
||
./generate-bootstrap-css.sh | ||
./generate-assertj-css.sh |
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,6 @@ | ||
#!/bin/sh | ||
echo '' | ||
echo 'Generating assertj.css ...' | ||
lessc site/css/assertj.less > site/css/assertj.css | ||
echo 'Generating assertj.min.css ...' | ||
lessc --compress site/css/assertj.less > site/css/assertj.min.css |
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,6 @@ | ||
#!/bin/sh | ||
echo '' | ||
echo 'Generating bootstrap.css ...' | ||
lessc site/css/custom-bootstrap.less > site/css/bootstrap.css | ||
echo 'Generating bootstrap.min.css ...' | ||
lessc --compress site/css/custom-bootstrap.less > site/css/bootstrap.min.css |
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,59 @@ | ||
import os.path | ||
import string | ||
import glob | ||
|
||
print " " | ||
print "Generate assertj HTML files" | ||
|
||
# load content | ||
with open('site/assertj-top-menu.html') as menu_file: | ||
menu_content = menu_file.read() | ||
with open('site/assertj-head.html') as head_file: | ||
head_content = head_file.read() | ||
with open('site/assertj-footer.html') as footer_file: | ||
footer_content = footer_file.read() | ||
with open('site/assertj-javascript.html') as javascript_file: | ||
javascript_content = javascript_file.read() | ||
with open('site/assertj-core-side-menu.html') as assertj_core_side_menu_file: | ||
assertj_core_side_menu_content = assertj_core_side_menu_file.read() | ||
with open('site/assertj-news-side-menu.html') as assertj_news_side_menu_file: | ||
assertj_news_side_menu_content = assertj_news_side_menu_file.read() | ||
with open('site/assertj-guava-side-menu.html') as assertj_guava_side_menu_file: | ||
assertj_guava_side_menu_content = assertj_guava_side_menu_file.read() | ||
with open('site/assertj-neo4j-side-menu.html') as assertj_neo4j_side_menu_file: | ||
assertj_neo4j_side_menu_content = assertj_neo4j_side_menu_file.read() | ||
with open('site/assertj-joda-time-side-menu.html') as assertj_jodatime_side_menu_file: | ||
assertj_jodatime_side_menu_content = assertj_jodatime_side_menu_file.read() | ||
with open('site/assertj-assertions-generator-side-menu.html') as assertj_assertions_generator_side_menu_file: | ||
assertj_assertions_generator_side_menu_content = assertj_assertions_generator_side_menu_file.read() | ||
# stores it into a map for later substitution | ||
template_data_map = {'menu': menu_content, | ||
'head': head_content, | ||
'footer': footer_content, | ||
'javascript': javascript_content, | ||
'assertj_core_side_menu': assertj_core_side_menu_content, | ||
'assertj_news_side_menu': assertj_news_side_menu_content, | ||
'assertj_guava_side_menu': assertj_guava_side_menu_content, | ||
'assertj_neo4j_side_menu': assertj_neo4j_side_menu_content, | ||
'assertj_jodatime_side_menu': assertj_jodatime_side_menu_content, | ||
'assertj_assertions_generator_side_menu': assertj_assertions_generator_side_menu_content} | ||
|
||
initial_dir = os.getcwd() | ||
templates_dir = "templates" | ||
os.chdir(templates_dir) | ||
|
||
for template_file_name in glob.glob("*-template.html"): | ||
target_file_name = '../site/' + template_file_name.replace('-template.html', '.html') | ||
print "-- generate " + target_file_name + " from " + template_file_name | ||
# open the file and read content | ||
template_file_path = os.path.join(os.path.dirname(__file__), template_file_name) | ||
with open(template_file_path) as index_template_file: | ||
target_file_name_content = string.Template(index_template_file.read()) | ||
|
||
# resolve template variables | ||
target_file_name_content = target_file_name_content.safe_substitute(template_data_map) | ||
|
||
with open(target_file_name, "w") as target_file: | ||
target_file.write(target_file_name_content) | ||
|
||
os.chdir(initial_dir) |
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,14 @@ | ||
/assertj-assertions-generator-maven-plugin.html | ||
/assertj-assertions-generator.html | ||
/assertj-core-conditions.html | ||
/assertj-core-converting-junit-assertions-to-assertj.html | ||
/assertj-core-custom-assertions.html | ||
/assertj-core-features-highlight.html | ||
/assertj-core-migrating-from-fest.html | ||
/assertj-core-news.html | ||
/assertj-core-quick-start.html | ||
/assertj-core.html | ||
/assertj-guava.html | ||
/assertj-joda-time.html | ||
/assertj-neo4j.html | ||
/assertj-news.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,15 @@ | ||
<div class="col-md-2 assertj-sidebar-menu"> | ||
<div class="bs-sidebar hidden-print affix-top" role="complementary"> | ||
<ul class="bs-sidenav nav "> | ||
<li class="sidenav-header">Assertions generator</li> | ||
<li><a href="assertj-assertions-generator.html">Overview</a></li> | ||
<li><a href="assertj-assertions-generator.html#quickstart">Quick start</a></li> | ||
<li><a href="assertj-assertions-generator.html#news">News & releases</a></li> | ||
<li class="sidenav-header">Maven plugin</li> | ||
<li><a href="assertj-assertions-generator-maven-plugin.html">Overview</a></li> | ||
<li><a href="assertj-assertions-generator-maven-plugin.html#quickstart">Quick start</a></li> | ||
<li><a href="assertj-assertions-generator-maven-plugin.html#configuration">Configuration</a></li> | ||
<li><a href="assertj-assertions-generator-maven-plugin.html#news">News & releases</a></li> | ||
</ul> | ||
</div> | ||
</div> |
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,23 @@ | ||
<div class="col-md-2 assertj-sidebar-menu"> | ||
<div class="bs-sidebar hidden-print affix-top" role="complementary"> | ||
<ul class="bs-sidenav nav "> | ||
<li class="sidenav-header">Main</li> | ||
<li><a href="assertj-core.html">Overview</a></li> | ||
<li><a href="assertj-core-quick-start.html">Quick start</a></li> | ||
<li><a href="assertj-core-news.html">News & releases</a></li> | ||
<li><a href="assertj-core-features-highlight.html">Features highlight</a></li> | ||
<li><a href="assertj-core-conditions.html">Using conditions</a></li> | ||
<li><a href="assertj-core-custom-assertions.html">Custom assertions</a></li> | ||
<li><a href="http://joel-costigliola.github.io/assertj/core/api/index.html" target="_blank">Javadoc</a></li> | ||
<li><a href="assertj-core.html#mailing-list">Mailing list</a></li> | ||
<li><a href="assertj-core.html#code">Code & issues</a></li> | ||
<li><a href="assertj-core.html#contributing">Contributing</a></li> | ||
<li class="sidenav-header">Migrating</li> | ||
<li><a href="assertj-core-migrating-from-fest.html">From Fest 2.x</a></li> | ||
<li><a href="assertj-core-migrating-from-fest.html#fest-1.4">From Fest 1.4</a></li> | ||
<li class="sidenav-header">Tools</li> | ||
<li><a href="assertj-core-converting-junit-assertions-to-assertj.html">Converting JUnit assertions to AssertJ</a></li> | ||
<li><a href="assertj-assertions-generator.html">Assertions generator</a></li> | ||
</ul> | ||
</div> | ||
</div> |
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 @@ | ||
<br> | ||
<!-- | ||
<div class="container"> | ||
<footer> | ||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<p>AssertJ - Licensed under the Apache License, Version 2.0.</p> | ||
</div> | ||
</div> | ||
</footer> | ||
</div> | ||
--> |
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,15 @@ | ||
<div class="col-md-2 assertj-sidebar-menu"> | ||
<div class="bs-sidebar hidden-print affix-top" role="complementary"> | ||
<ul class="bs-sidenav nav "> | ||
<li class="sidenav-header"></li> | ||
<li><a href="assertj-guava.html">Overview</a></li> | ||
<li><a href="assertj-guava.html#quickstart">Quick start</a></li> | ||
<li><a href="assertj-guava.html#latest-release">Releases</a></li> | ||
<li><a href="http://joel-costigliola.github.io/assertj/guava/api/index.html" target="_blank">Javadoc</a></li> | ||
<li><a href="assertj-guava.html#migrating-from-fest">Migrating from Fest</a></li> | ||
<li><a href="assertj-guava.html#mailing-list">Mailing list</a></li> | ||
<li><a href="assertj-guava.html#code">Code & issues</a></li> | ||
<li><a href="assertj-guava.html#contributing">Contributing</a></li> | ||
</ul> | ||
</div> | ||
</div> |
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,17 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="AssertJ site"> | ||
<meta name="author" content="Joel Costigliola"> | ||
|
||
<title>AssertJ - A fluent assertion library for java</title> | ||
|
||
<!-- CSS --> | ||
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Inconsolata|Source+Code+Pro|Open+Sans|Ubuntu|Varela+Round|Karla"> | ||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet"> | ||
<script src="highlight/highlight.pack.js"></script> | ||
<link rel="stylesheet" href="highlight/styles/railscasts.css"> | ||
<script>hljs.initHighlightingOnLoad();</script> | ||
<link href="css/assertj.min.css" rel="stylesheet"> | ||
</head> |
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,4 @@ | ||
<script src="js/jquery-1.10.2.js"></script> | ||
<script src="js/bootstrap.js"></script> | ||
<script src="js/modern-business.js"></script> | ||
<script src="js/assertj.js"></script> |
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,16 @@ | ||
<div class="col-md-2 assertj-sidebar-menu"> | ||
<div class="bs-sidebar hidden-print affix-top" role="complementary"> | ||
<ul class="bs-sidenav nav "> | ||
<li class="sidenav-header"></li> | ||
<li><a href="assertj-joda-time.html">Overview</a></li> | ||
<li><a href="assertj-joda-time.html#quickstart">Quick start</a></li> | ||
<li><a href="assertj-joda-time.html#tips">Tips and tricks</a></li> | ||
<li><a href="assertj-joda-time.html#latest-release">Releases</a></li> | ||
<li><a href="http://joel-costigliola.github.io/assertj/jodatime/api/index.html" target="_blank">Javadoc</a></li> | ||
<li><a href="assertj-joda-time.html#migrating-from-fest">Migrating from Fest</a></li> | ||
<li><a href="assertj-joda-time.html#mailing-list">Mailing list</a></li> | ||
<li><a href="assertj-joda-time.html#code">Code & issues</a></li> | ||
<li><a href="assertj-joda-time.html#contributing">Contributing</a></li> | ||
</ul> | ||
</div> | ||
</div> |
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,14 @@ | ||
<div class="col-md-2 assertj-sidebar-menu"> | ||
<div class="bs-sidebar hidden-print affix-top" role="complementary"> | ||
<ul class="bs-sidenav nav "> | ||
<li class="sidenav-header"></li> | ||
<li><a href="assertj-neo4j.html">Overview</a></li> | ||
<li><a href="assertj-neo4j.html#quickstart">Quick start</a></li> | ||
<li><a href="assertj-neo4j.html#latest-release">Releases</a></li> | ||
<li><a href="http://joel-costigliola.github.io/assertj/neo4j/api/index.html" target="_blank">Javadoc</a></li> | ||
<li><a href="assertj-neo4j.html#mailing-list">Mailing list</a></li> | ||
<li><a href="assertj-neo4j.html#code">Code & issues</a></li> | ||
<li><a href="assertj-neo4j.html#contributing">Contributing</a></li> | ||
</ul> | ||
</div> | ||
</div> |
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 @@ | ||
<div class="col-md-2 assertj-sidebar-menu"> | ||
<div class="bs-sidebar hidden-print affix-top" role="complementary"> | ||
<ul class="bs-sidenav nav "> | ||
<li class="sidenav-header">Releases</li> | ||
<li><a href="assertj-core-news.html">Core assertions</a></li> | ||
<li><a href="assertj-assertions-generator.html#news">Assertions generator</a></li> | ||
<li><a href="assertj-guava.html#latest-release">Guava assertions</a></li> | ||
<li><a href="assertj-joda-time.html#latest-release">Joda-Time assertions</a></li> | ||
<li><a href="assertj-neo4j.html#latest-release">Neo4j assertions</a></li> | ||
</ul> | ||
</div> | ||
</div> |
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,27 @@ | ||
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<!-- You'll want to use a responsive image option so this logo looks good on devices - I recommend using something like retina.js (do a quick Google search for it and you'll find it) --> | ||
<a class="navbar-brand" href="index.html">AssertJ / Fluent assertions for java</a> | ||
</div> | ||
|
||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse navbar-ex1-collapse"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="assertj-core-quick-start.html">Quick start</a></li> | ||
<li><a href="assertj-news.html">News</a></li> | ||
<li><a href="assertj-core.html">Core</a></li> | ||
<li><a href="assertj-assertions-generator.html">Assertions generator</a></li> | ||
<li><a href="assertj-guava.html">Guava</a></li> | ||
<li><a href="assertj-joda-time.html">Joda-Time</a></li> | ||
<li><a href="assertj-neo4j.html">Neo4j</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> |
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,4 @@ | ||
/assertj.css | ||
/assertj.min.css | ||
/bootstrap.css | ||
/bootstrap.min.css |
Oops, something went wrong.