Josh-Cena
a36c287662
Tighten eslint disable range
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-21 08:47:48 +08:00
Josh-Cena
03e2174fe7
Revert global require change
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-20 09:58:24 +08:00
Josh-Cena
c1beedce3f
Ignore local require
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-18 22:38:22 +08:00
Josh-Cena
6cc7655142
Fill catch
block with placeholder comment
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-18 22:36:57 +08:00
Josh-Cena
8a4c6ac49e
Substitute for-of with forEach
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-18 22:25:49 +08:00
Josh-Cena
e7e9fa78e0
Prefer non-null assertions
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-18 21:23:07 +08:00
Josh-Cena
2dc74ddc3f
Replace versionPathPart with function
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-18 19:07:59 +08:00
Josh-Cena
90196bbf47
Fix
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-18 18:53:28 +08:00
Joshua Chen
4c17e4c8fd
Update packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx
...
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-06-18 18:42:05 +08:00
Joshua Chen
9ff6f9259d
Update packages/docusaurus-theme-classic/src/theme/ThemedImage/index.tsx
...
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-06-18 18:41:56 +08:00
Josh-Cena
c7c833fe77
More fixes
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-17 17:47:03 +08:00
Josh-Cena
6d3d416f58
Initial work
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-17 17:06:39 +08:00
Sébastien Lorber
1b0acc5547
refactor(v2): blog/docs: add more context in error messages ( #4989 )
...
* refactor(v2): blog/docs: add more context in error messages
* more error handling
2021-06-16 20:16:55 +02:00
Sébastien Lorber
b54ec72389
fix(v2): redirect plugin: use siteConfig.trailingSlash ( #4988 )
2021-06-16 19:04:28 +02:00
Joshua Chen
80b6d9728e
fix(v2): always use UTC when dealing with blog dates ( #4983 )
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-16 18:59:44 +02:00
Sébastien Lorber
59f78f9084
docs(v2): document canary releases ( #4987 )
2021-06-16 16:11:41 +02:00
Alexey Pyltsyn
0bbbfb641b
refactor(v2): readjust footer of blog item ( #4918 )
2021-06-16 16:09:18 +02:00
Sébastien Lorber
4a6de5cf7a
fix(v2): better UX for docsVersionDropdown on mobile when there's a single version, fixes #4932 ( #4986 )
2021-06-16 14:57:01 +02:00
Sébastien Lorber
aa176274be
fix(v2): navbar doc item should allow older versions to not contain the target doc, as long as the lastVersion contains it ( #4985 )
2021-06-16 13:18:53 +02:00
Sébastien Lorber
32e76f1cc0
feat(v2): add docs pagination_label frontmatter ( #4982 )
...
* feat(v2): add docs pagination_label frontmatter
* feat(v2): add docs pagination_label frontmatter
* feat(v2): add docs pagination_label frontmatter
2021-06-16 12:03:46 +02:00
Alexey Pyltsyn
41d9288e3d
refactor(v2): cleanup console output ( #4979 )
...
* refactor(v2): cleanup console output
* fix jest issue
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-16 11:37:28 +02:00
Alexey Pyltsyn
8501db78a1
fix(v2): make proper data type for prependBaseUrlToHref field ( #4980 )
2021-06-16 11:06:25 +02:00
Alexey Pyltsyn
d7e4e422a2
docs(v2): minor tweaks ( #4981 )
2021-06-16 11:04:40 +02:00
Alexey Pyltsyn
bfd33dc63a
refactor(v2): minor cleanups ( #4959 )
...
* refactor(v2): minor cleanups
* Fixes
2021-06-16 10:59:50 +02:00
Joshua Chen
af3640dca2
docs(v2): replace diff
codeblocks with line highlight ( #4973 )
...
* Replace `diff` codeblocks with line highlight
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add line highlight
2021-06-16 10:29:05 +02:00
Lucas Correia
34411e12e5
fix(v2): truncate docuhash return value in order to avoid ERRNAMETOOLONG error ( #4899 )
...
* fix: truncate docuhash return value in order to avoid ERRNAMETOOLONG error
* chore: add deep file path test page to website
* refactor: reorganize docuHash/pathUtils code and tests
* chore: git support longpaths on v2 windows tests workflow
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-15 18:39:06 +02:00
Joshua Chen
3d95a3e6b1
docs(v2): add documentation about importing code files ( #4974 )
...
* Add documentation about importing code files
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Add warning about breaking API change
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update website/docs/guides/markdown-features/markdown-features-react.mdx
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-06-15 18:38:28 +02:00
Sébastien Lorber
9fe79caadc
polish(v2): url-subpath config validation warning ( #4977 )
2021-06-15 18:18:12 +02:00
Alexey Pyltsyn
dfe32dac9e
fix(v2): improve accessibility of code blocks ( #4943 )
2021-06-15 16:28:41 +02:00
Alexey Pyltsyn
52f19e15f0
refactor(v2): remove extra padding from doc item container ( #4945 )
2021-06-15 16:15:54 +02:00
Sébastien Lorber
9efa550cd5
docs(v2): mention to install the algolia package in search doc ( #4976 )
2021-06-15 16:14:03 +02:00
Alexey Pyltsyn
208c089835
fix(v2): respect base url in RSS feeds ( #4962 )
2021-06-15 15:33:41 +02:00
Alexey Pyltsyn
57cf20933e
feat(v2): add icon to external navbar links ( #4949 )
...
* feat(v2): add icon to external navbar links
* use isInternalUrl
* Remove demo link
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-15 14:45:53 +02:00
Alexey Pyltsyn
ace285b3b5
fix(v2): avoid duplicated imports in npm2yarn plugin ( #4964 )
...
* fix(v2): avoid duplicated imports in npm2yarn plugin
* Better testing
2021-06-15 14:43:23 +02:00
Alexey Pyltsyn
c8b9061f6c
refactor(v2): improve semantic doc sidebar markup ( #4940 )
...
* refactor(v2): improve semantic doc sidebar markup
* Fixes
2021-06-15 12:45:29 +02:00
Joshua Chen
e2acda64f8
feat(v2): add code block theming in init template ( #4968 )
...
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-06-15 12:23:55 +02:00
Joshua Chen
02b512c2cf
docs(v2): add documentation about importing markdown ( #4958 )
...
* Add documentation about importing markdown
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update website/docs/guides/markdown-features/markdown-features-react.mdx
* Run prettier
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-06-15 12:20:53 +02:00
Alexey Pyltsyn
e25c0e7d3f
refactor(v2): include path in error about non-existent ids ( #4969 )
2021-06-15 12:06:48 +02:00
Sébastien Lorber
737f80a026
fix(v2): sidebar_label should be used to compute next/previous button labels ( #4970 )
...
* sidebar_label should be used to compute next/previous button texts, as documented.
* improve docs frontmatter doc
* use a little bit of destructuring
2021-06-15 12:04:29 +02:00
Sébastien Lorber
aeb8e9da51
fix(v2): sitemap plugin should handle siteConfig.trailingSlash automatically ( #4950 )
...
* create new @docusaurus/utils-common and move applyTrailingSlash there
* sitemap plugin should handle siteConfig.trailingSlash automatically
* typo
2021-06-14 20:04:39 +02:00
Alexey Pyltsyn
4e5f0febb9
misc: disable google-gtag plugin in Netlify deploys ( #4951 )
2021-06-14 19:46:50 +02:00
e271828-
d2a5be8bd5
docs(v2): Add hCaptcha.com Docs to Showcase ( #4957 )
...
* Add hCaptcha.com Docs
* Add files via upload
2021-06-14 19:09:32 +02:00
Alexey Pyltsyn
8629fbdc77
refactor(v2): improve semantic blog sidebar markup ( #4961 )
2021-06-14 19:04:58 +02:00
Pablo Vidal
8d3e52f803
docs(v2): update Awe framework site showcase ( #4963 )
...
We add i18n feature in Awe framework doc website
2021-06-14 14:56:38 +03:00
Ben Rometsch
03ac9c2134
docs(v2): add Flagsmith to showcase ( #4953 )
...
* Added docs.flagsmith.com
* Flagsmith image
* Update users.js
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-06-13 10:01:37 +03:00
Sébastien Lorber
aff848e875
chore: lockfile cleanup ( #4944 )
...
* lockfile cleanup
* temp fix eslint header/header issue in CLI: https://github.com/Stuk/eslint-plugin-header/issues/39
2021-06-10 16:12:19 +02:00
Pratyay Banerjee
4eb1b58fb0
feat(v2): theme default translations Bengali ( #4939 )
...
* init cleaning v1
• clean copy of base.json
Signed-off : <@Neilblaze>
* update 0.0.1
* update 0.0.2
* update 0.0.3 ~ final review
Added support for BN translations for package
signed off : @Neilblaze <putubanerjee23@gmail.com>
2021-06-10 15:32:29 +02:00
Alexey Pyltsyn
2913bd0fdf
fix(v2): tidy up Markdown page layout ( #4917 )
2021-06-10 15:22:34 +02:00
Arthur
fea24e586e
docs(v2): add info about tabs DefaultValue prop ( #4942 )
2021-06-10 15:04:32 +02:00
Sébastien Lorber
b835aecaec
chore: removal of Docusaurus v1 code from master (it is now available on docusaurus-v1 branch) ( #4902 )
2021-06-10 10:54:07 +02:00