Commit graph

229 commits

Author SHA1 Message Date
Endi
52e67a1c35
chore(v2): fix landing page avatar (#1675) 2019-07-19 00:12:18 +07:00
Endi
b34ad721e4
feat(v2): @docusaurus/plugin-ideal-image (#1665)
* chore(v2): tweak image opt before moving to docusaurus-plugin-image

* lint

* feat(v2): convert to docusaurus-plugin-ideal-image

* tweak

* dont need many img

* fix dev err

* tweak

* opt png

* lower qual
2019-07-17 21:53:40 +08:00
Yangshun Tay
281f02279f
feat(v2): add showcase page (#1660)
* feat(v2): add showcase page

* misc(v2): shift users out of pages to prevent it from being treated as a page

* misc(v2): update title
2019-07-13 21:44:40 -07:00
Endi
ca67cad2a7
feat(v2): add more essential meta tags (#1651)
* feat(v2): add more essential meta tags

* nits tagline
2019-07-13 01:23:00 +08:00
Wei Gao
2491c53ba9 feat(v2): improve seo (#1588)
* feat(v2): improve seo

- Add doc specific seo information
- Add twitter meta tags to seo in theme Layout

* Cannot use svg in SEO image

* Add docs about SEO

* add site default image for seo

* Resolve PR discussion

* Add `image` to config optional fields

* Use theme config instead of root config for image, rename in front matter

* Use absolute url for image (wont work on preview)

* update docs for frontmatter field for seo

* refactor

* pages seo

* fix

* nits again'
2019-07-13 00:23:49 +08:00
Yangshun Tay
ffbc7a37f8
refactor(v2): move source files to be under website/src directory (#1609)
* refactor(v2): move source files to be under website/src directory

* misc: rename src constant
2019-06-15 09:59:23 -07:00
Yangshun Tay
cfffad8c6d feat(v2): implement Google analytics plugin 2019-06-10 00:16:06 -07:00
Yangshun Tay
7375789e46 feat(v2): implement Google gtag plugin 2019-06-09 23:21:36 -07:00
Endi
5362c2cda2
refactor(v2): move livecodeblock as plugin (#1566)
* refactor(v2): move livecodeblock as plugin

* tweak from rebase

* nits

* nits

* dep
2019-06-06 15:49:11 +07:00
Endi
b789624d2e feat(v2): allow easy css override with custom css (#1559)
* feat(v2): allow easy css override with custom css

* lint

* fix(v2): use back require for client modules
2019-06-04 10:03:11 -07:00
Yangshun Tay
246c1814c0
fix(v2): use infima from npm instead of trunk CDN (#1556) 2019-06-04 00:46:31 -07:00
Yangshun Tay
c75cec76ec misc: update Docusaurus 2 URL 2019-05-26 16:43:28 -07:00
Yangshun Tay
89ef4b9c44 feat(v2): move navbar config into themeConfig (#1477)
* feat(v2): move navbar config into themeConfig

* misc: fix tests

* fix: support external url for logo
2019-05-17 14:54:11 +07:00
Yangshun Tay
110126ab1d feat(v2): theme config for Footer (#1461)
* feat(v2): theme config for Footer

* fix: dont show footer if themeConfig.footer is undefined
* Import fresh docusaurus.config.js for better hot reload
2019-05-16 13:27:52 +07:00
Yangshun Tay
23b50f17a1
refactor(v2): blog data revamp (#1450)
* refactor(v2): blog data revamp

* fix(v2): fix incorrect blog total count

* misc: remove console.log

* feat(v2): export frontMatter as an object within MDX file (#1451)

* refactor. Don't confuse metadata & frontmatter

* export frontMatter in content itself

* nits

* nits name

* dont truncate first four lines in blog
2019-05-13 00:16:15 -07:00
Endi
174ad279a6
refactor(v2): move headerLinks -> themeConfig & rm dead code (#1442)
* refactor(v2): move headerLinks -> themeConfig & rm dead code

* rm -rf dead code
2019-05-08 15:47:32 +07:00
Yangshun Tay
384fd5708f feat(v2): Algolia search theme (#1440)
* feat(v2): Algolia search plugin

* patch PR #1440 (#1441)

* alternative implementation

* typo

* refactor noop

* rename SearchAlgolia -> SearchBar

* changes.md
2019-05-08 15:21:11 +07:00
Yangshun Tay
5d6dc49bcd
docs(v2): add docs skeleton and structure (#1412)
* docs(v2): add docs skeleton and structure

* docs(v2): add on

* docs(v2): move motivation into contributing
2019-04-28 20:20:24 -07:00
Endi
528bd7f280 chore(v2): add tbd v2 docs (#1408)
* docs(v2): docusaurus 2 own docs

* misc(v2): try to get multiple sidebar working

* misc(v2): tweak CSS

* fix(v2): fix conflicting docsMetadata
2019-04-28 09:43:40 -07:00
Yangshun Tay
361986515c
feat(v2): presets (#1401)
* feat(v2): presets

* misc: add newline

* misc: add tests

* misc: fix path
2019-04-27 10:47:56 -07:00
Endilie Yacop Sucipto
b3cf9c62d5
feat(v2): createData plugin API (#1400)
* feat(v2): createModule plugin api

* remove unused stuff

* address review, createModule -> createData

* link.link -> link.url

* remove youtube page

* update yarn.lock
2019-04-27 14:13:53 +07:00
endiliey
311c88cd76 chore(v2): change algolia API key & fix css 2019-04-23 23:16:48 +08:00
Endilie Yacop Sucipto
60c24ef1f9
chore(v2): make site algolia compliant (#1384) 2019-04-23 20:36:41 +07:00
Yangshun Tay
029aa636a8
refactor(v2): load sidebars from docs plugin (#1328)
* refactor(v2): load sidebars from docs plugin

* fix(v2): update tests

* fix(v2): change to sidebarPath
2019-04-01 19:42:14 -07:00
Yangshun Tay
a70d9b6720
feat(v2): docs plugin initial work (#1327)
* feat(v2): pluginify docs

* feat(v2): implement docs plugin

* fix(v2): fix bugs in docs plugin for translation and versioning
2019-03-31 11:37:35 -07:00
Yangshun Tay
6fd9253328 fix(v2): errornous default include in blog plugin 2019-03-30 15:34:28 -07:00
Endilie Yacop Sucipto
72242dddf4
feat(v2): postBuild() - plugin lifecycle (#1302)
* feat(v2): build() - plugin lifecycle

* rename to postBuild
2019-03-25 14:30:42 +07:00
Endilie Yacop Sucipto
3a7a253db7
refactor(v2): plugin, utils as separate package (#1298)
* refactor(v2): plugin, utils as separate package

* rename docusaurus-plugin to @docusaurus/plugin

* update snapshot
2019-03-23 15:46:16 +07:00
Endilie Yacop Sucipto
1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00
Renamed from v2-website/docusaurus.config.js (Browse further)