Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import * as path from 'path';
import * as url from 'url';
import * as fs from 'fs';
import * as semver from 'semver';
// @ts-ignore
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import { createRequire } from 'module';
Expand Down Expand Up @@ -182,6 +183,7 @@ export default withDocsInfra({
env: {
// docs-infra
LIB_VERSION: pkg.version,
SEARCH_INDEX: `material-ui-v${semver.major(pkg.version)}`,
SOURCE_CODE_REPO: 'https://github.com/mui/material-ui',
SOURCE_GITHUB_BRANCH: 'master', // #target-branch-reference
GITHUB_TEMPLATE_DOCS_FEEDBACK: '4.docs-feedback.yml',
Expand Down
2 changes: 2 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"react-virtuoso": "^4.18.3",
"react-window": "^2.2.7",
"rimraf": "^6.1.3",
"semver": "^7.7.4",
"styled-components": "^6.3.11",
"stylis": "catalog:docs",
"use-count-up": "^3.0.1",
Expand All @@ -123,6 +124,7 @@
"@types/react-dom": "19.2.3",
"@types/react-swipeable-views": "0.13.6",
"@types/react-transition-group": "4.4.12",
"@types/semver": "^7.7.1",
"@types/stylis": "4.2.7",
"chai": "6.2.2",
"cross-fetch": "4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/modules/components/AppSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export default function AppSearch(props) {
initialQuery={initialQuery}
appId="TZGZ85B9TB"
apiKey="8177dfb3e2be72b241ffb8c5abafa899"
indexName="material-ui"
indexName={process.env.SEARCH_INDEX}
searchParameters={{
facetFilters: ['version:master', facetFilterLanguage],
filters,
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading