Commit graph

4534 commits

Author SHA1 Message Date
Gabriel Csapo
d73b4f8674
fix(init): cd to correct path when installing (#6468)
* [bug] ensure we use the correct cd path

* Update index.ts

* refactor

* add ignore

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-26 10:01:11 +08:00
Sébastien Lorber
dd539dd23f
feat(search): enable contextual search by default (#6407) 2022-01-25 11:45:41 +08:00
Joshua Chen
59022c5eea
docs: add advanced guides (#6296)
* docs: add advanced guides

* complete

* fix link

* Create architecture

* use png

* explanations

* more text

* process.env.NODE_ENV

* typo

* Add image zoom

* nit

* nit

* reorganize

* fix links

* fix links

* reorganize

* elaborate on presets

* fix

* routing docs

* ssr section

* more content

* complete SSR guide

* pathname://

* improvements

* document executionenvironment

* reformat

* final tweaks!

* avoid slug

* oops
2022-01-25 11:29:18 +08:00
Nick Schonning
e3be77081c
chore: typo colocation -> collocation (#6464) 2022-01-25 11:06:01 +08:00
sgenoud
eaa3c59299
docs: add replicad to showcase (#6459)
* Added replicad in the showcase

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-25 09:52:03 +08:00
Nick Schonning
521eb119a7
chore: add cSpell for spell checking (#6456)
* chore: Add cSpell for spell checking

* chore: exclude map files and remove dups

* chore: exclude more binary files

* chore: remove MD headings

* Update .cspell.json

* fix a few spellings

* fix more

* fix

Signed-off-by: Joshua Chen <sidachen2003@gmail.com>

* fix a few

* oops

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-25 09:40:02 +08:00
Joshua Chen
a41a5c328c
docs: 2021 recap blog post (#6334)
* docs: 2021 recap blog post

* minor wordings

* Misc copy changes

* Add thumbnail

* nit

* use en dash

* Update screenshots

* polish

* Add image to summary

* Tweak introduction

* oops...

* nits

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2022-01-24 22:05:59 +08:00
kuizuo
86ea0395ca
docs: add Kuizuo's Personal Website to showcase (#6458)
* docs: Add Kuizuo's Personal Website to showcase page

* minor tweaks
2022-01-24 20:59:04 +08:00
Edouard Bonlieu
0f8bb3bbe6
docs: add Koyeb as a deployment option (#6431) 2022-01-24 18:57:02 +08:00
trent
80b6c01b74
docs: add Sass Fairy to showcase (#6455)
* Add Sass Fairy to showcase

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-24 09:21:16 +08:00
Joshua Chen
711a6fe3d0
docs: document embedding generated index in doc page (#6453)
* docs: document embedding generated index in doc page

* fix
2022-01-23 20:04:34 +08:00
Joshua Chen
01676329e1
docs: split sidebar documentation into sections (#6450)
* docs: split sidebar documentation into sections

* set slugs

* fix links
2022-01-23 17:50:48 +08:00
Joshua Chen
8140560332
docs: multiple doc improvements (#6449) 2022-01-23 15:49:28 +08:00
Joshua Chen
d0b4aaffed
fix(website): update colors correctly when palette is only customized in one color mode (#6448) 2022-01-23 14:29:32 +08:00
Anthony McCaigue
ab1dada1aa
fix: allow links to JSON in .md files to be transformed as asset links (#4827)
* fix: fix links to JSON from .md files
closes #3561
It seems to be a common problem that many people are having see:
https://stackoverflow.com/questions/65307533/link-to-static-json-file

Co-authored-by: Anthony McCaigue <anthony@nquiringminds.com>
Co-authored-by: Alois Klink <alois@nquiringminds.com>

* Add dogfooding examples

* actually fix

* oops

Co-authored-by: Alois Klink <alois@nquiringminds.com>
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2022-01-23 11:46:27 +08:00
Nick Schonning
2528226eeb
chore: add height/width for front page images (#6385)
* chore: add height/width for Lighthouse performance

* use auto width

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-23 09:57:31 +08:00
Jeffrey Aven
efd211dba4
docs: update showcase data of InfraQL (#6445)
* Update users.tsx

Hi, we have changed our product name from InfraQL to StackQL and we have gone all in with Docusaurus - including the marketing site, docs and blog (previously it was just the docs and blog), authored a few plugins on npmjs as well if you are interested, love your work!

* added new homepage image

* fixes

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-23 09:12:59 +08:00
Jody Heavener
120b46e467
misc: update nvmrc to 14.17.0 to meet dependency requirements (#6444) 2022-01-23 09:12:03 +08:00
Joshua Chen
3d7ba337c2
refactor(mdx-loader): use vfile.path to access Markdown file path (#6443) 2022-01-22 22:28:50 +08:00
Joshua Chen
e40cafccd5
chore: enable stylelint standard config (#6442)
* chore: enable stylelint standard config

* remove empty line

* fix
2022-01-22 21:26:35 +08:00
Joshua Chen
2f4b2e1790
misc: fix stylelint erroring when lint-staged passed ignored file (#6441) 2022-01-22 20:33:06 +08:00
Joshua Chen
456ffbd330
chore: remove some unused dependencies from package.json (#6440) 2022-01-22 19:47:35 +08:00
Davide Bianchi
a4a386a45b
docs: add kube-green to showcase (#6433) 2022-01-22 16:23:53 +08:00
Joshua Chen
c2e2938d1b
refactor(theme-classic): render BlogPostItem as one JSX element (#6436) 2022-01-22 14:56:43 +08:00
Joshua Chen
64909e7f14
fix(content-docs): make getActivePlugin match plugin paths more exactly (#6435)
* fix(content-docs): make getActivePlugin match plugin IDs more exactly

* refactor...
2022-01-22 13:36:56 +08:00
Joshua Chen
cbcbdaa9d3
docs: elaborate on i18n tutorial (#6428) 2022-01-21 21:25:03 +08:00
Joshua Chen
807b4c2ced
feat(theme-classic): add aria-current to sidebar category link (#6427) 2022-01-21 11:40:27 +08:00
Sébastien Lorber
8a092f508d
fix(core): fix css url("image.png"), use css-loader v6 with esModules: false (#6424) 2022-01-20 18:30:54 +01:00
Joseph
8ce3cee400
feat(theme-classic): auto-collapse sibling categories in doc sidebar (#3811)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2022-01-20 16:38:16 +01:00
Chen
c9a6c7b6fb
docs: add 404Lab wiki to showcase (#6422)
* docs: add "404Lab.Wiki" website  to showcase

* docs: add "404Lab.Wiki" website screen to showcase

* updates

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-20 23:19:35 +08:00
Sébastien Lorber
aaf748c1ee
chore: fix yarn build:website:fast (#6421) 2022-01-20 15:51:59 +01:00
Joshua Chen
4e69c052d6
feat(content-blog): allow authors list to contain images only (#6416)
* feat(content-blog): allow authors list to contain images only

* adjust styles

* fix

* fix

* mention in docs

* fix wording
2022-01-20 22:08:18 +08:00
Joshua Chen
d506bca12d
feat(content-blog): allow disabling generating archive (#6415) 2022-01-20 14:52:19 +01:00
Joshua Chen
2a5407f6bd
fix(website): restore some site CSS in light mode (#6420) 2022-01-20 21:50:49 +08:00
Joshua Chen
65c2fc200a
feat(core): warn users about hand-modifying generated files (#6419)
* feat(core): warn users about hand-modifying generated files

* Better folder name
2022-01-20 21:41:59 +08:00
Joshua Chen
d133910cb2
feat(content-blog): parse date from middle of file path (#6245) 2022-01-20 16:43:00 +08:00
Sanjay Soundarajan
29ecf22409
docs: add SODA for SPARC to showcase (#6410)
* Added docs site for SODA for SPARC

* Added SODA for SPARC snapshot

* Update spelling error for path

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-20 16:38:32 +08:00
Joshua Chen
332453eaa1
docs: fix accessibility of search modal (#6417) 2022-01-20 16:36:19 +08:00
Joshua Chen
abdcad7316
feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator (#5822)
* docs: update website palette to pass WCAG test

* Darker palette in light mode

* Fix CodeBlock

* Fix front page

* Fix announcement color

* Unify primary color

* Add contrast check in website

* Fix color input not updating

* Use website for preview; allow changing background

* Persist in localStorage

* Fixes

* Fix SSR

* Edit dark mode separately

* Fix light mode palette

* Fix storage reset

* Fix CSS

* Fix

* fix toggling when not on styling-layout

* require 100% lighthouse accessibility score

* use sessionStorage

* refactor

* tweak light color

* update comments

Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-20 14:51:18 +08:00
Joshua Chen
19fb337618
fix(content-pages): declare hide_table_of_contents as boolean (#6413) 2022-01-20 10:58:36 +08:00
Yaroslav Serhieiev
d296f44031
docs(i18n): amend PR #6371 (#6406) 2022-01-19 18:19:41 +01:00
Joshua Chen
71b6ae2fbf
feat(core): check imported API name when extracting translations (#6405) 2022-01-19 17:04:33 +01:00
Joshua Chen
2cace21083
docs: update Algolia docs for new DocSearch infra (#6393) 2022-01-19 16:42:08 +01:00
Joshua Chen
45f1b819b5
feat(content-docs): displayed_sidebar front matter (#5782) 2022-01-19 16:00:42 +01:00
Joshua Chen
fdf59f30f0
feat(content-pages): front matter validation, include front matter in metadata (#6400) 2022-01-19 13:44:58 +01:00
Joshua Chen
e5801e49f6
feat(mdx-loader): read image dimensions when processing Markdown (#6339) 2022-01-19 12:45:14 +01:00
Yaroslav Serhieiev
6f892e20b0
feat(core, theme-classic): allow overriding htmlLang (#6371) 2022-01-19 12:38:42 +01:00
Nick Schonning
732ecd18e8
chore(website): set cache-control for static assets (#6381) 2022-01-19 12:10:18 +01:00
Joshua Chen
6c0da3ee4b
refactor: clean up TODO comments (#6399) 2022-01-19 12:10:50 +08:00
Joshua Chen
1d7827d572
refactor(theme-classic): add comments to Prism setup; minor refactor (#6391) 2022-01-18 19:46:22 +08:00