Skip to content

Commit

Permalink
update links to https (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored and rhukster committed Nov 7, 2019
1 parent 68aef26 commit 8687c48
Show file tree
Hide file tree
Showing 18 changed files with 69 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EditorConfig is awesome: http://EditorConfig.org
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true
Expand Down
18 changes: 9 additions & 9 deletions pages/01.basics/01.what-is-grav/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ The name **Grav** is just a shortened version of the word **Gravity**. The share

The underlying architecture of Grav is built using well established and _best-in-class_ technologies. This is to ensure that Grav is simple to use and easy to extend. Some of these key technologies include:

* [Twig Templating](http://twig.sensiolabs.org/): for powerful control of the user interface
* [Markdown](http://en.wikipedia.org/wiki/Markdown): for easy content creation
* [YAML](http://yaml.org): for simple configuration
* [Parsedown](http://parsedown.org/): for fast Markdown and Markdown Extra support
* [Doctrine Cache](http://docs.doctrine-project.org/en/latest/reference/caching.html): for performance
* [Pimple Dependency Injection Container](http://pimple.sensiolabs.org/): for extensibility and maintainability
* [Symfony Event Dispatcher](http://symfony.com/doc/current/components/event_dispatcher/introduction.html): for plugin event handling
* [Symfony Console](http://symfony.com/doc/current/components/console/introduction.html): for CLI interface
* [Twig Templating](https://twig.symfony.com/): for powerful control of the user interface
* [Markdown](https://en.wikipedia.org/wiki/Markdown): for easy content creation
* [YAML](https://yaml.org): for simple configuration
* [Parsedown](https://parsedown.org/): for fast Markdown and Markdown Extra support
* [Doctrine Cache](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/caching.html): for performance
* [Pimple Dependency Injection Container](https://pimple.symfony.com/): for extensibility and maintainability
* [Symfony Event Dispatcher](https://symfony.com/doc/current/components/event_dispatcher.html): for plugin event handling
* [Symfony Console](https://symfony.com/doc/current/components/console.html): for CLI interface
* [Gregwar Image Library](https://github.com/Gregwar/Image): for dynamic image manipulation

## Grav's Place in the Universe

There are many powerful open source CMS solutions for building complex websites. Some of the more commonly used ones are [Joomla](http://joomla.org), [WordPress](http://wordpress.org), and [Drupal](http://drupal.org). The downside of these platforms is that they have a steep learning curve associated with them. This requires a significant amount of your time - and this may be the time that you do not have.
There are many powerful open source CMS solutions for building complex websites. Some of the more commonly used ones are [Joomla](https://joomla.org), [WordPress](https://wordpress.org), and [Drupal](https://drupal.org). The downside of these platforms is that they have a steep learning curve associated with them. This requires a significant amount of your time - and this may be the time that you do not have.

These platforms provide a wealth of features and functionality that you can extend with a wide variety of open source and proprietary plug-ins and themes. These extensions and themes are themselves often feature-packed, requiring more knowledge and time on the part of the developer yet.

Expand Down
2 changes: 1 addition & 1 deletion pages/01.basics/05.grav-configuration/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ These configuration options do not appear within their own child sections. They'
| Property | Description |
| -------- | ----------- |
| **absolute_urls:** | Absolute or relative URLs for `base_url` |
| **timezone:** | Valid values can be found [here](http://php.net/manual/en/timezones.php) |
| **timezone:** | Valid values can be found [here](https://php.net/manual/en/timezones.php) |
| **default_locale:** | Default locale (defaults to system) |
| **param_sep:** | This is used for Grav parameters in the URL. Don't change this unless you know what you are doing. Grav > `1.1.16` automatically sets this to `;` for users running Apache web server on Windows |
| **wrapped_site:** | For themes/plugins to know if Grav is wrapped by another platform. Can be `true` or `false` |
Expand Down
6 changes: 3 additions & 3 deletions pages/02.content/02.headers/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Can be blank for no setting, or a [valid](https://developer.mozilla.org/en-US/do
dateformat: 'Y-m-d H:i:s'
```

Overrides the default Grav configuration for date formats and lets it be set at the page level. You can use any of the [PHP date formats](http://php.net/manual/en/datetime.formats.date.php) available.
Overrides the default Grav configuration for date formats and lets it be set at the page level. You can use any of the [PHP date formats](https://php.net/manual/en/datetime.formats.date.php) available.

### Debugger

Expand Down Expand Up @@ -260,7 +260,7 @@ If set to `true` Twig processing will occur before any Markdown processing. This
publish_date: 01/23/2015 13:00
```

Optional field, but can provide a date to automatically trigger publication. Valid values are any string date values that [strtotime()](http://php.net/manual/en/function.strtotime.php) supports.
Optional field, but can provide a date to automatically trigger publication. Valid values are any string date values that [strtotime()](https://php.net/manual/en/function.strtotime.php) supports.

### Redirect

Expand Down Expand Up @@ -385,7 +385,7 @@ We [used this method](https://github.com/getgrav/grav-plugin-sitemap/commit/00c2
unpublish_date: 05/17/2015 00:32
```

Optional field, but can provide a date to automatically trigger un-publication. Valid values are any string date values that [strtotime()](http://php.net/manual/en/function.strtotime.php) supports.
Optional field, but can provide a date to automatically trigger un-publication. Valid values are any string date values that [strtotime()](https://php.net/manual/en/function.strtotime.php) supports.

### Visible

Expand Down
2 changes: 1 addition & 1 deletion pages/02.content/03.collections/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ content:
end: 1/1/2015
[/prism]

You can use any string date format supported by [strtotime()](http://php.net/manual/en/function.strtotime.php) such as `-6 weeks` or `last Monday` as well as more traditional dates such as `01/23/2014` or `23 January 2014`. The dateRange will filter out any pages that have a date outside the provided dateRange. Both **start** and **end** dates are optional, but at least one should be provided.
You can use any string date format supported by [strtotime()](https://php.net/manual/en/function.strtotime.php) such as `-6 weeks` or `last Monday` as well as more traditional dates such as `01/23/2014` or `23 January 2014`. The dateRange will filter out any pages that have a date outside the provided dateRange. Both **start** and **end** dates are optional, but at least one should be provided.

### Multiple Collections

Expand Down
20 changes: 10 additions & 10 deletions pages/02.content/04.markdown/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ John Gruber, the author of Markdown, puts it like this:
> -- <cite>John Gruber</cite>

Grav ships with built-in support for [Markdown](http://daringfireball.net/projects/markdown/) and [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/). You must enable **Markdown Extra** in your `system.yaml` configuration file.
Grav ships with built-in support for [Markdown](https://daringfireball.net/projects/markdown/) and [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/). You must enable **Markdown Extra** in your `system.yaml` configuration file.

Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like:

Expand Down Expand Up @@ -588,17 +588,17 @@ Adding a colon on the right side of the dashes below any heading will right alig
### Basic link

[prism classes="language-markdown"]
[Assemble](http://assemble.io)
[Assemble](https://assemble.io)
[/prism]

Renders to (hover over the link, there is no tooltip):

[Assemble](http://assemble.io)
[Assemble](https://assemble.io)

HTML:

[prism classes="language-html"]
<a href="http://assemble.io">Assemble</a>
<a href="https://assemble.io">Assemble</a>
[/prism]


Expand Down Expand Up @@ -651,16 +651,16 @@ Content for chapter one.
Images have a similar syntax to links but include a preceding exclamation point.

[prism classes="language-markdown"]
![Minion](http://octodex.github.com/images/minion.png)
![Minion](https://octodex.github.com/images/minion.png)
[/prism]
![Minion](http://octodex.github.com/images/minion.png)
![Minion](https://octodex.github.com/images/minion.png)

or

[prism classes="language-markdown"]
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
[/prism]
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")

Like links, Images also have a footnote style syntax

Expand All @@ -671,7 +671,7 @@ Like links, Images also have a footnote style syntax

With a reference later in the document defining the URL location:

[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat"
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"


[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat"
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
2 changes: 1 addition & 1 deletion pages/02.content/11.multi-language/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ You can also use this as a Twig function with `ta()`.

### Translations with Variables

You can also use variables in your Twig translations by using [PHP's sprintf](http://php.net/sprintf) syntax:
You can also use variables in your Twig translations by using [PHP's sprintf](https://php.net/sprintf) syntax:

[prism classes="language-yaml line-numbers"]
SIMPLE_TEXT: There are %d monkeys in the %s
Expand Down
12 changes: 6 additions & 6 deletions pages/03.themes/04.twig-filters-functions/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Sort an array map by each key

`'/strip/leading/slash/'|ltrim('/')` <i class="fa fa-long-arrow-right"></i> {{ '/strip/leading/slash/'|ltrim('/') }}

Removes trailing spaces at the beginning of a string. It can also remove other characters by setting the character mask (see [http://php.net/manual/en/function.ltrim.php](http://php.net/manual/en/function.ltrim.php))
Removes trailing spaces at the beginning of a string. It can also remove other characters by setting the character mask (see [https://php.net/manual/en/function.ltrim.php](https://php.net/manual/en/function.ltrim.php))

#### Markdown

Expand Down Expand Up @@ -242,7 +242,7 @@ Adds an ordinal to the integer (such as 1st, 2nd, 3rd, 4th)

#### Pad

Pads a string to a certain length with another character. This is a wrapper for the PHP [str_pad()](http://php.net/manual/en/function.str-pad.php) function.
Pads a string to a certain length with another character. This is a wrapper for the PHP [str_pad()](https://php.net/manual/en/function.str-pad.php) function.

`'foobar'|pad(10, '-')` <i class="fa fa-long-arrow-right"></i> **{{ 'foobar'|pad(10, '-') }}**

Expand Down Expand Up @@ -282,15 +282,15 @@ Randomizes the list provided. If a value is provided as a parameter, it will sk

#### Regex Replace

A helpful wrapper for the PHP [preg_replace()](http://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter:
A helpful wrapper for the PHP [preg_replace()](https://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter:

`'The quick brown fox jumps over the lazy dog.'|regex_replace(['/quick/','/brown/','/fox/','/dog/'], ['slow','black','bear','turtle'])` <i class="fa fa-long-arrow-right"></i> **{{ 'The quick brown fox jumps over the lazy dog.'|regex_replace(['/quick/','/brown/','/fox/','/dog/'], ['slow','black','bear','turtle']) }}**

#### Right Trim

`'/strip/trailing/slash/'|rtrim('/')` <i class="fa fa-long-arrow-right"></i> {{ '/strip/trailing/slash/'|rtrim('/') }}

Removes trailing spaces at the end of a string. It can also remove other characters by setting the character mask (see [http://php.net/manual/en/function.rtrim.php](http://php.net/manual/en/function.rtrim.php))
Removes trailing spaces at the end of a string. It can also remove other characters by setting the character mask (see [https://php.net/manual/en/function.rtrim.php](https://php.net/manual/en/function.rtrim.php))

#### Singularize

Expand Down Expand Up @@ -688,7 +688,7 @@ Simple function to read a file based on a filepath and output it.
[prism classes="language-markdown line-numbers"]
# Grav Standard Administration Panel Plugin

This **admin plugin** for [Grav](http://github.com/getgrav/grav) is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages...
This **admin plugin** for [Grav](https://github.com/getgrav/grav) is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages...
[/prism]

[/version]
Expand All @@ -712,7 +712,7 @@ Performs a `preg_grep` on an array with a regex pattern

#### Regex Replace Function

A helpful wrapper for the PHP [preg_replace()](http://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter:
A helpful wrapper for the PHP [preg_replace()](https://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter:

`regex_replace('The quick brown fox jumps over the lazy dog.', ['/quick/','/brown/','/fox/','/dog/'], ['slow','black','bear','turtle'])`

Expand Down
2 changes: 1 addition & 1 deletion pages/05.admin-panel/09.faq/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ You can edit this information directly to the user's YAML file, or by selecting

![Admin FAQ](faq_2.png?width=1009&classes=shadow)

!! Avatar photos are automatically generated by [Gravatar](http://gravatar.com), based on the user's email address.
!! Avatar photos are automatically generated by [Gravatar](https://gravatar.com), based on the user's email address.

For security reasons, user passwords are stored as a hash. If you would like to change your password, we recommend doing so from within the admin.

Expand Down
2 changes: 1 addition & 1 deletion pages/06.forms/01.blueprints/01.fields-available/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ header.date:
[div class="table table-keycol"]
| Attribute | Description |
| :----- | :----- |
| `format` | A datetime format value, you may use any of the [PHP date formats](http://php.net/manual/en/datetime.formats.date.php) avaliable. |
| `format` | A datetime format value, you may use any of the [PHP date formats](https://php.net/manual/en/datetime.formats.date.php) avaliable. |
| `validate.min` | A minimum valid value |
| `validate.max` | A maximum valid value |
[/div]
Expand Down
8 changes: 4 additions & 4 deletions pages/08.advanced/02.performance-and-caching/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Grav uses the established and well-respected [Doctrine Cache](https://www.doctri

* **Auto** _(Default)_ - Finds the best option automatically
* **File** - Stores in cache files in the `cache/` folder
* **APC** - [http://php.net/manual/en/book.apc.php](http://php.net/manual/en/book.apc.php)
* **APC** - [https://php.net/manual/en/book.apc.php](https://php.net/manual/en/book.apc.php)
* **XCache** - [http://xcache.lighttpd.net/](http://xcache.lighttpd.net/)
* **Memcache** - [http://php.net/manual/en/book.memcache.php](http://php.net/manual/en/book.memcache.php)
* **Redis** - [http://redis.io](http://redis.io)
* **WinCache** - [http://www.iis.net/downloads/microsoft/wincache-extension](http://www.iis.net/downloads/microsoft/wincache-extension)
* **Memcache** - [https://php.net/manual/en/book.memcache.php](https://php.net/manual/en/book.memcache.php)
* **Redis** - [https://redis.io](https://redis.io)
* **WinCache** - [https://www.iis.net/downloads/microsoft/wincache-extension](https://www.iis.net/downloads/microsoft/wincache-extension)

By default, Grav comes preconfigured to use the `auto` setting. This will try **APC**, then **WinCache**, then **XCache**, and lastly **File**. You can, of course, explicitly configure the cache in your `user/config/system.yaml` file, which could make things ever so slightly faster.

Expand Down
4 changes: 2 additions & 2 deletions pages/08.advanced/11.yaml/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Resources and Further Documentation
For more information about YAML, including detailed documentation about how it works, check out the resources linked below.

* [Dave's YAML Primer](https://github.com/darvid/trine/wiki/YAML-Primer)
* [Official YAML 1.2 Documentation](http://www.yaml.org/spec/1.2/spec.html)
* [YAML Reference Card](http://www.yaml.org/refcard.html)
* [Official YAML 1.2 Documentation](https://yaml.org/spec/1.2/spec.html)
* [YAML Reference Card](https://yaml.org/refcard.html)
* [Xavier Shay's YAML Tutorial](http://rhnh.net/2011/01/31/yaml-tutorial)
* [YAMLLint](http://www.yamllint.com/)
4 changes: 2 additions & 2 deletions pages/09.webservers-hosting/03.paas/04.azure/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process:
taxonomy:
category: docs
---
[Microsoft Azure](http://azure.microsoft.com) is an enterprise-grade cloud computing platform that is open and flexible. There are multiple ways to deploy Grav within Azure however this tutorial will walk through using Azure's Web App (PaaS).
[Microsoft Azure](https://azure.microsoft.com) is an enterprise-grade cloud computing platform that is open and flexible. There are multiple ways to deploy Grav within Azure however this tutorial will walk through using Azure's Web App (PaaS).

## Things you'll need

Expand Down Expand Up @@ -107,4 +107,4 @@ By default all Azure Web Apps are unloaded if they are idle for some period of t

### Quotas

If you have selected one of the Free or Shared Web App Plans for your deployment you will be restricted in regards of storage space and compute resources you can use. To monitor these settings you should monitor the *Quotas* blade.
If you have selected one of the Free or Shared Web App Plans for your deployment you will be restricted in regards of storage space and compute resources you can use. To monitor these settings you should monitor the *Quotas* blade.
2 changes: 1 addition & 1 deletion pages/10.cookbook/01.general-recipes/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ ol.tree li.parent.open:after {

This should generally be placed before the Twig-structure, or ideally be streamed into the [Asset Manager](/themes/asset-manager) in your theme. The effect is to add **[+]** after each parent-item, indicating that it can be opened, which disappears when opened.

Finally, let's add a bit of JavaScript to [handle toggling](http://stackoverflow.com/a/36297446/603387) the *open*-class:
Finally, let's add a bit of JavaScript to [handle toggling](https://stackoverflow.com/a/36297446/603387) the *open*-class:

[prism classes="language-js line-numbers"]
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion pages/11.troubleshooting/07.common-problems/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Related issue: [admin#951](https://github.com/getgrav/grav-plugin-admin/issues/9

## Zend OPcache API is restricted

If you are running PHP with Zend OPache and you receive this error, then your current OPCache configuration is [limiting access to OPcache API function to scripts only from a specified string](http://php.net/manual/en/opcache.configuration.php). The simplest solution to this is to find the location of this directive either in your `php.ini` file or in a specialized `opcache.ini` file that is being pulled in to your overall `php.ini` file and set this value to nothing:
If you are running PHP with Zend OPache and you receive this error, then your current OPCache configuration is [limiting access to OPcache API function to scripts only from a specified string](https://php.net/manual/en/opcache.configuration.php). The simplest solution to this is to find the location of this directive either in your `php.ini` file or in a specialized `opcache.ini` file that is being pulled in to your overall `php.ini` file and set this value to nothing:

[prism classes="language-apacheconf line-numbers"]
opcache.restrict_api=
Expand Down
Loading

0 comments on commit 8687c48

Please sign in to comment.