-
Notifications
You must be signed in to change notification settings - Fork 22
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
0 parents
commit 3492b9e
Showing
58 changed files
with
5,930 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,2 @@ | ||
_site | ||
.sass-cache |
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 @@ | ||
question2answer.org |
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,3 @@ | ||
source 'https://rubygems.org' | ||
gem 'github-pages' | ||
gem 'jekyll-redirect-from' |
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,144 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
RedCloth (4.2.9) | ||
activesupport (4.2.5) | ||
i18n (~> 0.7) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
addressable (2.3.8) | ||
blankslate (2.1.2.4) | ||
classifier-reborn (2.0.4) | ||
fast-stemmer (~> 1.0) | ||
coffee-script (2.4.1) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.10.0) | ||
colorator (0.1) | ||
ethon (0.8.0) | ||
ffi (>= 1.3.0) | ||
execjs (2.6.0) | ||
faraday (0.9.2) | ||
multipart-post (>= 1.2, < 3) | ||
fast-stemmer (1.0.2) | ||
ffi (1.9.10) | ||
gemoji (2.1.0) | ||
github-pages (40) | ||
RedCloth (= 4.2.9) | ||
github-pages-health-check (= 0.5.3) | ||
jekyll (= 2.4.0) | ||
jekyll-coffeescript (= 1.0.1) | ||
jekyll-feed (= 0.3.1) | ||
jekyll-gist (= 1.4.0) | ||
jekyll-mentions (= 0.2.1) | ||
jekyll-paginate (= 1.1.0) | ||
jekyll-redirect-from (= 0.8.0) | ||
jekyll-sass-converter (= 1.3.0) | ||
jekyll-sitemap (= 0.9.0) | ||
jemoji (= 0.5.0) | ||
kramdown (= 1.9.0) | ||
liquid (= 2.6.2) | ||
maruku (= 0.7.0) | ||
mercenary (~> 0.3) | ||
pygments.rb (= 0.6.3) | ||
rdiscount (= 2.1.8) | ||
redcarpet (= 3.3.3) | ||
terminal-table (~> 1.4) | ||
github-pages-health-check (0.5.3) | ||
addressable (~> 2.3) | ||
net-dns (~> 0.8) | ||
public_suffix (~> 1.4) | ||
typhoeus (~> 0.7) | ||
html-pipeline (1.9.0) | ||
activesupport (>= 2) | ||
nokogiri (~> 1.4) | ||
i18n (0.7.0) | ||
jekyll (2.4.0) | ||
classifier-reborn (~> 2.0) | ||
colorator (~> 0.1) | ||
jekyll-coffeescript (~> 1.0) | ||
jekyll-gist (~> 1.0) | ||
jekyll-paginate (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.3) | ||
liquid (~> 2.6.1) | ||
mercenary (~> 0.3.3) | ||
pygments.rb (~> 0.6.0) | ||
redcarpet (~> 3.1) | ||
safe_yaml (~> 1.0) | ||
toml (~> 0.1.0) | ||
jekyll-coffeescript (1.0.1) | ||
coffee-script (~> 2.2) | ||
jekyll-feed (0.3.1) | ||
jekyll-gist (1.4.0) | ||
octokit (~> 4.2) | ||
jekyll-mentions (0.2.1) | ||
html-pipeline (~> 1.9.0) | ||
jekyll (~> 2.0) | ||
jekyll-paginate (1.1.0) | ||
jekyll-redirect-from (0.8.0) | ||
jekyll (>= 2.0) | ||
jekyll-sass-converter (1.3.0) | ||
sass (~> 3.2) | ||
jekyll-sitemap (0.9.0) | ||
jekyll-watch (1.3.0) | ||
listen (~> 3.0) | ||
jemoji (0.5.0) | ||
gemoji (~> 2.0) | ||
html-pipeline (~> 1.9) | ||
jekyll (>= 2.0) | ||
json (1.8.3) | ||
kramdown (1.9.0) | ||
liquid (2.6.2) | ||
listen (3.0.5) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9) | ||
maruku (0.7.0) | ||
mercenary (0.3.5) | ||
mini_portile2 (2.0.0) | ||
minitest (5.8.3) | ||
multipart-post (2.0.0) | ||
net-dns (0.8.0) | ||
nokogiri (1.6.7.1) | ||
mini_portile2 (~> 2.0.0.rc2) | ||
octokit (4.2.0) | ||
sawyer (~> 0.6.0, >= 0.5.3) | ||
parslet (1.5.0) | ||
blankslate (~> 2.0) | ||
posix-spawn (0.3.11) | ||
public_suffix (1.5.3) | ||
pygments.rb (0.6.3) | ||
posix-spawn (~> 0.3.6) | ||
yajl-ruby (~> 1.2.0) | ||
rb-fsevent (0.9.7) | ||
rb-inotify (0.9.5) | ||
ffi (>= 0.5.0) | ||
rdiscount (2.1.8) | ||
redcarpet (3.3.3) | ||
safe_yaml (1.0.4) | ||
sass (3.4.20) | ||
sawyer (0.6.0) | ||
addressable (~> 2.3.5) | ||
faraday (~> 0.8, < 0.10) | ||
terminal-table (1.5.2) | ||
thread_safe (0.3.5) | ||
toml (0.1.2) | ||
parslet (~> 1.5.0) | ||
typhoeus (0.8.0) | ||
ethon (>= 0.8.0) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
yajl-ruby (1.2.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
github-pages | ||
jekyll-redirect-from | ||
|
||
BUNDLED WITH | ||
1.11.2 |
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,98 @@ | ||
[](https://travis-ci.org/fulldecent/question2answer.org) | ||
|
||
# Question2Answer Website | ||
|
||
RIGHT NOW, the http://www.question2answer.org/ site is hosted personally by Gideon Greenspan. This project proposes to replace that website with something that is easier for the public to share in maintaining and improving. Otherwise, changes during the transition are minimized. | ||
|
||
YOU CAN PREVIEW THIS NEW WEBSITE AT https://fulldecent.github.io/question2answer.org/ WHICH IS GENERATED, LIVE, FROM THIS SOURCE IN THIS REPOSITORY. | ||
|
||
Benefits of this candidate to replace the current website: | ||
|
||
* Changes are *very* simple for casual contributors | ||
* Authority to accept updates may be delegated (accept pull requests) | ||
* The website can be updated immediately when changes are approved | ||
* Continuous integration testing provided by Travis CI | ||
* Jekyll is the most popular tool for documentation / website generation on GitHub projects | ||
|
||
|
||
## Project status | ||
|
||
This project is **currently in BETA status**. Please leave issues or pull requests for anything you would like to improve. SCOPE OF THIS PROJECT AT THIS TIME IS TO REPLACE http://www.question2answer.org/, PLEASE SAVE MORE AMBITIOUS PLANS (RETHEMING, UPDATING CONTENT, ETC.) UNTIL AFTER THE SWITCHOVER. | ||
|
||
Following are items not yet completed: | ||
|
||
- [ ] Ensure all integration tests pass -- `htmlproof --disable-external _site/` or see Travis output | ||
- [x] Copy all pages: | ||
- [x] http://www.question2answer.org | ||
- [x] http://www.question2answer.org/addons.php | ||
- [x] http://www.question2answer.org/addons.php?old=1 | ||
- [x] http://www.question2answer.org/bot.php | ||
- [x] http://www.question2answer.org/developers.php | ||
- [x] http://www.question2answer.org/external.php | ||
- [x] http://www.question2answer.org/feedback.php | ||
- [x] http://www.question2answer.org/functions.php | ||
- [x] http://www.question2answer.org/install.php | ||
- [x] http://www.question2answer.org/layers.php | ||
- [x] http://www.question2answer.org/license.php | ||
- [x] http://www.question2answer.org/modules.php | ||
- [x] http://www.question2answer.org/developers-modules-captcha | ||
- [x] http://www.question2answer.org/developers-modules-editor | ||
- [x] http://www.question2answer.org/developers-modules-event | ||
- [x] http://www.question2answer.org/developers-modules-filter | ||
- [x] http://www.question2answer.org/developers-modules-login | ||
- [x] http://www.question2answer.org/developers-modules-page | ||
- [x] http://www.question2answer.org/developers-modules-process | ||
- [x] http://www.question2answer.org/developers-modules-search | ||
- [x] http://www.question2answer.org/developers-modules-viewer | ||
- [x] http://www.question2answer.org/developers-modules-widget | ||
- [x] http://www.question2answer.org/optimize.php | ||
- [x] http://www.question2answer.org/overrides.php | ||
- [x] http://www.question2answer.org/plugins-tutorial.php | ||
- [x] http://www.question2answer.org/plugins.php | ||
- [x] http://www.question2answer.org/secure.php | ||
- [x] http://www.question2answer.org/services.html | ||
- [x] http://www.question2answer.org/single-sign-on.php | ||
- [x] http://www.question2answer.org/sites.php | ||
- [x] http://www.question2answer.org/developers-themes.html | ||
- [x] http://www.question2answer.org/translate.php | ||
- [x] http://www.question2answer.org/versions.php | ||
- [x] http://www.question2answer.org/wordpress.php | ||
- [x] Fix redirects from old URLs -- see https://github.com/jekyll/jekyll-redirect-from/issues/92 -- FAIL: it is not possible for GitHub pages to redirect from the old *.php URLs, there will be a few broken URLs and there is nothing we can do about this | ||
- [x] Validate all HTML | ||
- [x] Add sub-nav for INSTALL PAGES, etc. | ||
- [x] https://stackoverflow.com/questions/34568526/php-built-in-webserver-with-extensionless-urls | ||
Check that all links works and are relative where appropriate | ||
|
||
|
||
## How to Contribute | ||
|
||
This site is created and hosted on GitHub pages, which is built on Jekyll. Documentation for creating a local development environment with these tools is at: | ||
|
||
- https://help.github.com/articles/using-jekyll-with-pages/ | ||
|
||
To run this site locally, type: | ||
|
||
bundle exec jekyll serve | ||
|
||
To run the validation suite: | ||
|
||
jekyll build && htmlproof --disable-external --check-html _site/ | ||
|
||
Then access: | ||
|
||
> http://localhost:4000/question2answer.org/ | ||
|
||
## Deployment | ||
|
||
When this project is ready for release, the following steps will complete the deployment: | ||
|
||
- [ ] Create **sites.question2answer.org** server and move `sites.php` to there (https://github.com/q2a/question2answer/issues/344) | ||
- [ ] Create **qa.question2answer.org** server and move `/qa/` to there (https://github.com/q2a/question2answer/issues/345) | ||
- [ ] Add all third-party language packs to the GitHub release, they should not be stored on this server (https://github.com/q2a/question2answer/issues/343) | ||
- [ ] Move this repository to https://github.com/q2a/question2answer.org this will cause this website to be built at https://q2a.github.io/question2answer.org/ (temporarily) and it will allow GitHub servers to respond to HTTP requests for question2answer.org | ||
- [ ] Add a public email address for contact at http://codelair.com/ (GitHub pages does not allow PHP contact forms, we are referencing this contact information from feedback.md) (https://github.com/q2a/question2answer/issues/346) | ||
- [ ] Update `baseurl` and `url` in `_config.yml` to be `/` and `http://question2answer.org` or `https://question2answer.org` | ||
- [ ] Set up DNS for question2answer.org to be a CNAME for q2a.github.io (see https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/) | ||
|
||
After these deployment steps are complete, a new project will exist at https://github.com/q2a/question2answer.org. Then the scope of this project will change to include material updates to the website (spelling/grammar fixes, documentation content, new content, updated theme, etc.) |
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 @@ | ||
# Site settings | ||
title: Question2Answer - Free Open Source Q&A Software for PHP | ||
email: [email protected] | ||
baseurl: "/question2answer.org/" # the subpath of your site, e.g. /blog/ | ||
url: "https://fulldecent.github.io" # the base hostname & protocol for your site | ||
|
||
# Build settings | ||
markdown: kramdown | ||
|
||
exclude: ['/vendor'] | ||
|
||
#gems: | ||
# - jekyll-redirect-from | ||
#whitelist: | ||
# - jekyll-redirect-from |
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 @@ | ||
<div class="qa-footer-bottom-group"> | ||
<div class="qa-footer"> | ||
<div class="qa-nav-footer"> | ||
<ul class="qa-nav-footer-list"> | ||
<li class="qa-nav-footer-item"> | ||
<a href="feedback.html" class="qa-nav-footer-link">Send feedback</a> | ||
</li> | ||
<li class="qa-nav-footer-item"> | ||
<a href="https://github.com/q2a/question2answer/releases" class="qa-nav-footer-link">Version history</a> | ||
</li> | ||
<li class="qa-nav-footer-item"> | ||
<a href="license.html" class="qa-nav-footer-link">License details</a> | ||
</li> | ||
<li class="qa-nav-footer-item"> | ||
<a href="http://demo.question2answer.org/" class="qa-nav-footer-link">Demo sandbox</a> | ||
</li> | ||
</ul> | ||
<div class="qa-nav-footer-clear"> | ||
</div> | ||
</div> | ||
<div class="qa-attribution"> | ||
Created by <a href="http://www.gidgreen.com/">Gideon Greenspan</a> and <a href="https://github.com/q2a/question2answer/graphs/contributors">contributors</a>. | ||
</div> | ||
<div class="qa-footer-clear"> | ||
</div> | ||
</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,11 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width initial-scale=1" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
|
||
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title }}{% endif %}</title> | ||
<meta name="description" content="{{ site.description }}"> | ||
|
||
<link rel="stylesheet" href="css/main.css"> | ||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
</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,7 @@ | ||
<div class="qa-header"> | ||
<div class="qa-logo"> | ||
<a href="./" class="qa-logo-link"><img src="images/question2answer-logo-350x40.png" style="padding-top:8px;" width="350" height="40" border="0" alt="Question2Answer"></a> | ||
</div> | ||
<div class="qa-header-clear"> | ||
</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,33 @@ | ||
<div class="qa-nav-sub"> | ||
<ul class="qa-nav-sub-list"> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-translate.html" class="qa-nav-sub-link">Translate</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-themes.html" class="qa-nav-sub-link">Themes</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-external.html" class="qa-nav-sub-link">External</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-functions.html" class="qa-nav-sub-link">Functions</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-plugins.html" class="qa-nav-sub-link">Plugins</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-plugins-tutorial.html" class="qa-nav-sub-link">Plugin Tutorial</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-modules.html" class="qa-nav-sub-link">Modules</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-layers.html" class="qa-nav-sub-link">Layers</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="developers-overrides.html" class="qa-nav-sub-link">Overrides</a> | ||
</li> | ||
</ul> | ||
<div class="qa-nav-sub-clear"> | ||
</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,21 @@ | ||
<div class="qa-nav-sub"> | ||
<ul class="qa-nav-sub-list"> | ||
<li class="qa-nav-sub-item"> | ||
<a href="install-basic.html" class="qa-nav-sub-link">Basic Install</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="install-wordpress.html" class="qa-nav-sub-link qa-nav-sub-selected">WordPress</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="install-single-sign-on.html" class="qa-nav-sub-link">Single Sign-On</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="install-optimize.html" class="qa-nav-sub-link">Optimization</a> | ||
</li> | ||
<li class="qa-nav-sub-item"> | ||
<a href="install-security.html" class="qa-nav-sub-link">Security</a> | ||
</li> | ||
</ul> | ||
<div class="qa-nav-sub-clear"> | ||
</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,24 @@ | ||
<div class="qa-nav-main"> | ||
<ul class="qa-nav-main-list"> | ||
<li class="qa-nav-main-item" style=""> | ||
<a href="http://sites.question2answer.org/" class="qa-nav-main-link">Sites</a> | ||
</li> | ||
<li class="qa-nav-main-item" style=""> | ||
<a href="install-basic.html" class="qa-nav-main-link">Install</a> | ||
</li> | ||
<li class="qa-nav-main-item" style=""> | ||
<a href="addons.html" class="qa-nav-main-link">Add-Ons</a> | ||
</li> | ||
<li class="qa-nav-main-item" style=""> | ||
<a href="developers.html" class="qa-nav-main-link">Developers</a> | ||
</li> | ||
<li class="qa-nav-main-item" style=""> | ||
<a href="services.html" class="qa-nav-main-link">Services</a> | ||
</li> | ||
<li class="qa-nav-main-item" style="float:right;"> | ||
<a href="http://qa.question2answer.org/" class="qa-nav-main-link">Question2Answer Q&A</a> | ||
</li> | ||
</ul> | ||
<div class="qa-nav-main-clear"> | ||
</div> | ||
</div> |
Oops, something went wrong.