Skip to content

Commit e49226d

Browse files
committed
New landing page
1 parent 95d127d commit e49226d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+14569
-588
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_site

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# frozen_string_literal: true
2+
source "https://rubygems.org"
3+
4+
gem "jekyll"

Gemfile.lock

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.5.1)
5+
public_suffix (~> 2.0, >= 2.0.2)
6+
colorator (1.1.0)
7+
ffi (1.9.18)
8+
forwardable-extended (2.6.0)
9+
jekyll (3.4.3)
10+
addressable (~> 2.4)
11+
colorator (~> 1.0)
12+
jekyll-sass-converter (~> 1.0)
13+
jekyll-watch (~> 1.1)
14+
kramdown (~> 1.3)
15+
liquid (~> 3.0)
16+
mercenary (~> 0.3.3)
17+
pathutil (~> 0.9)
18+
rouge (~> 1.7)
19+
safe_yaml (~> 1.0)
20+
jekyll-sass-converter (1.5.0)
21+
sass (~> 3.4)
22+
jekyll-watch (1.5.0)
23+
listen (~> 3.0, < 3.1)
24+
kramdown (1.13.2)
25+
liquid (3.0.6)
26+
listen (3.0.8)
27+
rb-fsevent (~> 0.9, >= 0.9.4)
28+
rb-inotify (~> 0.9, >= 0.9.7)
29+
mercenary (0.3.6)
30+
pathutil (0.14.0)
31+
forwardable-extended (~> 2.6)
32+
public_suffix (2.0.5)
33+
rb-fsevent (0.9.8)
34+
rb-inotify (0.9.8)
35+
ffi (>= 0.5.0)
36+
rouge (1.11.1)
37+
safe_yaml (1.0.4)
38+
sass (3.4.24)
39+
40+
PLATFORMS
41+
ruby
42+
43+
DEPENDENCIES
44+
jekyll
45+
46+
BUNDLED WITH
47+
1.13.6

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# PMD Landing Page
2+
3+
The Jekyll theme used is [landing page jekyll theme](https://github.com/swcool/landing-page-theme).
4+
It is based on [landing-page bootstrap theme ](http://startbootstrap.com/templates/landing-page/).

_config.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

_config.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# ----------------------- #
2+
# Main Configs #
3+
# ----------------------- #
4+
5+
url: https://pmd.github.io
6+
title: PMD
7+
8+
author: PMD
9+
description: PMD is a source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth.
10+
keywords: PMD,Java,Salesforce.com Apex,Code Analyzer,Clean Code,Software Development
11+
copyright: 'Copyright &copy; 2017 PMD. All Rights Reserved.'
12+
credits: 'Credits: <a href="https://github.com/swcool/landing-page-theme">Landing Page Theme</a>, based on free to use, open source Bootstrap theme created by <a href="http://startbootstrap.com/">Start Bootstrap</a>.'
13+
14+
exclude:
15+
- .gitignore
16+
- README.md
17+
18+
# to speed up local builds, exclude the following, too:
19+
# - 'pmd-5*'
20+
# - latest
21+
22+
# ----------------------- #
23+
# PMD vars #
24+
# ----------------------- #
25+
pmd:
26+
latestVersion: 5.7.0
27+
latestVersionDate: 20th May 2017
28+
downloads:
29+
- version: 5.6.1
30+
date: 29th April 2017
31+
- version: 5.5.7
32+
date: 29th April 2017
33+
34+
# ----------------------- #
35+
# Jekyll & Plugins #
36+
# ----------------------- #
37+
38+
# Build settings
39+
markdown: kramdown
40+
permalink: pretty
41+
42+
# ----------------------- #
43+
# 3rd Party Settings #
44+
# ----------------------- #
45+
46+
social:
47+
- title: github
48+
url: https://github.com/pmd/pmd

_includes/about.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- About Section -->
2+
<section id="about" class="container content-section text-center">
3+
<div class="row">
4+
<div class="col-lg-8 col-lg-offset-2">
5+
<br/><br/>
6+
<h2>About PMD</h2>
7+
<br/>
8+
<p>PMD is a source code analyzer. It finds common programming flaws like
9+
unused variables, empty catch blocks, unnecessary object creation, and so forth.
10+
It supports Java, JavaScript, Salesforce.com Apex and Visualforce, PLSQL, Apache Velocity, XML, XSL.</p>
11+
12+
<p>Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
13+
in Java, C, C++, C#, Groovy, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Scala, Objective C,
14+
Matlab, Python, Go, Swift and Salesforce.com Apex and Visualforce.</p>
15+
16+
<br/>
17+
</div>
18+
</div>
19+
</section>

_includes/downloads.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!-- Downloads Section -->
2+
<section id="downloads" class="container content-section">
3+
<div class="row">
4+
<div class="col-lg-8 col-lg-offset-2">
5+
<br/><br/>
6+
<h2 class="text-center">Downloads</h2>
7+
<br/>
8+
9+
<h3>{{ site.pmd.latestVersion }} ({{ site.pmd.latestVersionDate }})</h3>
10+
<ul>
11+
<li><a href="https://pmd.github.io/pmd-{{ site.pmd.latestVersion }}/overview/changelog.html">Release Notes</a></li>
12+
<li><a href="https://github.com/pmd/pmd/releases/download/pmd_releases%2F{{ site.pmd.latestVersion }}/pmd-bin-{{ site.pmd.latestVersion }}.zip">Download</a>
13+
(<a href="https://github.com/pmd/pmd/releases/download/pmd_releases%2F{{ site.pmd.latestVersion }}/pmd-src-{{ site.pmd.latestVersion }}.zip">Sourcecode</a>,
14+
<a href="https://github.com/pmd/pmd/releases/download/pmd_releases%2F{{ site.pmd.latestVersion }}/pmd-doc-{{ site.pmd.latestVersion }}.zip">Documentation</a>)</li>
15+
<li><a href="https://pmd.github.io/pmd-{{ site.pmd.latestVersion }}/index.html">Online Documentation</a></li>
16+
</ul>
17+
18+
{% for download in site.pmd.downloads %}
19+
<h3>{{ download.version }} ({{ download.date }})</h3>
20+
<ul>
21+
<li><a href="https://pmd.github.io/pmd-{{ download.version }}/overview/changelog.html">Release Notes</a></li>
22+
<li><a href="https://github.com/pmd/pmd/releases/download/pmd_releases%2F{{ download.version }}/pmd-bin-{{ download.version }}.zip">Download</a>
23+
(<a href="https://github.com/pmd/pmd/releases/download/pmd_releases%2F{{ download.version }}/pmd-src-{{ download.version }}.zip">Sourcecode</a>,
24+
<a href="https://github.com/pmd/pmd/releases/download/pmd_releases%2F{{ download.version }}/pmd-doc-{{ download.version }}.zip">Documentation</a>)</li>
25+
<li><a href="https://pmd.github.io/pmd-{{ download.version }}/index.html">Online Documentation</a></li>
26+
</ul>
27+
{% endfor %}
28+
29+
</div>
30+
</div>
31+
</section>

_includes/footer.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!-- Footer -->
2+
<footer>
3+
<div class="container">
4+
<div class="row">
5+
<div class="col-md-8">
6+
<ul class="list-inline">
7+
<li>
8+
<a href="{{ site.baseUrl }}/#home">Home</a>
9+
</li>
10+
<li class="footer-menu-divider">&sdot;</li>
11+
<li>
12+
<a href="https://pmd.github.io/pmd-{{ site.pmd.latestVersion }}/">Documentation</a>
13+
</li>
14+
<li class="footer-menu-divider">&sdot;</li>
15+
<li>
16+
<a href="https://github.com/pmd/pmd/issues">Bugs</a>
17+
</li>
18+
<li class="footer-menu-divider">&sdot;</li>
19+
<li>
20+
<a href="{{ site.baseUrl }}/#about">About</a>
21+
</li>
22+
<li class="footer-menu-divider">&sdot;</li>
23+
<li>
24+
<a href="{{ site.baseUrl }}/#news">News</a>
25+
</li>
26+
<li class="footer-menu-divider">&sdot;</li>
27+
<li>
28+
<a href="{{ site.baseUrl }}/#support">Support</a>
29+
</li>
30+
<li class="footer-menu-divider">&sdot;</li>
31+
<li>
32+
<a href="{{ site.baseUrl }}/#downloads">Downloads</a>
33+
</li>
34+
<li class="footer-menu-divider">&sdot;</li>
35+
<li>
36+
<a href="{{ site.baseUrl }}/#plugins">Plugins</a>
37+
</li>
38+
</ul>
39+
<p class="copyright text-muted small">{{ site.copyright }}</p>
40+
</div>
41+
<div class="col-md-4">
42+
{{ site.credits }}
43+
</div>
44+
</div>
45+
</div>
46+
</footer>

_includes/head.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<head>
2+
3+
<meta charset="utf-8">
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<meta name="description" content="{{ site.description }}">
7+
<meta name="keywords" content="{{ site.keywords }}">
8+
<meta name="author" content="{{ site.author }}">
9+
10+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
11+
12+
<!-- Bootstrap Core CSS -->
13+
<link href="{{ "/css/bootstrap.min.css" | relative_url }}" rel="stylesheet">
14+
15+
<!-- Custom CSS -->
16+
<link href="{{ "/css/landing-page.css" | relative_url }}" rel="stylesheet">
17+
18+
<!-- Custom Fonts -->
19+
<link href="{{ "/font-awesome-4.1.0/css/font-awesome.min.css" | relative_url }}" rel="stylesheet" type="text/css">
20+
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
21+
22+
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
23+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
24+
<!--[if lt IE 9]>
25+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
26+
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
27+
<![endif]-->
28+
29+
</head>

0 commit comments

Comments
 (0)