File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import Layout from '@theme/Layout' ;
3- import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
42
53function Home ( ) {
6- const context = useDocusaurusContext ( ) ;
7- const { siteConfig = { } } = context ;
8- return (
9- < Layout
10- title = { `Hello from ${ siteConfig . title } ` }
11- description = "Description will go into a meta tag in <head />" >
12- </ Layout >
13- ) ;
4+ React . useEffect ( ( ) => {
5+ window . location . href = './quickstart' ;
6+ } , [ ] ) ;
7+
8+ return null
149}
1510
1611export default Home ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ [build ]
2+ base = " docs/"
3+ publish = " build/"
4+ command = """
5+ set -e
6+
7+ export OUT_DIR="build/"
8+ export TARGET_OUT_DIR="build/docs"
9+
10+ # Build docs
11+ yarn build
12+
13+ # Delete fragments folder
14+ rm -r $OUT_DIR/fragments
15+
16+ # Move files to build/docs/
17+ mkdir -p tmp-$TARGET_OUT_DIR
18+ mv $OUT_DIR/* tmp-$TARGET_OUT_DIR
19+ mkdir -p $TARGET_OUT_DIR
20+ mv tmp-$TARGET_OUT_DIR/* $TARGET_OUT_DIR
21+
22+ # Add extra files
23+ mv public/* $OUT_DIR/
24+ """
25+
26+ [build .processing ]
27+ skip_processing = false
28+ [build .processing .html ]
29+ pretty_urls = true
30+ [build .processing .css ]
31+ bundle = false
32+ minify = false
33+ [build .processing .js ]
34+ bundle = false
35+ minify = false
36+ [build .processing .images ]
37+ compress = true
You can’t perform that action at this time.
0 commit comments