@@ -5,7 +5,7 @@ STAGING_URL="https://docs-mongodborg-staging.corp.mongodb.com"
5
5
STAGING_BUCKET =docs-mongodb-org-prd-staging
6
6
7
7
PRODUCTION_BUCKET =docs-mongodb-org-prd
8
- PRODUCTION_URL =https://docs. mongodb.com/guides
8
+ PRODUCTION_URL =https://mongodb.com/docs /guides
9
9
10
10
PROJECT =guides
11
11
@@ -39,7 +39,7 @@ stage: ## Host online for review
39
39
mut-publish build/${GIT_BRANCH} /html ${DOTCOM_STAGING_BUCKET} --prefix=${DOTCOM_STGPREFIX} --stage ${ARGS}
40
40
@echo " Hosted at ${DOTCOM_STAGING_URL} /${DOTCOM_STGPREFIX} /${USER} /${GIT_BRANCH} /index.html"
41
41
42
-
42
+
43
43
44
44
deploy : build/public # # Deploy to the production bucket
45
45
mut-publish build/public ${DOTCOM_PRODUCTION_BUCKET} --prefix=${DOTCOM_PREFIX} --deploy --all-subdirectories ${ARGS}
@@ -70,15 +70,15 @@ examples:
70
70
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-csharp-driver/master/tests/MongoDB.Driver.Examples/DocumentationExamples.cs -o ${DRIVERS_PATH} /DocumentationExamples.cs
71
71
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-csharp-driver/master/tests/MongoDB.Driver.Examples/ChangeStreamExamples.cs -o ${DRIVERS_PATH} /ChangeStreamExamples.cs
72
72
# curl -SfL https://raw.githubusercontent.com/mongodb/mongo-c-driver/master/tests/test-mongoc-sample-commands.c -o ${DRIVERS_PATH}/test-mongoc-sample-commands.c
73
- curl -SfL https://raw.githubusercontent.com/mongodb/mongo-go-driver/master/examples/documentation_examples/examples.go -o ${DRIVERS_PATH} /examples.go
73
+ curl -SfL https://raw.githubusercontent.com/mongodb/mongo-go-driver/master/examples/documentation_examples/examples.go -o ${DRIVERS_PATH} /examples.go
74
74
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-java-driver-reactivestreams/master/examples/documentation/src/DocumentationSamples.java -o ${DRIVERS_PATH} /AsyncDocumentationSamples.java
75
75
curl -Sfl https://raw.githubusercontent.com/skerschb/testauth/react_stitch_google/src/index.js -o ${DRIVERS_PATH} /react_stitch_google.js
76
- curl -Sfl https://raw.githubusercontent.com/mongodb/mongo-go-driver/master/examples/documentation_examples/examples.go -o ${DRIVERS_PATH} /examples.go
76
+ curl -Sfl https://raw.githubusercontent.com/mongodb/mongo-go-driver/master/examples/documentation_examples/examples.go -o ${DRIVERS_PATH} /examples.go
77
77
curl -SfL https://raw.githubusercontent.com/skerschb/testauth/master/src/index.js -o ${DRIVERS_PATH} /react_stitch_google.js
78
78
cp examples/java/ConnectExample.java ${DRIVERS_PATH} /JavaConnectExample.java
79
79
cp examples/csharp/Connect.cs ${DRIVERS_PATH} /csharpconnect.cs
80
- cp examples/go/assign/assign.go ${DRIVERS_PATH} /assign.go
81
- cp examples/go/connect/connect.go ${DRIVERS_PATH} /connect.go
80
+ cp examples/go/assign/assign.go ${DRIVERS_PATH} /assign.go
81
+ cp examples/go/connect/connect.go ${DRIVERS_PATH} /connect.go
82
82
cp examples/python/connect/connect.py ${DRIVERS_PATH} /connect.py
83
83
cp examples/go/connect/connect.go ${DRIVERS_PATH} /connect.go
84
84
cp examples/motor/connect/connect.py ${DRIVERS_PATH} /motorconnect.py
@@ -97,10 +97,10 @@ screenshots:
97
97
-rm -r screenshots-temp/guides
98
98
mkdir -p screenshots-temp/guides
99
99
cd build/docs-tools/tools/screenshot-tool && npm install
100
- node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-provider.js ` pwd` /screenshot-scripts/.properties.ini
100
+ node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-provider.js ` pwd` /screenshot-scripts/.properties.ini
101
101
node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-clusterselect.js ` pwd` /screenshot-scripts/.properties.ini
102
- node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-importatlas.js ` pwd` /screenshot-scripts/.properties.ini
103
- node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-connectionstringcompass.js ` pwd` /screenshot-scripts/.properties.ini
104
- node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-connectionstringdrivers.js ` pwd` /screenshot-scripts/.properties.ini
105
- node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-connectionstringwhitelist.js ` pwd` /screenshot-scripts/.properties.ini
102
+ node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-importatlas.js ` pwd` /screenshot-scripts/.properties.ini
103
+ node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-connectionstringcompass.js ` pwd` /screenshot-scripts/.properties.ini
104
+ node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-connectionstringdrivers.js ` pwd` /screenshot-scripts/.properties.ini
105
+ node build/docs-tools/tools/screenshot-tool/screenshots.js ` pwd` /screenshot-scripts/guides-connectionstringwhitelist.js ` pwd` /screenshot-scripts/.properties.ini
106
106
# node build/docs-tools/tools/screenshot-tool/screenshots.js `pwd`/screenshot-scripts/guides-connectionstring.js `pwd`/screenshot-scripts/.properties.ini
0 commit comments