` option.
+
+For each language, upload the new file to Azure blob storage in the `enterprise` container.
+
+After uploading the new files, you will need to purge the Fastly cache for the single page. From Okta, go to Fastly and select `docs`. Click `Purge` then `Purge URL`. If you need to purge a whole path, just do a `Purge All`
+
+
+
+Enter the URL or path and do a soft purge.
+
+
diff --git a/.github/workflows/sync-search-elasticsearch.yml b/.github/workflows/sync-search-elasticsearch.yml
index 7980a2a35c94..e3cabfd83502 100644
--- a/.github/workflows/sync-search-elasticsearch.yml
+++ b/.github/workflows/sync-search-elasticsearch.yml
@@ -139,9 +139,6 @@ jobs:
- name: Start the server in the background
env:
ENABLE_DEV_LOGGING: false
- # Makes it so that the React rendering of pages just does the
- # minimal needed to be able to extract the page text for search.
- MINIMAL_RENDER: true
run: |
npm run sync-search-server > /tmp/stdout.log 2> /tmp/stderr.log &
diff --git a/.github/workflows/sync-search-pr.yml b/.github/workflows/sync-search-pr.yml
index a0b2c924f663..69007df49ee4 100644
--- a/.github/workflows/sync-search-pr.yml
+++ b/.github/workflows/sync-search-pr.yml
@@ -67,9 +67,6 @@ jobs:
- name: Start the server in the background
env:
ENABLE_DEV_LOGGING: false
- # Makes it so that the React rendering of pages just does the
- # minimal needed to be able to extract the page text for search.
- MINIMAL_RENDER: true
run: |
npm run sync-search-server > /tmp/stdout.log 2> /tmp/stderr.log &
diff --git a/assets/images/fastly_purge.jpg b/assets/images/fastly_purge.jpg
new file mode 100644
index 000000000000..9ade3b2b7597
Binary files /dev/null and b/assets/images/fastly_purge.jpg differ
diff --git a/assets/images/fastly_purge_url.jpg b/assets/images/fastly_purge_url.jpg
new file mode 100644
index 000000000000..ff74b8f5e6e1
Binary files /dev/null and b/assets/images/fastly_purge_url.jpg differ
diff --git a/components/DefaultLayout.tsx b/components/DefaultLayout.tsx
index 6220d3e0f90e..781e9b586b60 100644
--- a/components/DefaultLayout.tsx
+++ b/components/DefaultLayout.tsx
@@ -11,6 +11,8 @@ import { useMainContext } from 'components/context/MainContext'
import { useTranslation } from 'components/hooks/useTranslation'
import { useRouter } from 'next/router'
+const MINIMAL_RENDER = Boolean(JSON.parse(process.env.MINIMAL_RENDER || 'false'))
+
type Props = { children?: React.ReactNode }
export const DefaultLayout = (props: Props) => {
const {
@@ -31,7 +33,7 @@ export const DefaultLayout = (props: Props) => {
// This is only true when we do search indexing which renders every page
// just to be able to `cheerio` load the main body (and the meta
// keywords tag).
- if (process.env.MINIMAL_RENDER) {
+ if (MINIMAL_RENDER) {
return (
diff --git a/data/release-notes/enterprise-server/README.md b/data/release-notes/enterprise-server/README.md
index ad43fe5d46fd..9915b5c498e3 100644
--- a/data/release-notes/enterprise-server/README.md
+++ b/data/release-notes/enterprise-server/README.md
@@ -2,6 +2,15 @@
Rendered here: https://docs.github.com/en/enterprise-server@latest/admin/release-notes
+## Adding release notes to a deprecated GitHub Enterprise Server release
+
+During the deprecation of a GitHub Enterprise Server release per [this issue template](/.github/actions-scripts/enterprise-server-issue-templates/deprecation-issue.md), Docs Engineering removes the YAML files with the version's release notes from `github/docs-internal`.
+
+If a stakeholder requests an update to deprecated release notes, you can update the notes by completing the following steps.
+
+1. Check out the long-running branch enterprise-VERSION-release and create a PR to update the release notes for the deprecated version on that branch.
+2. Reach out to #docs-engineering to request a re-scrape and update of the content stored in Azure. See the section about re-scraping content in the [deprecation checklist](/.github/actions-scripts/enterprise-server-issue-templates/deprecation-issue.md).
+
## How it works
### Placeholder content file
diff --git a/lib/page.js b/lib/page.js
index ce70b6f9400b..75cac9b6d487 100644
--- a/lib/page.js
+++ b/lib/page.js
@@ -187,7 +187,6 @@ class Page {
textOnly: true,
})
- context.relativePath = this.relativePath
const html = await renderContentWithFallback(this, 'markdown', context)
// Adding communityRedirect for Discussions, Sponsors, and Codespaces - request from Product
diff --git a/package.json b/package.json
index d2453d83f71f..e271b7bd4250 100644
--- a/package.json
+++ b/package.json
@@ -196,7 +196,7 @@
"sync-search": "cross-env NODE_OPTIONS='--max_old_space_size=8192' start-server-and-test sync-search-server 4002 sync-search-indices",
"sync-search-ghes-release": "cross-env GHES_RELEASE=1 start-server-and-test sync-search-server 4002 sync-search-indices",
"sync-search-indices": "script/search/sync-search-indices.js",
- "sync-search-server": "cross-env NODE_ENV=production PORT=4002 CHANGELOG_DISABLED=true node server.js",
+ "sync-search-server": "cross-env NODE_ENV=production PORT=4002 MINIMAL_RENDER=true CHANGELOG_DISABLED=true node server.js",
"translation-check": "start-server-and-test translation-check-server 4002 translation-check-test",
"translation-check-server": "cross-env NODE_ENV=test PORT=4002 node server.js",
"translation-check-test": "script/i18n/test-html-pages.js",