Skip to content

Commit e758296

Browse files
committed
PHPLIB-230: Remove MkDocs documentation
1 parent f1cebee commit e758296

File tree

5 files changed

+3
-83
lines changed

5 files changed

+3
-83
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ composer.lock
55
/vendor/
66
php.ini
77
phpunit.xml
8-
apigen.phar
9-
site

Makefile

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: apigen composer test docs mkdocs
1+
.PHONY: apigen composer test
22

33
COMPOSER_ARGS=update --no-interaction --prefer-source
44
PHPUNIT_ARGS=--process-isolation
@@ -25,41 +25,13 @@ test: composer
2525
false; \
2626
fi
2727

28-
apigen:
29-
@command -v apigen >/dev/null 2>&1; \
30-
if test $$? -eq 0; then \
31-
apigen generate; \
32-
elif test -r apigen.phar; then \
33-
php apigen.phar generate; \
34-
else \
35-
echo >&2 "Cannot find apigen; aborting."; \
36-
false; \
37-
fi
38-
39-
mkdocs:
40-
@command -v mkdocs >/dev/null 2>&1; \
41-
if test $$? -eq 0; then \
42-
mkdocs build --clean; \
43-
else \
44-
echo >&2 "Cannot find mkdocs; aborting."; \
45-
false; \
46-
fi
47-
4828
release/%: release-log/%
4929
@echo "Please run:"
5030
@echo " " git add RELEASE-$(*)
5131
@echo " " git commit -m \"Add $(*) release notes\"
5232
@echo " " git tag -a -m \"Release MongoDB library $(*)\" $(*)
5333
@echo " " git push REMOTE `git rev-parse --abbrev-ref HEAD`
5434
@echo " " git push REMOTE --tags
55-
@echo " " make release-docs
56-
57-
docs: mkdocs apigen
58-
59-
release-docs: docs
60-
mkdocs gh-deploy
61-
@echo "If origin is your local fork, you may need to run:"
62-
@echo " " git push REMOTE gh-pages:gh-pages
6335

6436
release-log/%:
6537
@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-$(*)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ extension, see:
2222

2323
## Documentation
2424

25-
- http://mongodb.github.io/mongo-php-library/
25+
- https://docs.mongodb.com/php-library/
2626

2727
# Installation
2828

2929
As a high-level abstraction for the driver, this library naturally requires that
30-
the [`mongodb` extension be installed](http://mongodb.github.io/mongo-php-driver/#installation):
30+
the [`mongodb` extension be installed](http://php.net/manual/en/mongodb.installation.php):
3131

3232
$ pecl install mongodb
3333
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

apigen.neon

Lines changed: 0 additions & 23 deletions
This file was deleted.

mkdocs.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)