Skip to content

Commit

Permalink
[docs] Change the links to point to the apex (#15765)
Browse files Browse the repository at this point in the history
* [docs] Change the links to point to the apex

* tag latest
  • Loading branch information
oliviertassinari committed May 23, 2019
1 parent c9b7000 commit 89687f3
Show file tree
Hide file tree
Showing 170 changed files with 534 additions and 2,703 deletions.
7 changes: 3 additions & 4 deletions .eslintignore
Expand Up @@ -3,10 +3,9 @@
/coverage
/docs/export
/examples/create-react-app*/src/serviceWorker.js
/examples/gatsby-next/public/
/examples/gatsby/public
/examples/preact-next/config
/examples/preact-next/scripts
/examples/gatsby/public/
/examples/preact/config
/examples/preact/scripts
/packages/babel-plugin-unwrap-createStyles/test/__fixtures__/
/packages/material-ui-codemod/lib
/packages/material-ui-codemod/src/*/*.test
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Expand Up @@ -269,7 +269,7 @@ We will focus or effort on the stability of the library for the next two weeks.
We don't plan more breaking changes, at the exception of changes that are required to fix bugs or that have minor impacts.
We hope we can release v4 on May 15th, one year after v1.

Please try the beta out! You can find an [upgrade guide](https://next.material-ui.com/guides/migration-v3/) to ease the transition.
Please try the beta out! You can find an [upgrade guide](https://material-ui.com/guides/migration-v3/) to ease the transition.
You will learn more about v4 in the final release blog post and our plans for the future.

### `@material-ui/core@v4.0.0-beta.0`
Expand Down Expand Up @@ -403,7 +403,7 @@ Here are the last breaking changes we want to introduce:

We have done a lot of changes in the alpha phase.
The beta phase will be used to stabilize the library, we might have introduced bugs.
We will encourage people to try the beta out. We hope the migration will be smooth [with the upgrade guide](https://next.material-ui.com/guides/migration-v3/).
We will encourage people to try the beta out. We hope the migration will be smooth [with the upgrade guide](https://material-ui.com/guides/migration-v3/).

We hope 2-3 weeks of beta will be enough. We plan on releasing v4 stable in May.

Expand Down Expand Up @@ -1257,7 +1257,7 @@ Remove the first option argument of `withTheme()`. The first argument was a plac
This is our first unstable release toward Material-UI v4.0.0. We try to release a major every 6-12 months.
This gives us the opportunity to remove deprecated APIs, upgrade our peer dependencies and more importantly, keep up with the direction the community is taking.

- You can find the documentation following this URL: https://next.material-ui.com/.
- You can find the documentation following this URL: https://material-ui.com/.
- You can track our progress following this URL: https://github.com/mui-org/material-ui/milestone/25.

A big thanks to the 28 contributors who made this release possible!
Expand Down
18 changes: 2 additions & 16 deletions README.md
Expand Up @@ -28,7 +28,7 @@

Material-UI is available as an [npm package](https://www.npmjs.com/package/@material-ui/core).

**[Stable channel v3](https://material-ui.com/)**
**[Stable channel v4](https://material-ui.com/)**
```sh
// with npm
npm install @material-ui/core
Expand All @@ -37,24 +37,10 @@ npm install @material-ui/core
yarn add @material-ui/core
```

**[Next channel v4.0.0-beta](https://next.material-ui.com/)**
```sh
// with npm
npm install @material-ui/core@next

// with yarn
yarn add @material-ui/core@next
**[v3.x](https://v3-9-0.material-ui.com/)** ([Migration From v3 to v4](https://material-ui.com/guides/migration-v3/))
```
**[v0.x](https://v0.material-ui.com/)** ([Migration to v1](https://material-ui.com/guides/migration-v0x/))
```sh
// with npm
npm install material-ui

// with yarn
yarn add material-ui
```

Please note that `@next` will only point to pre-releases; to get the latest stable release use `@latest` instead.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/modules/components/AppContent.js
Expand Up @@ -6,7 +6,7 @@ import Container from '@material-ui/core/Container';

const styles = theme => ({
root: {
paddingTop: 80 + 29 + 16,
paddingTop: 80 + 16,
flex: '1 1 100%',
maxWidth: '100%',
margin: '0 auto',
Expand Down
4 changes: 0 additions & 4 deletions docs/src/modules/components/AppDrawer.js
Expand Up @@ -65,9 +65,6 @@ const styles = theme => ({
toolbarIe11: {
display: 'flex',
},
placeholder: {
height: 29,
},
toolbar: {
...theme.mixins.toolbar,
paddingLeft: theme.spacing(3),
Expand Down Expand Up @@ -141,7 +138,6 @@ function AppDrawer(props) {

const drawer = (
<PersistScroll>
<div className={classes.placeholder} />
<div className={classes.toolbarIe11}>
<div className={classes.toolbar}>
<Link className={classes.title} href="/" onClick={onClose} variant="h6" color="inherit">
Expand Down
21 changes: 0 additions & 21 deletions docs/src/modules/components/AppFrame.js
Expand Up @@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import NProgress from 'nprogress';
import Router from 'next/router';
import Interpolate from '@trendmicro/react-interpolate';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import AppBar from '@material-ui/core/AppBar';
Expand Down Expand Up @@ -85,13 +84,6 @@ const styles = theme => ({
root: {
display: 'flex',
},
banner: {
display: 'block',
padding: 4,
textAlign: 'center',
backgroundColor: theme.palette.primary.dark,
color: theme.palette.primary.contrastText,
},
grow: {
flex: '1 1 auto',
},
Expand Down Expand Up @@ -228,19 +220,6 @@ class AppFrame extends React.Component {
<Notifications />
<MarkdownLinks />
<AppBar className={appBarClassName}>
<Typography className={classes.banner} variant="body2" noWrap>
<Interpolate
replacement={{
versionNumber: (
<Link color="inherit" href="/versions/">
{`v${process.env.LIB_VERSION}`}
</Link>
),
}}
>
{t('topBanner')}
</Interpolate>
</Typography>
<Toolbar>
<IconButton
edge="start"
Expand Down
4 changes: 2 additions & 2 deletions docs/src/modules/components/AppTableOfContents.js
Expand Up @@ -15,9 +15,9 @@ import compose from 'docs/src/modules/utils/compose';

const styles = theme => ({
root: {
top: 70 + 29,
top: 70,
// Fix IE 11 position sticky issue.
marginTop: 70 + 29,
marginTop: 70,
width: 175,
flexShrink: 0,
order: 2,
Expand Down
1 change: 0 additions & 1 deletion docs/translations/translations.json
@@ -1,5 +1,4 @@
{
"topBanner": "⚠️ ({{versionNumber}}) This is the documentation for the `next` release.",
"homeQuickWord": "A quick word from our sponsors:",
"editWebsiteColors": "Edit website colors",
"toggleTheme": "Toggle light/dark theme",
Expand Down
32 changes: 0 additions & 32 deletions examples/cdn-next/README.md

This file was deleted.

118 changes: 0 additions & 118 deletions examples/cdn-next/index.html

This file was deleted.

7 changes: 0 additions & 7 deletions examples/cdn-next/package.json

This file was deleted.

8 changes: 4 additions & 4 deletions examples/cdn/README.md
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/cdn
curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/cdn
cd cdn
```

Expand All @@ -22,11 +22,11 @@ which is great for prototyping. We discourage using this approach in production
the client has to download the entire library, regardless of which components are actually used,
affecting performance and bandwidth utilisation.

[The live preview.](https://rawgit.com/mui-org/material-ui/next/examples/cdn/index.html)
[The live preview.](https://rawgit.com/mui-org/material-ui/master/examples/cdn/index.html)

## UMD releases

We are providing two Universal Module Definition (UMD) files:

- one for development: https://unpkg.com/@material-ui/core/umd/material-ui.development.js
- one for production: https://unpkg.com/@material-ui/core/umd/material-ui.production.min.js
- one for development: https://unpkg.com/@material-ui/core@latest/umd/material-ui.development.js
- one for production: https://unpkg.com/@material-ui/core@latest/umd/material-ui.production.min.js

0 comments on commit 89687f3

Please sign in to comment.