Skip to content
This repository was archived by the owner on Nov 16, 2022. It is now read-only.

Commit 49b3934

Browse files
committed
[project] Moved documentation app to new repo.
1 parent 9f05864 commit 49b3934

File tree

86 files changed

+6831
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+6831
-138
lines changed

.idea/runConfigurations/npm_start.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@testing-library/jest-dom": "^4.2.4",
7-
"@testing-library/react": "^9.3.2",
8-
"@testing-library/user-event": "^7.1.2",
6+
"@danilandreev/material-docs": "^0.3.5",
7+
"@material-ui/core": "^4.11.0",
8+
"@material-ui/icons": "^4.9.1",
9+
"clsx": "^1.1.1",
910
"react": "^16.13.1",
1011
"react-dom": "^16.13.1",
12+
"react-parallax": "^3.0.3",
1113
"react-scripts": "3.4.3"
1214
},
15+
"devDependencies": {
16+
"@testing-library/jest-dom": "^4.2.4",
17+
"@testing-library/react": "^9.3.2",
18+
"@testing-library/user-event": "^7.1.2"
19+
},
1320
"scripts": {
1421
"start": "react-scripts start",
1522
"build": "react-scripts build",

public/.nojekyll

Whitespace-only changes.

public/404.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Single Page Apps for GitHub Pages</title>
6+
<script type="text/javascript">
7+
// Single Page Apps for GitHub Pages
8+
// https://github.com/rafrex/spa-github-pages
9+
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
10+
// ----------------------------------------------------------------------
11+
// This script takes the current url and converts the path and query
12+
// string into just a query string, and then redirects the browser
13+
// to the new url with only a query string and hash fragment,
14+
// e.g. http://www.foo.tld/one/two?a=b&c=d#qwe, becomes
15+
// http://www.foo.tld/?p=/one/two&q=a=b~and~c=d#qwe
16+
// Note: this 404.html file must be at least 512 bytes for it to work
17+
// with Internet Explorer (it is currently > 512 bytes)
18+
19+
// If you're creating a Project Pages site and NOT using a custom domain,
20+
// then set segmentCount to 1 (enterprise users may need to set it to > 1).
21+
// This way the code will only replace the route part of the path, and not
22+
// the real directory in which the app resides, for example:
23+
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
24+
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
25+
// Otherwise, leave segmentCount as 0.
26+
var segmentCount = 0;
27+
28+
var l = window.location;
29+
l.replace(
30+
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
31+
l.pathname.split('/').slice(0, 1 + segmentCount).join('/') + '/?p=/' +
32+
l.pathname.slice(1).split('/').slice(segmentCount).join('/').replace(/&/g, '~and~') +
33+
(l.search ? '&q=' + l.search.slice(1).replace(/&/g, '~and~') : '') +
34+
l.hash
35+
);
36+
37+
</script>
38+
</head>
39+
<body>
40+
</body>
41+
</html>

public/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
material-docs.com

public/favicon.ico

-3.08 KB
Binary file not shown.

public/favicon.png

2.39 KB
Loading

public/index.html

Lines changed: 57 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<meta name="theme-color" content="#000000" />
8-
<meta
9-
name="description"
10-
content="Web site created using create-react-app"
11-
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
3+
<head>
4+
<meta charset="utf-8"/>
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.png"/>
6+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
7+
<meta name="theme-color" content="#1976d2"/>
8+
<!-- <meta-->
9+
<!-- name="description"-->
10+
<!-- content="Web site created using create-react-app"-->
11+
<!-- />-->
12+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo.svg"/>
1313
<!--
1414
manifest.json provides metadata used when your web app is installed on a
1515
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1616
-->
17-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
17+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json"/>
18+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/>
1819
<!--
1920
Notice the use of %PUBLIC_URL% in the tags above.
2021
It will be replaced with the URL of the `public` folder during the build.
@@ -24,20 +25,51 @@
2425
work correctly both with client-side routing and a non-root public URL.
2526
Learn how to configure a non-root public URL by running `npm run build`.
2627
-->
27-
<title>React App</title>
28-
</head>
29-
<body>
30-
<noscript>You need to enable JavaScript to run this app.</noscript>
31-
<div id="root"></div>
32-
<!--
33-
This HTML file is a template.
34-
If you open it directly in the browser, you will see an empty page.
28+
<!-- <title>Material Docs</title>-->
29+
<!-- Start Single Page Apps for GitHub Pages -->
30+
<script type="text/javascript">
31+
// Single Page Apps for GitHub Pages
32+
// https://github.com/rafrex/spa-github-pages
33+
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
34+
// ----------------------------------------------------------------------
35+
// This script checks to see if a redirect is present in the query string
36+
// and converts it back into the correct url and adds it to the
37+
// browser's history using window.history.replaceState(...),
38+
// which won't cause the browser to attempt to load the new url.
39+
// When the single page app is loaded further down in this file,
40+
// the correct url will be waiting in the browser's history for
41+
// the single page app to route accordingly.
42+
(function (l) {
43+
if (l.search) {
44+
var q = {};
45+
l.search.slice(1).split('&').forEach(function (v) {
46+
var a = v.split('=');
47+
q[a[0]] = a.slice(1).join('=').replace(/~and~/g, '&');
48+
});
49+
if (q.p !== undefined) {
50+
window.history.replaceState(null, null,
51+
l.pathname.slice(0, -1) + (q.p || '') +
52+
(q.q ? ('?' + q.q) : '') +
53+
l.hash
54+
);
55+
}
56+
}
57+
}(window.location))
58+
</script>
59+
<!-- End Single Page Apps for GitHub Pages -->
60+
</head>
61+
<body>
62+
<noscript>You need to enable JavaScript to run this app.</noscript>
63+
<div id="root"></div>
64+
<!--
65+
This HTML file is a template.
66+
If you open it directly in the browser, you will see an empty page.
3567
36-
You can add webfonts, meta tags, or analytics to this file.
37-
The build step will place the bundled scripts into the <body> tag.
68+
You can add webfonts, meta tags, or analytics to this file.
69+
The build step will place the bundled scripts into the <body> tag.
3870
39-
To begin the development, run `npm start` or `yarn start`.
40-
To create a production bundle, use `npm run build` or `yarn build`.
41-
-->
42-
</body>
71+
To begin the development, run `npm start` or `yarn start`.
72+
To create a production bundle, use `npm run build` or `yarn build`.
73+
-->
74+
</body>
4375
</html>

public/logo192.png

-5.22 KB
Binary file not shown.

public/logo512.png

-9.44 KB
Binary file not shown.

0 commit comments

Comments
 (0)