Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
DevKit updates (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI authored Nov 8, 2017
1 parent 35a5b84 commit 4c2387d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.* export-ignore
*.md export-ignore
Tests/* export-ignore
tests/* export-ignore
docs/* export-ignore
2 changes: 1 addition & 1 deletion .travis/install_docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
set -ev

pip install -r Resources/doc/requirements.txt --user
pip install -r docs/requirements.txt --user
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Just like php dependencies can be managed with Composer, python dependencies can
To get sphinx, simply run the following command.

```bash
pip install --requirement Resources/doc/requirements.txt --user
pip install --requirement docs/requirements.txt --user
```

Some python binaries should be downloaded to `~/.local/bin` for Linux or `~/Library/Python/2.7/bin` for Mac OS,
Expand All @@ -90,7 +90,7 @@ so that it contains this path and then, from the root of the project, run `make
If `make docs` is successful, you should be able to see your modifications:

```bash
$YOUR_FAVORITE_BROWSER Resources/doc/_build/html/index.html
$YOUR_FAVORITE_BROWSER docs/_build/html/index.html
```

If your PR contains a new feature, you must add documentation for it.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ test:
phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml

docs:
cd Resources/doc && sphinx-build -W -b html -d _build/doctrees . _build/html
cd docs && sphinx-build -W -b html -d _build/doctrees . _build/html

0 comments on commit 4c2387d

Please sign in to comment.