Skip to content

Commit 07d76ab

Browse files
i80andalcaeus
andauthored
DOP-4884: Remove docs/: moved to mongodb/docs-php-library (mongodb#1367)
* DOP-4884: Remove docs/: moved to mongodb/docs-php-library * Remove docs from tests and tooling --------- Co-authored-by: Andreas Braun <[email protected]>
1 parent f2900db commit 07d76ab

File tree

246 files changed

+3
-23144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+3
-23144
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ on:
77
- "v*.*"
88
- "master"
99
- "feature/*"
10-
paths-ignore:
11-
- "docs/**"
1210
push:
1311
branches:
1412
- "v*.*"
1513
- "master"
1614
- "feature/*"
17-
paths-ignore:
18-
- "docs/**"
1915

2016
env:
2117
# TODO: change to "stable" once 1.20.0 is released

CONTRIBUTING.md

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -172,31 +172,9 @@ New rules can be added to the `rector.php` configuration file.
172172

173173
## Documentation
174174

175-
Documentation for the library lives in the `docs/` directory and is built with
176-
tools in the related
177-
[mongodb/docs-php-library](https://github.com/mongodb/docs-php-library)
178-
repository. The tools repository is already configured to reference our sources.
179-
180-
That said, any changes to the documentation should be tested locally before
181-
committing. Follow the following steps to build the docs locally with the tools
182-
repository:
183-
184-
* Clone the
185-
[mongodb/docs-php-library](https://github.com/mongodb/docs-php-library) tools
186-
repository.
187-
* Create and activate Python 2.7 virtual environment if necessary.
188-
189-
```console
190-
$ virtualenv -p python2.7 venv
191-
$ source venv/bin/activate
192-
```
193-
* Install [giza](https://pypi.python.org/pypi/giza/) according to the instructions
194-
in the [mongodb/docs-tools](https://github.com/mongodb/docs-tools) README.
195-
* Sync your working copy of the documentation to the `source/` directory with
196-
`rsync -a --delete /path/to/mongo-php-library/docs/ source/`.
197-
* Build the documentation with `giza make publish`. You can suppress
198-
informational log messages with the `--level warning` option.
199-
* Generated documentation may be found in the `build/master/html` directory.
175+
Documentation for the library is maintained by the MongoDB docs team and is kept
176+
in the [mongodb/docs-php-library](https://github.com/mongodb/docs-php-library)
177+
repository.
200178

201179
## Releasing
202180

docs/.static/.mongodb

Whitespace-only changes.

docs/examples/aws-lambda/composer.json

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

docs/examples/aws-lambda/index.php

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

docs/examples/aws-lambda/serverless.yml

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

docs/examples/codecs/handling-data-types/DateTimeCodec.php

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

docs/examples/codecs/handling-data-types/Person.php

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

docs/examples/codecs/handling-data-types/PersonCodec.php

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

docs/examples/codecs/handling-documents/Person.php

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

docs/examples/codecs/handling-documents/PersonCodec.php

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

docs/examples/codecs/handling-documents/disabling-codec.php

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

docs/examples/codecs/handling-documents/using-codec.php

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

docs/examples/codecs/handling-embedded-documents/Address.php

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

0 commit comments

Comments
 (0)