Skip to content

Commit

Permalink
Rm 'next' site (dbt-labs#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 authored Apr 22, 2022
1 parent 763c9da commit 6382738
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 55 deletions.
12 changes: 4 additions & 8 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ Include any notes about things that need to happen before this PR is merged, e.g
- [ ] Ensure PR #56 is merged
-->

## Pre-release docs
Is this change related to an unreleased version of dbt?
- [ ] Yes: please
- update the base branch to `next`
- add Changelog components: `<Changelog>[New/Changed] in v0.x.0</Changelog>`
- add links to the "New and changed documentation" section of the latest [Migration Guide](../website/docs/docs/guides/migration-guide)
- [ ] No: please ensure the base branch is `current`
- [ ] Unsure: we'll let you know!
## Prerelease docs
If this change is related to functionality in a prerelease version of dbt (delete if not applicable):
- [ ] I've added versioning components, as described in ["Versioning Docs"](../contributing/versioningdocs.md)
- [ ] I've added a note to the prerelease version's [Migration Guide](../website/docs/docs/guides/migration-guide)

## Checklist
If you added new pages (delete if not applicable):
Expand Down
21 changes: 0 additions & 21 deletions RELEASE.md

This file was deleted.

8 changes: 0 additions & 8 deletions netlify.toml

This file was deleted.

4 changes: 0 additions & 4 deletions website/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ build:
cat ../_redirects | grep 'docs/' | awk '{ print "/v0.10" $$1 "\t" $$2 "\t" $$3 }' >> build/_redirects

cat ../_headers > build/_headers

build-prerelease:
make build
cat ../_headers > build/_headers
14 changes: 0 additions & 14 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ if(GIT_BRANCH !== 'current') {
console.log("DEBUG: CONTEXT =", process.env.CONTEXT);
console.log("DEBUG: DEPLOY_URL =", process.env.DEPLOY_URL);
console.log("DEBUG: SITE_URL = ", SITE_URL);
console.log("DEBUG: PRERELEASE = ", PRERELEASE);
console.log("DEBUG: ALGOLIA_INDEX_NAME = ", ALGOLIA_INDEX_NAME);
console.log("DEBUG: metatags = ", metatags);

Expand Down Expand Up @@ -231,19 +230,6 @@ var siteSettings = {
],
}

var PRERELEASE = (process.env.PRERELEASE || false);

if (PRERELEASE) {
var WARNING_BANNER = {
id: 'prerelease', // Any value that will identify this message.
content:
'CAUTION: Prerelease! This documentation reflects the next minor version of dbt. <a href="https://docs.getdbt.com">View current docs</a>.',
backgroundColor: '#ffa376', // Defaults to `#fff`.
textColor: '#033744', // Defaults to `#000`.
}
siteSettings.themeConfig.announcementBar = WARNING_BANNER;
}

// If versions json file found, add versions dropdown to nav
if(versions) {
siteSettings.themeConfig.navbar.items.push({
Expand Down

0 comments on commit 6382738

Please sign in to comment.