-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 2.6: Document Platform.sh on the contributing section. Mention Platform.sh on README. Better Sphinx version. Improve configuration files. Prepare Platform.sh configuration files.
- Loading branch information
Showing
6 changed files
with
99 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,55 @@ | ||
# This file describes an application. You can have multiple applications | ||
# in the same project. | ||
|
||
# The name of this app. Must be unique within a project. | ||
name: symfonydocs | ||
|
||
# The toolstack used to build the application. | ||
type: "php" | ||
|
||
build: | ||
flavor: "composer" | ||
|
||
# The configuration of app when it is exposed to the web. | ||
web: | ||
# The public directory of the app, relative to its root. | ||
document_root: "/_build/html" | ||
index_files: | ||
- index.html | ||
whitelist: | ||
- \.html$ | ||
- \.txt$ | ||
|
||
# CSS and Javascript. | ||
- \.css$ | ||
- \.js$ | ||
- \.hbs$ | ||
|
||
# image/* types. | ||
- \.gif$ | ||
- \.png$ | ||
- \.ico$ | ||
- \.svgz?$ | ||
|
||
# fonts types. | ||
- \.ttf$ | ||
- \.eot$ | ||
- \.woff$ | ||
- \.otf$ | ||
|
||
# robots.txt. | ||
- /robots\.txt$ | ||
|
||
# The size of the persistent disk of the application (in MB). | ||
disk: 512 | ||
|
||
# Build time dependencies. | ||
dependencies: | ||
python: | ||
sphinx: ">=1" | ||
|
||
# The hooks that will be performed when the package is deployed. | ||
hooks: | ||
build: | | ||
pip install git+https://github.com/fabpot/sphinx-php.git | ||
make html |
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,16 @@ | ||
http://www.{default}/: | ||
to: http://{default}/ | ||
type: redirect | ||
http://{default}/: | ||
cache: | ||
cookies: | ||
- '*' | ||
default_ttl: 0 | ||
enabled: true | ||
headers: | ||
- Accept | ||
- Accept-Language | ||
ssi: | ||
enabled: false | ||
type: upstream | ||
upstream: symfonydocs:php |
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 @@ | ||
# Keeping this file empty to not deploy unused services. |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.