Yangshun Tay
a1de6dab04
chore: fix line endings in v2
2018-09-17 12:50:43 +08:00
Endilie Y
adbae6b2ba
Merge pull request #963 from endiliey/v2
...
v2: move v2 wip to Docusaurus
2018-09-17 12:22:45 +08:00
endiliey
0a2368b8d1
Merge branch 'master' of https://github.com/facebook/Docusaurus into v2
2018-09-17 12:18:01 +08:00
Yangshun Tay
52a5d8e8bd
Revert "v2: move current v2 work to Docusaurus ( #961 )" ( #962 )
...
This reverts commit 11ba3ac379
.
2018-09-17 12:16:01 +08:00
Endilie Y
11ba3ac379
v2: move current v2 work to Docusaurus ( #961 )
...
* first commit
* setup infra
* feat: add siteConfig loader
* feat: add blog loader
* chore(loader): prettier & eslint
* feat: add simple webpack config
* feat: prototype dev server
* chore: .gitignore & add config for demo
* feat(webpack): add better log output
* chore: prettier & eslint
* feat: prototype building dynamic react route
* chore: remove unused variables
* chore: add MIT license
* chore: remove unused package
* feat: prototype blog post generation in dev server
* refactor: config path
* feat: add more koa app for webpack-serve add-on
* refactor: use cache for blogDatas generation
* chore: prettier & remove unused
* chore: refactor & fix typo
* feat: add koa-static to serve static files
* chore: namespace webpack output
* feat & refactor: webpack-serve-waitpage and lint
* refactor: dev
* refactor: folder structure & filename
* feat: use webpackbar
* chore: delay starting webpack-serve by one second
* chore: add sakura.png to test static file
* chore: update webpack-nicelog to v2
* refactor: use docusaurus structure
* chore: add dummy blog file
* feat: add react component for markdown->html
* chore: prettier
* feat: prototype blog & docs generation on dev
* fix: blog file should trigger reload
* feat: add home page for available routes
* refactor: rename loader to load as not to confuse webpack loader
* feat: add very simple default theme
* feat: simple webpack config
* chore: dotfiles
* chore: dependencies
* feat: add React component to render Markdown
* feat: react router config generation for docs
* chore: eslint fix
* feat: add own webpack markdown to react loader
* feat: webpack config creator
* chore: eslinting
* feat: add App.js (react router config renderer)
* feat: add core dev files
* feat: add production entry & template
* feat: add build command
* refactor: start cli command
* chore: prettier & lint
* chore: delete old unused files
* feat: prototype custom pages site generation
* chore: add README
* chore: eslint fix
* feat: copy static files for production build
* chore: update readme & dependencies
* chore: more test files
* refactor: code
* chore: add blog test file
* fix: use exact path & handle non-index pages
* chore: add pages/tictactoe.js to test reactDOM
* chore: minimal es6 refactor
* dep: update webpack-nicelog
* refactor: use alias for docs & eslint
* dep: add bundle analyzer temporarily to check bundle size
* test: add test for load config
* test: load docs
* test: utils for load
* test: load pages
* chore: eslint & prettier nits
* test: genRoutesConfig
* chore: remove bundle analyzer
* test: test compile dev/prod webpack config
* chore: eslint & prettier nits
* test: fix load test
* test: more timeout for webpack compile test
* test: compile webpack config for dev and prod
* feat: use ejs to build html template
* feat: hash the webpack-compiled js file
* feat: add .css webpack loader
* test: validate generated webpack config instead of compiling
* dep: use forked version of static-generator-webpack-plugin
* feat: code split & use react helmet
* feat: remove/clean your build folder(s) before building
* chore: nits
* fix: hot reload port should not be hardcoded in case it is used
* chore: update readme
* chore: update docs examples
* chore: better examples
* test: update test webpack
* chore: add missing dep & nits :(
* feat: hljs syntax highlighting & nits
* chore: add another react pages examples
* chore: nits && lint
* feat: throw error if there is wrong field on siteConfig.js
* feat: able to specify host for dev (e.g: 0.0.0.0)
* feat: enable custom theme with eject
* feat: allow user to modify generated webpack config
* refactor: load theme
* feat: add loadEnv to check if translation / versioning is enabled
* feat: add @theme/Markdown to allow user modify their own markdown react component
* wip: trans & versioning
* test: loadPages
* chore: prepare for docs sidebar
* test: add easy setup for test cases
* feat:docs translation + versioning 💥
* test: fix inconsistent test
* fix: docs translation & versioning metadata
* test: add metadata test
* fix: yarn build error
* feat: allow custom docsUrl & custom permalink
* chore: normalize permalink to remove trailing slash if user permalink is not good
* fix: default theme url typo
* fix: provide correct paths for build
* feat: add uglifyjs webpack plugin
* test: docs ordering from sidebar
* feat: replace relative markdown link to corrrect url
* chore: rename data -> metadata for consistency
* fix: markdown linking for translated & versioned docs
* feat: pass loaded siteConfig as props for React component
* feat: add next/prev button for docs according to sidebar
* refactor: use <Link /> from react-router for next/prev link
* test: metadata test for next/prev from sidebars
* feat: avoid flash Of Loading component
* chore: naming consistency
* feat: add docs sidebar
* chore: nits
* refactor: only process translated & versioned if it is enabled
* refactor: css extraction
* v2: prepare to move
* v2: ignore v2 folder for now
* v2: nits
2018-09-17 12:14:31 +08:00
endiliey
dcb733a63a
v2: nits
2018-09-17 12:09:14 +08:00
endiliey
48f273e68f
v2: ignore v2 folder for now
2018-09-17 12:06:23 +08:00
endiliey
b9f2928053
Merge branch 'master' of into v2
2018-09-17 11:34:42 +08:00
endiliey
45736200b0
v2: prepare to move
2018-09-17 11:16:07 +08:00
endiliey
dc7ef96849
refactor: css extraction
2018-09-16 14:21:44 +08:00
endiliey
141d6558af
refactor: only process translated & versioned if it is enabled
2018-09-16 12:55:19 +08:00
endiliey
15a810fee5
chore: nits
2018-09-16 01:40:56 +08:00
endiliey
85f0fd69c0
feat: add docs sidebar
2018-09-15 16:29:10 +08:00
endiliey
c132c7445f
chore: naming consistency
2018-09-15 15:15:30 +08:00
endiliey
5eab627340
feat: avoid flash Of Loading component
2018-09-15 15:01:03 +08:00
endiliey
6b11281247
test: metadata test for next/prev from sidebars
2018-09-15 01:06:35 +08:00
endiliey
e071788f68
refactor: use <Link /> from react-router for next/prev link
2018-09-15 00:29:33 +08:00
endiliey
318ea5fbb5
feat: add next/prev button for docs according to sidebar
2018-09-15 00:25:12 +08:00
endiliey
11b0d15238
feat: pass loaded siteConfig as props for React component
2018-09-14 23:49:03 +08:00
endiliey
c0194a1f53
fix: markdown linking for translated & versioned docs
2018-09-14 23:19:47 +08:00
endiliey
e9f2fabde1
chore: rename data -> metadata for consistency
2018-09-14 22:10:19 +08:00
endiliey
760b9172b0
feat: replace relative markdown link to corrrect url
2018-09-14 20:49:50 +08:00
saransh kataria
31bc5225b5
Use dark mode color scheme for footer like button ( #959 )
2018-09-14 20:32:36 +08:00
endiliey
4d10c3b8f3
test: docs ordering from sidebar
2018-09-14 19:13:17 +08:00
endiliey
0365403a75
feat: add uglifyjs webpack plugin
2018-09-14 02:58:29 +08:00
Endilie Yacop Sucipto
377d14ef3b
chore: fix changelog broken url
2018-09-14 01:41:37 +08:00
endiliey
ca623d7d38
fix: provide correct paths for build
2018-09-14 01:30:00 +08:00
Joel Marcey
0bf253b790
Update 2018-09-11-Towards-Docusaurus-2.md
2018-09-12 13:18:15 -07:00
Tom Auger
bbef20d345
fix: live reload port fallback if port is used ( #899 )
...
* Move start reload server into separate module
* Find an unused port when starting the live reload server
* Move findUnusedPort into module
* Add tests for findUnusedPort module
* Refactor findUnusedPort
* Move starting of servers into separate module and add tests
* Remove unused constants.js
* Zap extra line breaks
* Add tests for liveReloadServer
* Rename serverController to start
* Move start into lib/server
* Add portfinder package
* Replace findUnusedPort with portfinder
* nits
2018-09-13 02:03:52 +08:00
Joel Marcey
c4740f7af2
Use older command to get remote origin ( #956 )
...
Ref #764
2018-09-13 01:36:38 +08:00
Endilie Yacop Sucipto
9367b3b63b
chore: update blog post
...
Not a time-space complexity, juat a space complexity. In fact, it builds faster in new version due to not having to find the version fallback
2018-09-12 11:15:49 +08:00
Joel Marcey
7daf64e760
Publish v1.4.0 ( #954 )
...
* v1.4.0
* Lock files
* Update CHANGELOG.md
* chore: add missing PR not included in CHANGELOG.md
* chore: fix changelog typo
* chore: fix CHANGELOG
* nits
2018-09-12 10:13:27 +08:00
Yangshun Tay
99c426a4ed
Add mission statement into blog post
2018-09-12 08:57:48 +08:00
Endilie Yacop Sucipto
85f6c19710
blog: add a sneak-peek post about Docusaurus v2 ( #952 )
...
* blog: add a blogpost talking about v2 plan & work
* proofread blogpost
* revision layout statement
* Update 2018-09-09-Towards-Docusaurus-2.0.md
* rename file from suffix '2.0' -> '2'
* proofread with grammarly :p
* rename date to 10 september
* add frequently asked questions
* rename #845 to Rrenaming docs breaks links in old versions
* edit final thoughts/conclusions a bit
* proofread again ...
* Readability updates
* change date to 11 sept & fix typo
* into just a bunch-> into a bunch
* last proofread/ fix typo
* Update 2018-09-11-Towards-Docusaurus-2.md
2018-09-12 07:44:24 +08:00
Endilie Yacop Sucipto
4a2b7cf614
fix: nested static in static breaks build ( #953 )
2018-09-12 07:31:10 +08:00
endiliey
5fcc13572c
fix: default theme url typo
2018-09-12 01:27:21 +08:00
endiliey
20f6921b52
chore: normalize permalink to remove trailing slash if user permalink is not good
2018-09-12 01:08:48 +08:00
endiliey
b99605f725
feat: allow custom docsUrl & custom permalink
2018-09-12 01:00:31 +08:00
Endilie Yacop Sucipto
11faa436ea
chore: changelog nits
2018-09-11 23:14:12 +08:00
Ashwini Purohit
9f8dd91a84
Fix broken sponsor images ( #951 )
...
Removes links which are not required from Sponsors section
2018-09-10 07:32:05 +08:00
Fienny Angelina
f2dceffc09
Fix nav to take full width in the docs page ( #935 )
...
* Fix nav to take full width in the docs page
Fix #911
* Remove using important in css
* Make Getting started flushed together with icon
2018-09-09 18:00:47 +08:00
Joel Marcey
89f49b02c8
Fix Verdaccio image
2018-09-07 19:10:23 -07:00
endiliey
185f7b1ed1
fix: yarn build error
2018-09-08 00:46:15 +08:00
endiliey
59fa427dbd
test: add metadata test
2018-09-08 00:41:17 +08:00
endiliey
68518002d7
fix: docs translation & versioning metadata
2018-09-07 22:28:33 +08:00
endiliey
0cef519e7f
test: fix inconsistent test
2018-09-07 21:51:18 +08:00
endiliey
0f38ae3979
feat:docs translation + versioning 💥
2018-09-07 20:41:04 +08:00
endiliey
31d333b82f
test: add easy setup for test cases
2018-09-07 20:25:04 +08:00
endiliey
b477863a30
chore: prepare for docs sidebar
2018-09-07 14:00:46 +08:00
endiliey
2141e6ea90
test: loadPages
2018-09-07 13:53:14 +08:00