Commit graph

1460 commits

Author SHA1 Message Date
Joshua Chen
87a486a02f
chore: generate dogfooding test for long pathname during CI (#5977)
* chore: generate dogfooding test for long pathname during CI

* Fix test

* Fix again
2021-11-20 14:18:50 +08:00
Paul Biggar
9a31c5358d
docs: add Darklang to showcase (#5966)
* Add darklang

* Update website/src/data/users.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-19 22:06:30 +08:00
Ronny Roeller
77c99a1d18
docs: Add Remirror to showcase (#5970)
* Add user remirror.io

* Add showcase image
2021-11-19 22:02:32 +08:00
Swapnil M Mane
fcbe2050e9
docs: add Webiny docs to showcase page (#5971) 2021-11-19 21:57:55 +08:00
Oliver Ullman
1366c31201
feat(core): allow sourcing from multiple static directories (#4095)
* [WIP] Implementaion of multiple directory static sourcing

* Move default to validation

* Update test

* Refactor

* Port to MDX loader

* Fix

* Move dogfooding assets

* Doc writeup

* Restore assets

* Support absolute paths

* Dogfood absolute path

* Fix

* More tests

* Fix snapshots

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-18 22:26:26 +08:00
chima ilo
3f18c928bb
feat(website): redesign of showcase page (#5742)
* feat: redesign of showcase page

* redesign of showcase card

* improved card design

* create Tooltip component, Svg component

* Add popper.js to dependency

* fixed netlify deploy issues

* fixed netlify deploy issues

* fixed netlify deploy issues

* Make things work

* Relock

* Refactor

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix linter errors

* Make animation shorter

* Refactors

* Do not make entire link clickable

* fixed linting and netlify deploy issues

* enhanced styles and fix deploy issues

* Polishing

* improved contrast for selected tags

* Refactors

* Make each component standalone

* Fix operator on first render

* Color coding!

* fix SSR

* More elegant impl

* Do not show source if there is not one

* Fix

* custom on-focus styling for focusable elements with default outlinline && highlight filter toggle on focus.

* fix lint issues

* restore highlight coloring

* Use state instead of ref

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Visual seperator

* Refactors

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Minor fix with dev server

* Paletter improvement

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-18 22:22:26 +08:00
Joshua Chen
0374426ce3
chore: upgrade TypeScript & other ESLint related deps (#5963)
* chore: upgrade ESLint related deps

* Upgrade TS

* Fix lock

* Bump Babel

* Update config
2021-11-18 21:15:37 +08:00
Morooka Kotaro
284cdabb0a
docs: fix BrowserOnly return statement (#5953)
* docs: fix BrowserOnly return statement

* Update docusaurus-core.md

* Fix version docs

* prettier

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-15 21:27:45 +08:00
pal-sig
23a9c66859
docs: update Signoz showcase details (#5949)
* docs(v2) - Add Signoz site to showcase site

* Update users.tsx

* chore(sites): signoz showcase data is updated

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-15 13:26:38 +08:00
Afshin Mehrabani
54d0755493
feat(create-docusaurus): allow using local folder as template (#3458)
* feat(docusaurus-init): search the local ./templates folder during doc init

* Add docs

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-15 12:37:22 +08:00
Joshua Chen
11f9a54a32
fix(website): fix APITable anchor ID having extra hash (#5948) 2021-11-15 09:16:56 +08:00
Joshua Chen
1816f135f2
fix(website): fix APITable anchor link (#5947) 2021-11-14 23:15:55 +08:00
Christophe Chaudier
7281844179
docs: add Froggit site to showcase page (#5925) 2021-11-12 16:01:18 +01:00
Jeff Shillitto
4ab9567192
docs: Add Shotstack showcase user (#5928)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-12 15:30:49 +01:00
pal-sig
51fbcb261a
docs: add Signoz site to showcase site (#5921)
* docs(v2) - Add Signoz site to showcase site

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-11 10:30:30 +08:00
Joshua Chen
ac88d979f1
refactor(ganalytics, gtag): move options out of themeConfig (#5832)
* refactor(ganalytics, gtag): move options out of themeConfig

* Forbid themeConfig options

* Add PR link

* Add key names to error message

* Fix?

* Doc updates

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-10 19:04:43 +08:00
William Poetra Yoga
f5732e7589
feat: allow GIT_USER env var to be unset if SSH is used (#5840)
* feat: allow GIT_USER env var to be unset if SSH is used

* fix: packages/docusaurus/src/commands/deploy.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

* feat: allow user to specify deploymentBranch property in docusaurus.config.js (#5841)

* feat: allow user to specify deploymentBranch property in docusaurus.config.js

* docs: remove extra backtick

* docs: fix broken code block

* docs: fix i18n routes to feature requests (#5843)

* docs: fix i18n routes to feature requests

* Add redirect rules

* feat: allow GIT_USER env var to be unset if SSH is used

* fix: packages/docusaurus/src/commands/deploy.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

* fix: avoid escaping hyphen in regex

* Refactor

* Update deployment.mdx

* Make SSH higher priority

* Only infer but not override

* Add tests

* Fix tests

* Fix

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-10 18:51:12 +08:00
Joshua Chen
ecce576bbc
docs: new APITable comp to render large tables (#5891) 2021-11-10 11:38:23 +01:00
Joshua Chen
4478dd9659
docs: make API sidebar partially autogenerated (#5917)
* docs: make API sidebar autogenerated

* fix paths
2021-11-10 14:08:50 +08:00
Swalah Amani
c541e2d83c
misc: replace all "Metadatas" with "Metadata" (#5871)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-09 19:46:10 +01:00
Devtato
1c024470e0
feat(content-blog): allow sorting posts in ascending order (#5787) 2021-11-09 18:25:43 +01:00
Joshua Chen
13d07eff13
docs: refer to deployed branch as deployment rather than target (#5903) 2021-11-08 14:15:28 +08:00
Joshua Chen
c8904f1615
fix(website): fix i18n routes for Canny board (#5902) 2021-11-08 13:17:52 +08:00
Joshua Chen
0fc7adfba9
docs: document global variables in MDX scope (#5900)
* Adding a note for how to access frontMatter within pages

* Move documentation

Co-authored-by: cd rubin <github@earthling.za.net>
2021-11-07 23:16:04 +08:00
Brennan Kinney
caa9d923a6
docs: add example for Github Pages deployment; rewrite deployment section (#4409)
* docs: Minor copy changes + increment numbered list

* docs: Add alternative github pages deploy workflow

* docs: Add separate PR workflow for alternative gh-pages deploy example

* docs: Minor `gh-pages` deploy config improvements

Improve some comments and clarifies the file path beyond file name alone for each config file.

Additionally removes the workflow path triggers as in practice these being updated shouldn't be triggering a re-run of the workflow again (assuming deterministic build from same input results in same output).

If there is a need for such a manual trigger of the workflow is probably a better approach. Performing a build because workflow comments were modified only would be pointless for example.

* docs: Clarify `gh-pages` deploy config some more

* chore: PR Feedback - Remove inline documentation

Upstream doesn't see value including help comments for a copy/paste config under the basis that it adds friction to the viewer seeking guidance how to perform something they don't know.

* chore: PR Feedback - Rephrase instruction

MatanBobi requested a rephrase during review.

* Rewrite

* Fixes

* Fix!

* Format

* Fix indentation

* Improvements

* Minor fixes

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-07 16:29:08 +08:00
Ivan Boothe
effa46e930
docs: update GitHub deployment instructions (#5888)
* SSH is required for GitHub deployment now

Matches what is listed in the default README.md of a new Docusaurus site

* Minimum node version required is 14.x

documentation.yml as written fails to run because the minimum node version for Docusaurus is 14.x

* Add link to default URL of locally-served site

* Correct deployment workflow

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-07 13:29:56 +08:00
Matej Jellus
b25031ceae
docs: Add juffalow.com to Docusaurus showcase (#5895)
* Update users.tsx

* Add juffalow.com screenshot
2021-11-07 10:35:05 +08:00
Joshua Chen
e0127c66be
chore(website): enable eslint in website (#5889)
* chore: enable eslint in website

* Fixes

* prettier users
2021-11-06 19:04:45 +08:00
Matthijs Groen
0aba31de7b
docs: fix wrong code sample in docusaurus-core (#5881) 2021-11-05 22:57:59 +08:00
Patrik Mäsiar
9c086d4a78
docs: add patrikmasiar website showcase (#5875) 2021-11-05 10:30:40 +01:00
Molly White
95ed6e1349
docs: '5 minutes tutorial' -> '5-minute tutorial' (#5876)
* docs: fix a few instances where '5 minute tutorial' is written as '5 minutes tutorial'

* add hyphen
2021-11-05 10:58:57 +08:00
Paden Clayton
fa6d15b35f
feat(core): Add React ErrorBoundary component + theme default boundaries (#3104)
Co-authored-by: Paden Clayton <paden.clayton@monkedia.com>
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-11-04 16:07:32 +01:00
Devtato
4922764095
docs: create SEO documentation page (#5759)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-04 12:57:27 +01:00
琚致远
1e7f688598
docs: remove duplicated appId property (#5869) 2021-11-04 13:51:01 +08:00
Dmitriy Fishman
9f861dfb96
docs: fix a typo in using-themes.md (#5868) 2021-11-04 12:40:36 +08:00
Alexey Pyltsyn
9f13f8f7af
misc: show only latest archive alpha/beta versions dropdown (#5862) 2021-11-03 17:41:27 +01:00
Alexey Pyltsyn
91ec2509b7
chore: prepare v2.0.0-beta.9 release (#5859)
* chore: prepare v2.0.0-beta.9 release

* v2.0.0-beta.9
2021-11-02 20:40:01 +03:00
Dmitriy Fishman
d7581b38fd
docs: Fix a typo in versioning.md (#5852) 2021-11-02 14:23:06 +08:00
Devtato
41ef9daafd
feat(theme-classic): allow specifying width/height in logo (#5770)
* feat: changed the logo properties to allow width/height specification

* fixup! feat: changed the logo properties to allow width/height specification

* fixup! feat: changed the logo properties to allow width/height specification

* Rework: add fields to logo object

* Fix

* More fixes

* Wrong width!

* No need for optional chaining

* Doc writeup

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-01 18:09:30 +08:00
Jeffrey Aven
9723360ae9
Add InfraQL product docs website (#5847)
* Add InfraQL product docs website

* added screenshot
2021-11-01 10:10:29 +08:00
Joshua Chen
1e1df74838
docs: fix i18n routes to feature requests (#5843)
* docs: fix i18n routes to feature requests

* Add redirect rules
2021-10-31 13:32:30 +08:00
William Poetra Yoga
ca9bd244aa
feat: allow user to specify deploymentBranch property in docusaurus.config.js (#5841)
* feat: allow user to specify deploymentBranch property in docusaurus.config.js

* docs: remove extra backtick

* docs: fix broken code block
2021-10-31 12:29:22 +08:00
Joshua Chen
9247332334
feat(preset-classic): guard against unknown keys in options (#5831) 2021-10-30 12:39:12 +08:00
Sergio Moreno
adbc02ea38
feat(search-algolia): algolia externalUrl regex to navigate with window.href (#5795) 2021-10-29 19:53:47 +02:00
Devtato
dc5a0b7068
docs: elaborate on the usage of MDX plugins (#5766)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-10-29 16:31:00 +02:00
Sébastien Lorber
fc32194cbb
docs: fix lint issue (#5826) 2021-10-29 16:21:42 +02:00
Gabriel Falcão
b5b2c18118
docs: Update Drone Deployment docs (#5801) 2021-10-29 15:41:12 +02:00
Sébastien Lorber
a210e938e4
chore: fix Crowdin again (#5825) 2021-10-29 15:37:45 +02:00
Sébastien Lorber
157b41caee
chore: replace doc sample .pdf file by .xlsx to solve Crowdin issue (#5823) 2021-10-29 14:46:21 +02:00
Joshua Chen
7468136f88
docs: include navbar item type in the API table (#5821) 2021-10-29 18:11:07 +08:00