Skip to content

Commit 7cc9ad1

Browse files
committed
Update URLs for subdomain consolidation
1 parent a6a20f0 commit 7cc9ad1

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

Makefile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ DOTCOM_STAGING_URL="https://mongodbcom-cdn.website.staging.corp.mongodb.com"
1414
DOTCOM_STAGING_BUCKET=docs-mongodb-org-dotcomstg
1515
DOTCOM_PRODUCTION_URL="https://mongodb.com"
1616
DOTCOM_PRODUCTION_BUCKET=docs-mongodb-org-dotcomprd
17-
DOTCOM_PREFIX=docs-qa/ruby-driver
18-
DOTCOM_STGPREFIX=docs-qa/ruby-driver
17+
DOTCOM_PREFIX=docs/ruby-driver
18+
DOTCOM_STGPREFIX=docs/ruby-driver
1919

2020
TARGET_DIR=source-${GIT_BRANCH}
2121

@@ -57,28 +57,16 @@ publish: migrate ## Build publishable artifacts, and also migrates assets
5757
if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
5858

5959
stage: ## Host online for review
60-
mut-publish build/${GIT_BRANCH}/html ${STAGING_BUCKET} --prefix=${PROJECT} --stage ${ARGS}
61-
@echo "Hosted at ${STAGING_URL}/${PROJECT}/${USER}/${GIT_BRANCH}/index.html"
62-
6360
mut-publish build/${GIT_BRANCH}/html ${DOTCOM_STAGING_BUCKET} --prefix=${DOTCOM_STGPREFIX} --stage ${ARGS}
6461
@echo "Hosted at ${DOTCOM_STAGING_URL}/${DOTCOM_STGPREFIX}/${USER}/${GIT_BRANCH}/index.html"
6562

6663
fake-deploy: build/public/${GIT_BRANCH} ## Create a fake deployment in the staging bucket
67-
mut-publish build/public/ ${STAGING_BUCKET} --prefix=${PROJECT} --deploy --verbose --redirects build/public/.htaccess ${ARGS}
68-
@echo "Hosted at ${STAGING_URL}/${PROJECT}/${GIT_BRANCH}/index.html"
69-
7064
mut-publish build/public/ ${DOTCOM_STAGING_BUCKET} --prefix=${DOTCOM_STGPREFIX} --deploy --verbose --redirects build/public/.htaccess ${ARGS}
7165
@echo "Hosted at ${DOTCOM_STAGING_BUCKET}/${DOTCOM_STGPREFIX}/${GIT_BRANCH}/index.html"
7266

7367
deploy: build/public/${GIT_BRANCH} ## Deploy to the production bucket
74-
mut-publish build/public/ ${PRODUCTION_BUCKET} --prefix=${PROJECT} --deploy --redirects build/public/.htaccess ${ARGS}
75-
76-
@echo "Hosted at ${PRODUCTION_URL}/${PROJECT}/${GIT_BRANCH}"
77-
7868
mut-publish build/public/ ${DOTCOM_PRODUCTION_BUCKET} --prefix=${DOTCOM_PREFIX} --deploy --redirects build/public/.htaccess ${ARGS}
79-
8069
@echo "Hosted at ${DOTCOM_PRODUCTION_URL}/${DOTCOM_PREFIX}/${GIT_BRANCH}"
81-
8270
$(MAKE) deploy-search-index
8371

8472
deploy-search-index: ## Update the search index for this branch

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
pygments_style = 'sphinx'
6262

6363
extlinks = {
64-
'manual': ('https://docs.mongodb.com/manual%s', ''),
64+
'manual': ('https://www.mongodb.com/docs/manual%s', ''),
6565
}
6666

6767
## add `extlinks` for each published version.

config/intersphinx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ url: https://docs.python.org/2/
44
path: python2.inv
55
---
66
name: mongodb
7-
url: https://docs.mongodb.com/manual/
7+
url: https://www.mongodb.com/docs/manual/
88
path: mongodb.inv
99
...

0 commit comments

Comments
 (0)