|
1 | 1 | define: base https://www.mongodb.com/docs/php-library
|
2 | 2 | define: prefix docs/php-library
|
3 | 3 | raw: ${prefix}/ -> ${base}/current
|
4 |
| -define: versions v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 v1.15 v1.16 v1.17 v1.18 v1.19 v1.20 master |
| 4 | +define: versions v1.16 v1.17 v1.18 v1.19 v1.20 v1.21 master |
5 | 5 | symlink: upcoming -> master
|
6 |
| -symlink: current -> v1.20 |
| 6 | +symlink: current -> v1.21 |
7 | 7 |
|
8 | 8 | (v1.16-*]: ${prefix}/${version}/tutorial/client-side-encryption/ -> ${base}/${version}/tutorial/encryption/
|
9 | 9 | [v1.16]: ${prefix}/${version}/tutorial/encryption/ -> ${base}/${version}/
|
| 10 | +[v1.20-*]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/${version}/get-started/run-sample-query/ |
| 11 | +[*-v1.20]: ${prefix}/${version}/aggregation/atlas-search -> ${base}/${version}/aggregation/ |
| 12 | +[*-v1.20]: ${prefix}/${version}/aggregation/vector-search -> ${base}/${version}/aggregation/ |
| 13 | +[*-v1.20]: ${prefix}/${version}/builders -> ${base}/${version}/ |
| 14 | + |
| 15 | +# standardization redirects |
| 16 | + |
| 17 | +# redirects in standardized docs |
| 18 | +[v1.20-*]: ${prefix}/${version}/tutorial/install-php-library/ -> ${base}/${version}/get-started/download-and-install/ |
| 19 | +[v1.20-*]: ${prefix}/${version}/tutorial/connecting/ -> ${base}/${version}/connect/ |
| 20 | +[v1.20-*]: ${prefix}/${version}/tutorial/server-selection/ -> ${base}/${version}/monitoring/cluster-monitoring/ |
| 21 | +[v1.20-*]: ${prefix}/${version}/tutorial/crud/ -> ${base}/${version}/read/ |
| 22 | +[v1.20-*]: ${prefix}/${version}/tutorial/codecs/ -> ${base}/${version}/data-formats/codecs/ |
| 23 | +[v1.20-*]: ${prefix}/${version}/tutorial/collation/ -> ${base}/${version}/ |
| 24 | +[v1.20-*]: ${prefix}/${version}/tutorial/commands/ -> ${base}/${version}/run-command/ |
| 25 | +[v1.20-*]: ${prefix}/${version}/tutorial/custom-types/ -> ${base}/${version}/data-formats/custom-types/ |
| 26 | +[v1.20-*]: ${prefix}/${version}/tutorial/decimal128/ -> ${base}/${version}/data-formats/decimal128/ |
| 27 | +[v1.20-*]: ${prefix}/${version}/tutorial/encryption/ -> ${base}/${version}/security/in-use-encryption/ |
| 28 | +[v1.20-*]: ${prefix}/${version}/tutorial/gridfs/ -> ${base}/${version}/write/gridfs/ |
| 29 | +[v1.20-*]: ${prefix}/${version}/tutorial/indexes/ -> ${base}/${version}/indexes/ |
| 30 | +[v1.20-*]: ${prefix}/${version}/tutorial/tailable-cursor/ -> ${base}/${version}/read/cursor/ |
| 31 | +[v1.20-*]: ${prefix}/${version}/tutorial/example-data/ -> ${base}/${version}/ |
| 32 | +[v1.20-*]: ${prefix}/${version}/tutorial/modeling-bson-data/ -> ${base}/${version}/data-formats/modeling-bson-data/ |
| 33 | +[v1.20-*]: ${prefix}/${version}/tutorial/stable-api/ -> ${base}/${version}/stable-api/ |
| 34 | +[v1.20-*]: ${prefix}/${version}/tutorial/aws-lambda/ -> ${base}/${version}/aws-lambda/ |
| 35 | + |
| 36 | +# redirects in old docs |
| 37 | +# note: this mapping does not account for all of the new pages |
| 38 | +[*-v1.19]: ${prefix}/${version}/get-started/download-and-install/ -> ${base}/${version}/tutorial/install-php-library/ |
| 39 | +[*-v1.19]: ${prefix}/${version}/connect/ -> ${base}/${version}/tutorial/connecting/ |
| 40 | +[*-v1.19]: ${prefix}/${version}/monitoring/cluster-monitoring/ -> ${base}/${version}/tutorial/server-selection/ |
| 41 | +[*-v1.19]: ${prefix}/${version}/read/ -> ${base}/${version}/tutorial/crud/ |
| 42 | +[*-v1.19]: ${prefix}/${version}/data-formats/codecs/ -> ${base}/${version}/tutorial/codecs/ |
| 43 | +[*-v1.19]: ${prefix}/${version}/run-command/ -> ${base}/${version}/tutorial/commands/ |
| 44 | +[*-v1.19]: ${prefix}/${version}/data-formats/custom-types/ -> ${base}/${version}/tutorial/custom-types/ |
| 45 | +[*-v1.19]: ${prefix}/${version}/data-formats/decimal128/ -> ${base}/${version}/tutorial/decimal128/ |
| 46 | +[*-v1.19]: ${prefix}/${version}/security/in-use-encryption/ -> ${base}/${version}/tutorial/encryption/ |
| 47 | +[*-v1.19]: ${prefix}/${version}/write/gridfs/ -> ${base}/${version}/tutorial/gridfs/ |
| 48 | +[*-v1.19]: ${prefix}/${version}/indexes/ -> ${base}/${version}/tutorial/indexes/ |
| 49 | +[*-v1.19]: ${prefix}/${version}/read/cursor/ -> ${base}/${version}/tutorial/tailable-cursor/ |
| 50 | +[*-v1.19]: ${prefix}/${version}/data-formats/modeling-bson-data/ -> ${base}/${version}/tutorial/modeling-bson-data/ |
| 51 | +[*-v1.19]: ${prefix}/${version}/stable-api/ -> ${base}/${version}/tutorial/stable-api/ |
| 52 | +[*-v1.19]: ${prefix}/${version}/whats-new/ -> ${base}/${version}/ |
| 53 | +[*-v1.19]: ${prefix}/${version}/aws-lambda/ -> ${base}/${version}/tutorial/aws-lambda/ |
0 commit comments