Skip to content

Commit aba83d3

Browse files
committed
Use GravCMS
0 parents  commit aba83d3

File tree

2,237 files changed

+219986
-0
lines changed

Some content is hidden

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

2,237 files changed

+219986
-0
lines changed

.gitignore

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Node rules:
2+
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
3+
.grunt
4+
5+
## Dependency directory
6+
## Commenting this out is preferred by some people, see
7+
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git
8+
node_modules
9+
10+
# Book build output
11+
_book
12+
13+
# eBook build output
14+
*.epub
15+
*.mobi
16+
*.pdf
17+
18+
.DS_Store
19+
.idea
20+
21+
/_build/doctrees
22+
/_build/html
23+
/_build/epub
24+
*.pyc
25+
26+
# Sass
27+
.sass-cache
28+
29+
# Grav Specific
30+
data/*
31+
!data/.*
32+
plugins/*
33+
!plugins/.*
34+
themes/*
35+
!themes/.*
36+
cache/*
37+
!cache/.gitkeep
38+
39+
# OS Generated
40+
.DS_Store*
41+
ehthumbs.db
42+
Icon?
43+
Thumbs.db
44+
*.swp
45+
46+
# phpstorm
47+
.idea/*

.platform.app.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: docs
2+
type: php:7.2
3+
disk: 1024
4+
web:
5+
locations:
6+
"/":
7+
root: "."
8+
passthru: /index.php
9+
expires: 1h
10+
mounts:
11+
'/app/cache': 'shared:files/cache'
12+
'/app/logs': 'shared:files/logs'
13+
'/app/images': 'shared:files/images'
14+
'/app/assets': 'shared:files/assets'
15+
'/app/user/data': 'shared:files/user-data'
16+
'/app/backup': 'shared:files/backup'
17+
'/app/tmp': 'shared:files/tmp'

.platform/routes.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
https://{default}/:
2+
type: upstream
3+
upstream: docs:http
4+
https://{default}/:
5+
type: redirect
6+
to: https://{default}/

.platform/services.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Nothing

.travis.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: python
2+
3+
python: 2.7
4+
5+
sudo: false
6+
cache:
7+
directories: [$HOME/.cache/pip]
8+
9+
install: pip install -r requirements.txt
10+
11+
script: make clean && make html

.vscode/settings.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"restructuredtext.builtDocumentationPath" : "${workspaceRoot}/_build/html",
3+
"restructuredtext.confPath" : "${workspaceRoot}",
4+
"restructuredtext.updateOnTextChanged" : "true",
5+
"restructuredtext.sphinxBuildPath": "sphinx-build",
6+
"python.linting.pylintEnabled": false
7+
}

CHANGELOG.md

+1,800
Large diffs are not rendered by default.

CODE_OF_CONDUCT.md

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

CONTRIBUTING.md

+137
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
# Contributing to Grav
2+
3+
:+1::tada: First, thanks for getting involved with Grav! :tada::+1:
4+
5+
Please take a moment to review this document in order to make the contribution
6+
process easy and effective for everyone involved.
7+
8+
Following these guidelines helps to communicate that you respect the time of
9+
the developers managing and developing this open source project. In return,
10+
they should reciprocate that respect in addressing your issue or assessing
11+
patches and features.
12+
13+
## Grav, Plugins, Themes and Skeletons
14+
15+
Grav is a large open source project—it's made up of over 100 repositories. When you initially consider contributing to Grav, you might be unsure about which of those 200 repositories implements the functionality you want to change or report a bug for.
16+
17+
[https://github.com/getgrav/grav](https://github.com/getgrav/grav) is the main Grav repository. The core of Grav is provided by this repo.
18+
19+
[https://github.com/getgrav/grav-plugin-admin](https://github.com/getgrav/grav-plugin-admin) is the Admin Plugin repository.
20+
21+
Every Plugin and Theme has its own repository. If you have a problem you think is specific to a Theme or Plugin, please report it in its corresponding repository. Please read the Plugin or Theme documentation to ensure the problem is not addressed there already.
22+
23+
Every Skeleton also has its own repository, so if an issue is not specific to a theme or plugin but rather to its usage in the skeleton, report it in the skeleton repository.
24+
25+
## Using the issue tracker
26+
27+
The issue tracker is the preferred channel for [bug reports](#bugs),
28+
[features requests](#features) and [submitting pull
29+
requests](#pull-requests), but please respect the following restrictions:
30+
31+
* Please **do not** use the issue tracker for support requests. Use
32+
[the Forum](http://getgrav.org/forum) or [the Gitter chat](https://gitter.im/getgrav/grav).
33+
34+
35+
<a name="bugs"></a>
36+
## Bug reports
37+
38+
A bug is a _demonstrable problem_ that is caused by the code in the repository.
39+
Good bug reports are extremely helpful - thank you!
40+
41+
Guidelines for bug reports:
42+
43+
1. **Check you satisfy the Grav requirements** &mdash; [http://learn.getgrav.org/basics/requirements](http://learn.getgrav.org/basics/requirements)
44+
45+
2. **Check this happens on a clean Grav install** &mdash; check if the issue happens on any Grav site, or just with a specific configuration of plugins / theme
46+
47+
3. **Use the GitHub issue search** &mdash; check if the issue has already been
48+
reported.
49+
50+
4. **Check if the issue is already being solved in a PR** &mdash; check the open Pull Requests to see if one already solves the problem you're having
51+
52+
5. **Check if the issue has been fixed** &mdash; try to reproduce it using the
53+
latest `develop` branch in the repository.
54+
55+
6. **Isolate the problem** &mdash; create a [reduced test
56+
case](http://css-tricks.com/reduced-test-cases/) and provide a step-by-step instruction set on how to recreate the problem. Include code samples, page snippets or yaml configurations if needed.
57+
58+
7. **Check the problem on Grav 1.1** &mdash; if you're using Grav 1.0, latest stable release, please also check if you can replicate the issue on Grav 1.1 RC as many bugs are already solved in the next Grav release.
59+
60+
A good bug report shouldn't leave others needing to chase you up for more
61+
information. Please try to be as detailed as possible in your report.
62+
63+
What is your environment? Is it localhost, OSX, Linux, on a remote server? Same happening locally and or the server, or just locally or just on Linux?
64+
65+
What steps will reproduce the issue? What browser(s) and OS experience the problem?
66+
67+
What would you expect to be the outcome?
68+
69+
Did the problem start happening recently (e.g. after updating to a new version of Grav) or was this always a problem?
70+
71+
If the problem started happening recently, can you reproduce the problem in an older version of Grav? What's the most recent version in which the problem doesn't happen? You can download older versions of Grav from the releases page on Github.
72+
73+
Can you reliably reproduce the issue? If not, provide details about how often the problem happens and under which conditions it normally happens.
74+
75+
76+
All these details will help people to fix any potential bugs.
77+
78+
Important: [include Code Samples in triple backticks](https://help.github.com/articles/github-flavored-markdown/#fenced-code-blocks) so that Github will provide a proper indentation. [Add the language name after the backticks](https://help.github.com/articles/github-flavored-markdown/#syntax-highlighting) to add syntax highlighting to the code snippets.
79+
80+
Example:
81+
82+
> Short and descriptive example bug report title
83+
>
84+
> A summary of the issue and the browser/OS environment in which it occurs. If
85+
> suitable, include the steps required to reproduce the bug.
86+
>
87+
> 1. This is the first step
88+
> 2. This is the second step
89+
> 3. Further steps, etc.
90+
>>
91+
> Any other information you want to share that is relevant to the issue being
92+
> reported. This might include the lines of code that you have identified as
93+
> causing the bug, and potential solutions (and your opinions on their
94+
> merits).
95+
96+
97+
<a name="features"></a>
98+
## Feature requests
99+
100+
Feature requests are welcome. But take a moment to find out whether your idea
101+
fits with the scope and aims of the project. It's up to *you* to make a strong
102+
case to convince the project's developers of the merits of this feature. Please
103+
provide as much detail and context as possible.
104+
105+
106+
<a name="pull-requests"></a>
107+
## Pull requests
108+
109+
Good pull requests - patches, improvements, new features - are a fantastic
110+
help. They should remain focused in scope and avoid containing unrelated
111+
commits.
112+
113+
**Please ask first** in [Slack](https://getgrav.org/slack) or in the Forum before embarking on any significant pull request (e.g.
114+
implementing features, refactoring code..),
115+
otherwise you risk spending a lot of time working on something that the
116+
project's developers might not want to merge into the project.
117+
118+
Please adhere to the coding conventions used throughout the project (indentation,
119+
accurate comments, etc.) and any other requirements.
120+
121+
See [Using Pull Request](https://help.github.com/articles/using-pull-requests/) and [Fork a Repo](https://help.github.com/articles/fork-a-repo/) if you're not familiar with Pull Requests.
122+
123+
Any pull request should be based on the `develop` branch. We will not consider pull requests made to master.
124+
125+
**IMPORTANT**: By submitting a patch, you agree to allow the project owner to
126+
license your work under the same license as that used by the project.
127+
128+
<a name="translations"></a>
129+
### Translations
130+
Translations for Grav core and the Admin plugin are managed through Crowdin:
131+
132+
- Admin: https://crowdin.com/project/grav-admin
133+
- Core: https://crowdin.com/project/grav-core
134+
135+
Please do not post translations PRs for core or admin translations on GitHub, with the exception of fixes for the english language.
136+
137+
All other plugins and themes translations are handled directly in their GitHub repository, and the string are usually found in the `languages.yaml` file at the root of each project.

LICENSE

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Creative Commons Attribution-ShareAlike 4.0 International Public License (CC BY-SA 4.0)
2+
3+
http://creativecommons.org/licenses/by-sa/4.0/

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Grav
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)