Commit graph

1390 commits

Author SHA1 Message Date
Joshua Chen
ae3596df39
docs: add h4 into toc on certain pages (#5728) 2021-10-19 20:15:11 +02:00
Ilija Pavlic
a97e495d9f
docs: Add Apex FP to showcase (#5737) 2021-10-19 18:27:46 +02:00
Alexey Pyltsyn
f9fd8efbf4
chore: remove beta.5 docs (#5719) 2021-10-16 09:17:07 +03:00
Dimi Mikadze
9c68420a63
docs(v2): Add Orca site to showcase page (#5711) 2021-10-15 17:03:18 +02:00
Alexey Pyltsyn
647c8a2918
docs: fix npm init command with options (#5712)
* docs: fix npm init command with options

* Update test-release.sh
2021-10-15 16:31:15 +03:00
Alexey Pyltsyn
877373e108
chore: prepare v2.0.0-beta.7 release (#5713)
* chore: prepare v2.0.0-beta.7 release

* v2.0.0-beta.7
2021-10-15 16:31:01 +03:00
Alexey Pyltsyn
1361a5a38e
fix: proper collapsing of long element (#5694)
* fix: proper collapsing of long element

* Add example

* Reorder

* Another solution with overflow

* Restore original solution
2021-10-15 16:02:56 +03:00
Alexey Pyltsyn
92104c7c3b
feat: make Translate children optional (#5683)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-14 18:39:41 +02:00
Joshua Chen
c8739ec28e
polish(theme-classic): guard against potential definition mistakes in Tabs (#5674) 2021-10-14 15:47:03 +02:00
Joshua Chen
8d92e9bcf5
refactor(content-docs): refactor sidebars, Joi validation, generator rework, expose config types (#5678) 2021-10-14 14:38:26 +02:00
Alexey Pyltsyn
00bb405b89
fix: expand tag column on truncated post (#5667) 2021-10-14 09:54:57 +02:00
Darshan Gada
b40e45943e
docs: add CountryStateCityAPI site to showcase (#5681)
* Add CountryStateCityAPI to user.tsx

* Add countrystatecity.png to showcase
2021-10-10 23:20:09 +03:00
Andrew Nguyen
66362106fa
fix: allow ColorGenerator to parse colors with prefix # (#5669) 2021-10-09 15:37:17 +03:00
moonrailgun
6ed698976d
feat(content-blog): add full blog post html into RSS/Atom feeds (#4330)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-08 12:59:02 +02:00
Jeffrey Aven
198590446a
docs: updated cloudywithachanceofbigdata.com blog showcase (#5661)
* Added tag and updated logo

* changed screenshot image

removed scrollbar and browser frame
2021-10-08 10:10:35 +02:00
Joshua Chen
d6b4eeb358
feat(theme-classic): make first tab the default tab (#5647)
* Initial work

* Little doc fix

* Doc fix
2021-10-07 17:06:17 +02:00
Sébastien Lorber
7b64e85dc3
docs: Algolia plugin must be enabled before crawling the site (#5658) 2021-10-07 17:00:47 +02:00
Joshua Chen
eaacb0e98a
feat(theme-classic, plugin-docs): sidebar item level-specific className + allow customization (#5642)
* Initial work

* Complete function

* Avoid duplication

* More dedupe

* Make everything constants

* Change casing & docs
2021-10-07 16:59:02 +02:00
Sébastien Lorber
f6ec757aa0
feat: npm init docusaurus, yarn create docusaurus (#5635)
* initial create-docusaurus impl

* cleanup

* @docusaurus/init renamed to create-docusaurus

* 0.0.6

* update lockfile

* fix lint

* remove npm2yarn for "npm init" because npm2yarn doesn't convert it and yarn result fails to execute

* prettier

* add correct version

* prettier

* prettier

* prettier

* prettier

* fix annoying --config .prettierrc issue
2021-10-07 16:06:42 +02:00
Sébastien Lorber
e1b4da04fe
fix: restore duplicate Tabs rendering to fix hydration issue (#5652)
* restore duplicate Tabs rendering to fix hydration issue

* comment
2021-10-07 12:40:19 +02:00
Aditya Kajla
03eda3e04e
docs: Add Warrant Docs site to showcase page (#5654) 2021-10-07 11:12:31 +02:00
Jeffrey Aven
5370f14291
docs: Added cloudywithachanceofbigdata.com showcase blog (#5655)
* Add cloudywithachanceofbigdata.com showcase site

Add [Cloudy with a chance of Big Data](https://cloudywithachanceofbigdata.com/) Docusaurus blog only site

* Added cloudywithachanceofbigdata.png
2021-10-07 11:07:05 +02:00
Vincent
82ea883290
docs: add ory documentation to showcase (#5648)
* feat: add ory docs showcase

* feat: add ory docs showcase screenshot

* fix: typo

* fix: remove large

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-06 18:05:10 +02:00
djamaile
944e1ebf2c
docs: add djamaile blog to site showcase (#5644)
* feat: add djamaile rahamat blog to showcase

* fix: site name

Co-authored-by: Djamaile Rahamat <drahamat@bol.com>
2021-10-06 13:17:14 +02:00
Joshua Chen
8f7e7e1947
docs: add Lux Algo to showcase (#5641)
* Add data

* Test again
2021-10-06 12:43:53 +02:00
Joshua Chen
7f7b858cd4
refactor: make all Props defined as interface + readonly (#5636)
* Initial work

* Fix
2021-10-05 19:04:24 +02:00
Gabriel T. Nardy
46ecda748d
docs: add nanos world docs to showcase (#5638)
* Added nanos world docs

* Added nanos-world showcase image
2021-10-03 17:05:07 +03:00
Sébastien Lorber
a0c2c52829
chore: remove unused Bootstrap theme (#5634)
* remove package

* remove bootstrap from doc

* remove bootstrap init template + examples

* remove bootstrap preset

* remaining bootstrap refs

* update lockfile
2021-10-01 17:44:34 +02:00
Sébastien Lorber
afff053cc9
chore: prepare Algolia migration (#5632)
* prepare Algolia migration

* Update website/docs/search.md

Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>

Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>
2021-10-01 15:58:24 +02:00
Sébastien Lorber
9d129631b6
fix: text/link hydration bug (#5629) 2021-09-30 19:54:40 +02:00
Bharat Middha
09550b0535
feat: properly type-check the Docusaurus config of new sites (#5589)
* fix: makes types DocusaurusConfig optional to match docs

* add UserDocusaurusConfig with required keys for user config

* convert UserDocusaurusConfig to use util type

* Docusaurus website config should be type-checked by CI + fix all existing issues

* add doc for config typechecking

* Update template configs for TS autocompletion

* fix last config typechecking bugs

* reapply prettier

* reapply prettier-docs

* Fix TS doc: add missing ()

* fix some docu plugin types

* add "const config" for simpler jsdoc annotation

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-30 17:49:44 +02:00
Joshua Chen
3f1f8255a2
chore: upgrade Prettier + regenerate lock file (#5611)
* Bump deps

* Run prettier

* Format docs

* Minor refactor

* Collapse objects

* Fix type

* Update lock file
2021-09-30 12:54:17 +02:00
Erick Zhao
c86dfbda61
feat(v2): allow specifying TOC max depth (themeConfig + frontMatter) (#5578)
* feat: add all TOC levels to MDX loader

* feat: add theme-level config for heading depth

* test: add remark MDX loader test

* fix: limit maxDepth validation to H2 - H6

* refactor: set default `maxDepth` using `joi`

* refactor: `maxDepth` -> `maxHeadingLevel

* refactor: invert underlying TOC depth API

* refactor: make TOC algorithm level-aware

* feat: add support for per-doc TOC heading levels

* feat: support document-level heading levels for blog

* fix: correct validation for toc level frontmatter

* fix: ensure TOC doesn't generate redundant DOM

* perf: simpler TOC heading search alg

* docs: document heading level props for `TOCInline`

* Update website/docs/guides/markdown-features/markdown-features-inline-toc.mdx

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* docs: fix docs (again)

* create dedicated  test file for heading searching logic: exhaustive tests will be simpler to write

* toc search: add real-world test

* fix test

* add dogfooding tests for toc min/max

* add test for min/max toc frontmatter

* reverse min/max order

* add theme minHeadingLevel + tests

* simpler TOC rendering logic

* simplify TOC implementation (temp, WIP)

* reverse unnatural order for minHeadingLevel/maxHeadingLevel

* add TOC dogfooding tests to all content plugins

* expose toc min/max heading level frontmatter to all 3 content plugins

* refactor blogLayout: accept toc ReactElement directly

* move toc utils to theme-common

* add tests for filterTOC

* create new generic TOCItems component

* useless css file copied

* fix toc highlighting className conflicts

* update doc

* fix types

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-29 11:19:11 +02:00
Dr-Electron
caba1e4908
docs: Add IOTA wiki to showcase (#5610)
* Add IOTA wiki

* Update website/src/data/users.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-09-28 16:35:57 +02:00
Alexey Pyltsyn
b62a12bfc6
chore: upgrade dependencies (#5608)
* chore: upgrade dependencies

* Revert github-slugger

* Fixes

* Update snapshots

* Update Babel deps
2021-09-24 16:36:41 +02:00
Jason Bosco
81877d7582
docs: add additional search options, typesense and local search (#5489)
* docs: add additional search bar options - typesense and local search

* docs: add typesense docsearch to community resources

* improve search doc, explain better where to get support

* improve search doc

* improve search doc

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-22 17:41:27 +02:00
Joshua Chen
e1f4677d04
fix(module-type-aliases): move @type packages to dependencies (#5601)
* Move devDeps to deps

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

* Update docs

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

* Update init template

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-09-22 14:49:25 +02:00
Joshua Chen
89cb975cc4
docs(website): document npm2yarn plugin + use new Tabs API everywhere (#5590)
* Update docs

* Bad grammar

* Add code highlight
2021-09-22 12:25:21 +02:00
Whirl
57c7a302fa
docs: Add whirl.codes to showcase (#5591)
* added for whirl

* Update users.tsx

* Delete unknown[2].png

* Add files via upload

* Update users.tsx
2021-09-22 11:41:55 +02:00
Alexey Pyltsyn
29e06d0677
feat: make tags route path configurable (#5545) 2021-09-21 19:19:18 +02:00
headline-design
73b845e915
docs: add Pipeline UI to showcase (#5574)
* Update users.tsx

* Update users.tsx

Specify website/source for PIPELINE-UI

* Add files via upload

add pipeline-ui to showcase

* add pipeline-ui to showcase

* Update users.tsx

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-19 09:45:47 +03:00
Joshua Chen
e274c72642
docs: fix more references to Discord channels (#5585) 2021-09-19 09:45:21 +03:00
Palash Shrivastava
ceff278449
docs: add Blogasaurus to showcase (#5572)
* Update users.tsx

Add Blogasaurus

* add blogasaurus image

* update filename

* delete 'PNG' file

* add 'png' file

* update users.tsx with 'png' file
2021-09-19 09:44:26 +03:00
Alexey Pyltsyn
19302c4913
docs: clarify MDX version used (#5575)
* docs: clarify MDX version used

* Update MDX Playground link
2021-09-17 21:27:00 +03:00
Joshua Chen
cc75e85adb
docs: update all Discord links (#5581) 2021-09-17 21:25:31 +03:00
Chris Chinchilla
beedadd498
docs: fix code example (#5566) 2021-09-15 18:19:53 +03:00
Jordan Lee
546bf5db4c
docs: minor grammatical correction (#5559) 2021-09-15 18:18:51 +03:00
Kyriet
9a089d4886
docs: add note about partials on Create doc page (#5543) 2021-09-11 12:42:17 +03:00
Robert Kingston
0f5efc976f
docs: Add Mint Metrics site to the Showcase (#5549)
Co-authored-by: Robert Kingston <rob@mintmetrics.io>
2021-09-11 12:38:38 +03:00
Ivar Conradi Østhus
83b05772d5
docs: add Unleash to showcase (#5546)
* docs: add unleash to showcase

* Fix URL

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-09 13:11:59 +03:00