Skip to content

Commit fccd45f

Browse files
authored
Merge pull request #32 from quartz-scheduler/zemian-doc-fix
Update site to point to new Quartz Documentation #31
2 parents fd49de5 + eec78d5 commit fccd45f

29 files changed

+150
-1343
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
_site
22
.sass-cache
33
.DS_Store
4+
.idea
5+
quartz-worktree/

404.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ <h3><i class="fa fa-chain-broken"></i> <i class="fa fa-frown-o"></i> Sorry!</
1212

1313
<ul>
1414
<li><a href="/downloads">Downloads</a></li>
15-
<li><a href="/documentation">Documentation</a> (Docs for older 1.x releases, such as 1.8.5, can be found within their download distribution archive.)</li>
16-
<li><a href="/about">About</a></li>
15+
<li><a href="/documentation">Documentation</a></li>
16+
<li><a href="/overview">About</a></li>
1717
</ul>
1818

19-
<p>Please consider letting us know about our dust : tc-oss@softwareag.com
19+
<p>Please consider letting us know about our dust : <a ref="https://github.com/quartz-scheduler/quartz-scheduler.org-site/issues">https://github.com/quartz-scheduler/quartz-scheduler.org-site/issues</a>
2020
</div>
2121
</div>

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ gem 'jekyll-sass-converter', '1.5.2'
1717

1818
# Generates a sitemap during Jekyll build
1919
gem 'jekyll-sitemap', '1.2.0'
20+
21+
# Avoid polling for changes:
22+
gem 'wdm', '>= 0.1.0' if Gem.win_platform?

Gemfile.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ GEM
1818
ethon (0.12.0)
1919
ffi (>= 1.3.0)
2020
eventmachine (1.2.7)
21+
eventmachine (1.2.7-x64-mingw32)
2122
ffi (1.10.0)
23+
ffi (1.10.0-x64-mingw32)
2224
forwardable-extended (2.6.0)
2325
html-proofer (3.9.2)
2426
activesupport (>= 4.2, < 6.0)
@@ -65,6 +67,8 @@ GEM
6567
minitest (5.11.3)
6668
nokogiri (1.8.5)
6769
mini_portile2 (~> 2.3.0)
70+
nokogiri (1.8.5-x64-mingw32)
71+
mini_portile2 (~> 2.3.0)
6872
parallel (1.13.0)
6973
pathutil (0.16.2)
7074
forwardable-extended (~> 2.6)
@@ -85,10 +89,12 @@ GEM
8589
ethon (>= 0.9.0)
8690
tzinfo (1.2.5)
8791
thread_safe (~> 0.1)
92+
wdm (0.1.1)
8893
yell (2.0.7)
8994

9095
PLATFORMS
9196
ruby
97+
x64-mingw32
9298

9399
DEPENDENCIES
94100
asciidoctor (= 1.5.8)
@@ -97,6 +103,7 @@ DEPENDENCIES
97103
jekyll-asciidoc (= 2.1.1)
98104
jekyll-sass-converter (= 1.5.2)
99105
jekyll-sitemap (= 1.2.0)
106+
wdm (>= 0.1.0)
100107

101108
BUNDLED WITH
102-
1.17.1
109+
1.16.1

README.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
### Instructions for building/previewing
1+
## Linking with quartz 3 repository
2+
3+
To generate the *full* site including Quartz docs, you need to link some Quartz directories in this repository.
4+
5+
You should do it for every version you want to work on.
6+
7+
```bash
8+
cd quartz-worktree
9+
git clone https://github.com/quartz-scheduler/quartz ${quartz-version}
10+
11+
# If you are on Windows, you would want to use "cp -r" instead of "ln -s"
12+
ln -s ${quartz-version}/docs ../documentation/${quartz-version}
13+
```
14+
15+
The `${quartz-version}` is the value set in `_config.yml` and it should be the latest
16+
quartz release version. If you want to build other version of quartz docs, you can
17+
add additional `${quartz-version}` that match to the git branch or tag. For examples:
18+
19+
|quartz-version |branch_or_tag |
20+
|---------------|--------------|
21+
|2.3.2-SNAPSHOT |quartz-2.3.x |
22+
|2.3.1 |quartz-2.3.1 |
23+
24+
## Instructions for building/previewing
225

326
* Install Jekyll if you have not - follow instructions on the Jekyll home page (after first installing Ruby)
427
[http://jekyllrb.com/](http://jekyllrb.com/)
@@ -11,15 +34,7 @@
1134
* Clone this repository to your local system (if you're going to contribute content, fork it first, and clone that)
1235
* cd into the "quartz.github.io" directory
1336

14-
15-
1637
* To generate and view the site "jekyll serve -w" ( then point your browser at http://localhost:4000" )
1738
* To generate the site "jekyll build"
1839

19-
---
20-
21-
22-
### TODOS:
23-
24-
* "About" -> "Features" page:
25-
* could still use some love, but isn't so bad anymore
40+
NOTE: On windows, you would need to run `bundle.bat exec jekyll serve -w` instead.

_config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ github_username: quartz-scheduler
99
linkedin_username: terracotta
1010
facebook_username: Terracotta
1111

12-
qtz_latest_version: 2.2.1
13-
qtz_latest_javadoc_version: 2.2.1
12+
asciidoc_attributes: &asciidoc_attributes
13+
quartz-version: 2.4.0-SNAPSHOT
1414

15+
asciidoctor:
16+
attributes: *asciidoc_attributes
1517

1618
exclude:
1719
- README.md
@@ -22,10 +24,11 @@ exclude:
2224
- azure-pipelines.yml
2325
- get-deps.sh
2426
- add-analytics.sh
27+
- .idea/
2528

2629
exclude_from_watch:
2730
- .idea/
28-
- _eh*/
31+
- quartz-worktree/
2932

3033

3134
# Build settings

_includes/about_intro.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<h2>What is the Quartz Job Scheduling Library?</h2>
33

4-
<p>Quartz is a <a href="/overview/features.html">richly featured</a>, open source job scheduling library that can be integrated within virtually any Java application - from the smallest stand-alone application to the largest e-commerce system. Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components that may execute virtually anything you may program them to do. The Quartz Scheduler includes many enterprise-class features, such as support for JTA transactions and clustering.</p>
4+
<p>Quartz is a <a href="/documentation/{{ site.asciidoc_attributes.quartz-version }}/introduction.html#features">richly featured</a>, open source job scheduling library that can be integrated within virtually any Java application - from the smallest stand-alone application to the largest e-commerce system. Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components that may execute virtually anything you may program them to do. The Quartz Scheduler includes many enterprise-class features, such as support for JTA transactions and clustering.</p>
55

66
<p>Quartz is freely usable, licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 license</a>.</p>

_includes/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-users"></i> Community <span class="caret"></span></a>
2424
<ul class="dropdown-menu">
2525
<li class="dropdown-header">We Love Contributors</li>
26-
<li><a href="/community/"><i class="fa fa-code"></i> Contributing</a></li>
26+
<li><a href="/documentation/{{ site.asciidoc_attributes.quartz-version }}/community.html"><i class="fa fa-code"></i> Contributing</a></li>
2727
<li role="separator" class="divider"></li>
2828
<li class="dropdown-header">Forums</li>
2929
<li><a href="https://groups.google.com/forum/#!forum/quartz-scheduler" target="_blank"><i class="fa fa-commenting"></i> Users' Forum</a></li>
@@ -40,7 +40,7 @@
4040
</ul>
4141
<ul class="nav navbar-nav navbar-right">
4242
<!-- <li id="site_mnu_events"><a href="/events"><i class="fa fa-calendar"></i> News & Events</a></li> -->
43-
<li><a href="http://blog.terracotta.org"><i class="fa fa-rss-square"></i> Blog</a></li>
43+
<li><a href="/blog/"><i class="fa fa-rss-square"></i> Blog</a></li>
4444
</ul>
4545
</div><!--/.nav-collapse -->
4646
</div>

_includes/home_announcement.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
2-
3-
<p>Please read our <a href="/overview">overview</a> for additional quick information.</p>

_includes/qtz_quickstart.html

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

0 commit comments

Comments
 (0)