Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Bootstrap docs/landing page site #542

Merged
merged 63 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
cca7657
bootstrap docs/landing page site
bharatkashyap Jun 9, 2022
08e6706
WIP
Janpot Jun 13, 2022
59ea90a
One step further
Janpot Jun 14, 2022
08d9cc9
First somewhat working version
Janpot Jun 14, 2022
4c9f920
clean up
Janpot Jun 14, 2022
ea15750
Merge branch 'master' into landing-page
Janpot Jun 14, 2022
1973e46
fixing types resolution
Janpot Jun 14, 2022
ba93755
Merge branch 'master' into landing-page
Janpot Jun 14, 2022
0dfb294
Merge branch 'master' into landing-page
Janpot Jun 14, 2022
e3f3348
Remove unused
Janpot Jun 14, 2022
4e83eaf
Add redirect and fix monorepo import
Janpot Jun 14, 2022
4adb78b
add all packages
Janpot Jun 14, 2022
b55fb39
some more tweaks
Janpot Jun 16, 2022
bcb39b4
out with the old, in with the new
bharatkashyap Jun 17, 2022
ff0418a
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jun 17, 2022
7bb997f
add build, export commands
bharatkashyap Jun 17, 2022
79646d9
Remove x redirect rules
bharatkashyap Jun 17, 2022
eb932c2
Fix FOUC in Next 12.1.6
bharatkashyap Jun 20, 2022
efa8901
clean up docs
bharatkashyap Jun 22, 2022
e42312a
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jun 22, 2022
5f17381
skip `import/no-unresolved` for `@mui/markdown`
bharatkashyap Jun 23, 2022
e11f0f3
clean up
bharatkashyap Jun 23, 2022
89a23a5
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jun 23, 2022
7f0f56a
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jun 23, 2022
d589a4d
lockfile fixes after merge
bharatkashyap Jun 23, 2022
15b44a2
Landing page placeholder
apedroferreira Jun 30, 2022
61f7a03
Fix link
oliviertassinari Jul 2, 2022
aeba60b
Improve markdown
oliviertassinari Jul 2, 2022
bc1739a
Make build configuration easy to collaborate over
bharatkashyap Jul 4, 2022
8de7564
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 4, 2022
efd46fa
move netlify.toml to the root
oliviertassinari Jul 5, 2022
8d252de
merge
oliviertassinari Jul 5, 2022
98433d4
fix readme image
oliviertassinari Jul 5, 2022
0d0476c
need a more recent version
oliviertassinari Jul 5, 2022
2377896
fix yarn docs:build
oliviertassinari Jul 5, 2022
74a230b
fix deploy
oliviertassinari Jul 5, 2022
8fe7118
dead code
oliviertassinari Jul 5, 2022
b7c3725
server-render the landing page
bharatkashyap Jul 5, 2022
f34c78f
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 5, 2022
d4fd6f8
Merge branch 'landing-page' of github.com:mui/mui-toolpad into landin…
bharatkashyap Jul 5, 2022
342e4bc
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 6, 2022
d234590
rename paths
bharatkashyap Jul 6, 2022
506d804
add toolpad specific docs routes
bharatkashyap Jul 6, 2022
88aed73
follow namespace to minimise conflicts
bharatkashyap Jul 6, 2022
de24c60
Rename paths for uniformity, remove redundant page
bharatkashyap Jul 6, 2022
96229d3
fix failing build
bharatkashyap Jul 6, 2022
b25bc58
Merge branches 'landing-page' and 'master' of github.com:mui/mui-tool…
bharatkashyap Jul 8, 2022
3af8f05
prettier: remove extra spaces
bharatkashyap Jul 8, 2022
190b4f1
fix trailing slash
oliviertassinari Jul 8, 2022
98d282e
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 8, 2022
7c12b3f
Merge branch 'landing-page' of github.com:mui/mui-toolpad into landin…
bharatkashyap Jul 8, 2022
bc8dedc
Revert "fix yarn docs:build"
bharatkashyap Jul 11, 2022
0101cf8
mui/material-ui#33390 has landed
bharatkashyap Jul 11, 2022
bbffd69
Missed changing all deps
bharatkashyap Jul 11, 2022
d9011f1
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 11, 2022
395723e
Dependency update for Next.js and MUI Monorepo
bharatkashyap Jul 11, 2022
ab01624
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 12, 2022
27d10e4
Landing page update
bharatkashyap Jul 13, 2022
460d6a1
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 14, 2022
84f26de
Extension not required
bharatkashyap Jul 14, 2022
da16320
Merge branch 'master' of github.com:mui/mui-toolpad into landing-page
bharatkashyap Jul 15, 2022
033e899
`test_static` prettier fix
bharatkashyap Jul 15, 2022
2f60253
[fix] references to X
bharatkashyap Jul 15, 2022
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ yarn-error.log*
# vercel
.vercel

# docs

/docs/export

lerna-debug.log

.env
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Quickly build internal tools. MUI Toolpad is a self-hosted low-code internal too

</div>

![Editor screenshot](./docs/images/hero-screenshot.png)
![Editor screenshot](./docs/public/static/toolpad/hero-screenshot.png)

## Notice

Expand Down
27 changes: 20 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
# MUI Toolpad
# MUI X docs

Low code tool, for developers, powered by MUI.
This is the documentation website of MUI X.

## Table of contents
To start the docs site in development mode, from the project root, run:

- [Setup instructions](./setup.md)
- [Getting started](./getting-started.md)
- Datasources
- [Google Sheets](./google-sheets.md)
```sh
yarn && yarn docs:dev
```

If you do not have yarn installed, select your OS and follow the instructions on the [Yarn website](https://yarnpkg.com/lang/en/docs/install/#mac-stable).

_DO NOT USE NPM, use Yarn to install the dependencies._

## How can I add a new demo to the documentation?

[You can follow this guide](https://github.com/mui/material-ui/blob/HEAD/CONTRIBUTING.md)
on how to get started contributing to MUI.

## How do I help to improve the translations?

Please visit https://translate.mui.com/ where you will be able to select a language and edit the translations.
Please don't submit pull requests directly.
41 changes: 41 additions & 0 deletions docs/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
const fse = require('fs-extra');

const { version: transformRuntimeVersion } = fse.readJSONSync(
require.resolve('@babel/runtime-corejs2/package.json'),
);

module.exports = {
presets: [
// backport of https://github.com/zeit/next.js/pull/9511
['next/babel', { 'transform-runtime': { corejs: 2, version: transformRuntimeVersion } }],
],
plugins: [
[
'babel-plugin-transform-rename-import',
{
replacements: [{ original: '@mui/utils/macros/MuiError.macro', replacement: 'react' }],
},
],
'babel-plugin-optimize-clsx',
// for IE 11 support
'@babel/plugin-transform-object-assign',
'babel-plugin-preval',
],
ignore: [
// Fix a Windows issue.
/@babel[\\|/]runtime/,
// Fix const foo = /{{(.+?)}}/gs; crashing.
/prettier/,
/@mui[\\|/]docs[\\|/]markdown/,
],
env: {
production: {
plugins: [
// TODO fix useGridSelector side effect and enable back.
// '@babel/plugin-transform-react-constant-elements',
['babel-plugin-react-remove-properties', { properties: ['data-mui-test'] }],
['babel-plugin-transform-react-remove-prop-types', { mode: 'remove' }],
],
},
},
};
32 changes: 0 additions & 32 deletions docs/data-fetching.md

This file was deleted.

Loading