Skip to content

Commit 1b2ffbc

Browse files
committed
Fixes issue where css, fonts and images aren't loading.
1 parent b4c215f commit 1b2ffbc

Some content is hidden

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

57 files changed

+549
-114
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Change-Log for Apache Error Pages
2+
3+
Below is a detailed change-log, along with specific tasks completed, for each version released to date for Apache Error Pages.
4+
5+
## Version 1.0.1 (14/05/2018)
6+
7+
- [#new](#new)
8+
- Added `CHANGELOG.md`, `CODE_OF_CONDUCT.md` and `CONTRIBUTING.md` files.
9+
- [#enhancement](#enhancement)
10+
- Checked in Visual Studio Code workspace file for users of VS Code.
11+
- Install instructions now included in `README.md` file.
12+
- Updated `README.md` file with minifying setup included.
13+
- [#bugfix](#bugfix)
14+
- Set absolute path to css folder (`/ErrorPages/css/`) to ensure that the resources load when running on a production server.
15+
- Rebuilt all `/dist/` files with the new changes.
16+
17+
## Version 1.0.0 (13/05/2018)
18+
19+
Grab everything you need from the `/dist/` folder. All other files support the creation of the files in this folder.
20+
21+
- [#new](#new)
22+
- HTML was minified but JavaScript is still unminified.
23+
- CSS has been minified although I am unclear what the advantage has been. (?)
24+
- [#enhancement](#enhancement)
25+
- If you're insterested, there is a script that does the minification from source. This file is contained in [src/scripts/minify][script]. Simply run that file and it will:
26+
- Delete the `/dist/css/` folder.
27+
- Delete all the error pages (`rm -f ../dist/*.html`).
28+
- Recreate the `/dist/css/` folder.
29+
- Minify the HTML for all files in the `/src/` directory.
30+
- Minify the CSS for all the files in `/src/css/` directory.
31+
- Output the HTML and CSS to the `/dist/` folder.
32+
- [#bugfix](#bugfix)
33+
34+
[script]: src/scripts/minify

CODE_OF_CONDUCT.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Table of Contents
4+
5+
- [Our Pledge](#our-pledge)
6+
- [Our Standards](#our-standards)
7+
- [Our Responsibilities](#our-responsibilities)
8+
- [Scope](#scope)
9+
- [Enforcement](#enforcement)
10+
- [Attribution](#attribution)
11+
12+
## Our Pledge
13+
14+
In the interest of fostering an open and welcoming environment, we as
15+
contributors and maintainers pledge to making participation in our project and
16+
our community a harassment-free experience for everyone, regardless of age,
17+
body size, disability, ethnicity, gender identity and expression, level of
18+
experience, nationality, personal appearance, race, religion, or sexual
19+
identity and orientation.
20+
21+
## Our Standards
22+
23+
Examples of behaviour that contributes to creating a positive environment
24+
include:
25+
26+
* Using welcoming and inclusive language
27+
* Being respectful of differing viewpoints and experiences
28+
* Gracefully accepting constructive criticism
29+
* Focusing on what is best for the community
30+
* Showing empathy towards other community members
31+
32+
Examples of unacceptable behaviour by participants include:
33+
34+
* The use of sexualised language or imagery and unwelcome sexual attention or
35+
advances
36+
* Trolling, insulting/derogatory comments, and personal or political attacks
37+
* Public or private harassment
38+
* Publishing others' private information, such as a physical or electronic
39+
address, without explicit permission
40+
* Other conduct which could reasonably be considered inappropriate in a
41+
professional setting
42+
43+
## Our Responsibilities
44+
45+
Project maintainers are responsible for clarifying the standards of acceptable
46+
behaviour and are expected to take appropriate and fair corrective action in
47+
response to any instances of unacceptable behaviour.
48+
49+
Project maintainers have the right and responsibility to remove, edit, or
50+
reject comments, commits, code, wiki edits, issues, and other contributions
51+
that are not aligned to this Code of Conduct, or to ban temporarily or
52+
permanently any contributor for other behaviours that they deem inappropriate,
53+
threatening, offensive, or harmful.
54+
55+
## Scope
56+
57+
This Code of Conduct applies both within project spaces and in public spaces
58+
when an individual is representing the project or its community. Examples of
59+
representing a project or community include using an official project e-mail
60+
address, posting via an official social media account, or acting as an
61+
appointed representative at an online or offline event. Representation of a
62+
project may be further defined and clarified by project maintainers.
63+
64+
## Enforcement
65+
66+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be
67+
reported by contacting the project team [by clicking here][email]. The project
68+
team will review and investigate all complaints, and will respond in a way
69+
that it deems appropriate to the circumstances. The project team is obligated
70+
to maintain confidentiality with regard to the reporter of an incident.
71+
Further details of specific enforcement policies may be posted separately.
72+
73+
Project maintainers who do not follow or enforce the Code of Conduct in good
74+
faith may face temporary or permanent repercussions as determined by other
75+
members of the project's leadership.
76+
77+
## Attribution
78+
79+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
80+
version 1.4, available at
81+
[http://contributor-covenant.org/version/1/4][version].
82+
83+
[//]: # (Make sure to change the email address below to your)
84+
[//]: # (project-specific email.)
85+
86+
[email]: mailto:[email protected]?subject=Contributor+Covenant+Code+of+Conduct
87+
[homepage]: http://contributor-covenant.org
88+
[version]: http://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# How to Contribute to This Project
2+
3+
## Did You Find a Bug?
4+
5+
- **Ensure the bug was not already reported** by searching on GitHub under [Issues][issues].
6+
- If you're unable to find an open issue addressing the problem, [open a new one][new-issue]. Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behaviour that is not occurring.
7+
8+
## Did You Write a Patch That Fixes a Bug?
9+
10+
- Open a new GitHub pull request with the patch.
11+
- Fork this project
12+
- Create your feature branch: `git checkout -b my-new-feature`
13+
- Commit your changes: `git commit -am 'Add some feature'`
14+
- Push to the branch: `git push origin my-new-feature`
15+
- Submit a pull request :tada:
16+
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
17+
18+
## Do You Intend to Add a New Feature or Change an Existing One?
19+
20+
- Suggest your change as a [new issue][new-issue] using the label `enhancement`, **BEFORE** you start writing code.
21+
22+
Thanks for contributing! :heart:
23+
24+
[//]: # (Simply change the URL's below to your own project information)
25+
26+
[issues]: https://github.com/justinhartman/Apache-Error-Pages/issues
27+
[new-issue]: https://github.com/justinhartman/Apache-Error-Pages/issues/new

0 commit comments

Comments
 (0)