Commit 6be57505 authored by Jeremy Mikola's avatar Jeremy Mikola

Merge pull request #275

parents f1cebeec 7b475516
*.swp
!.gitignore
# Composer
composer.phar
composer.lock
/vendor/
php.ini
vendor/
# PHPUnit
phpunit.phar
phpunit.xml
apigen.phar
site
.PHONY: apigen composer test docs mkdocs
.PHONY: apigen composer test
COMPOSER_ARGS=update --no-interaction --prefer-source
PHPUNIT_ARGS=--process-isolation
......@@ -25,26 +25,6 @@ test: composer
false; \
fi
apigen:
@command -v apigen >/dev/null 2>&1; \
if test $$? -eq 0; then \
apigen generate; \
elif test -r apigen.phar; then \
php apigen.phar generate; \
else \
echo >&2 "Cannot find apigen; aborting."; \
false; \
fi
mkdocs:
@command -v mkdocs >/dev/null 2>&1; \
if test $$? -eq 0; then \
mkdocs build --clean; \
else \
echo >&2 "Cannot find mkdocs; aborting."; \
false; \
fi
release/%: release-log/%
@echo "Please run:"
@echo " " git add RELEASE-$(*)
......@@ -52,14 +32,6 @@ release/%: release-log/%
@echo " " git tag -a -m \"Release MongoDB library $(*)\" $(*)
@echo " " git push REMOTE `git rev-parse --abbrev-ref HEAD`
@echo " " git push REMOTE --tags
@echo " " make release-docs
docs: mkdocs apigen
release-docs: docs
mkdocs gh-deploy
@echo "If origin is your local fork, you may need to run:"
@echo " " git push REMOTE gh-pages:gh-pages
release-log/%:
@git log --pretty=format:"%ad %an <%ae>%n%x09* %s%n" --date short --no-merges --since="$$(git show -s --format=%ad `git rev-list --tags --max-count=1`)" > RELEASE-$(*)
......@@ -22,12 +22,12 @@ extension, see:
## Documentation
- http://mongodb.github.io/mongo-php-library/
- https://docs.mongodb.com/php-library/
# Installation
As a high-level abstraction for the driver, this library naturally requires that
the [`mongodb` extension be installed](http://mongodb.github.io/mongo-php-driver/#installation):
the [`mongodb` extension be installed](http://php.net/manual/en/mongodb.installation.php):
$ pecl install mongodb
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
......
source:
- src
destination: site/api
charset:
- UTF-8
main: MongoDB PHP library
title: MongoDB PHP library
baseUrl: http://mongodb.github.io/mongo-php-library/api
googleCseId: null
googleAnalytics: null
templateTheme: bootstrap
templateConfig: null
deprecated: false
internal: false
todo: false
php: false
tree: true
download: false
site_name: "MongoDB PHP library"
site_url: http://mongodb.github.io/mongo-php-library
repo_url: https://github.com/mongodb/mongo-php-library
theme: readthedocs
pages:
- 'Home': 'index.md'
- 'Getting Started': 'getting-started.md'
- 'Upgrade Guide': 'upgrade-guide.md'
- Tutorial:
- 'BSON Conversion': 'tutorial/bson.md'
- 'CRUD Operations': 'tutorial/crud.md'
- 'Database Commands': 'tutorial/commands.md'
- 'Indexes': 'tutorial/indexes.md'
- 'Example Data': 'tutorial/example-data.md'
- Classes:
- 'Client': 'classes/client.md'
- 'Database': 'classes/database.md'
- 'Collection': 'classes/collection.md'
markdown_extensions:
- def_list
- fenced_code
- smarty
- toc:
permalink: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment