* feat(v2): mobile TOC
* Bug fixes and various improvements
* Redesign
* extract TOCCollapsible component
* TS improvements
* Assign sidebar name directly to the doc route => no need for either permalinkToSidebar or GlobalData
* revert changes to useWindowSize, fix FOUC issues
* extract DocSidebarDesktop component
* remove now useless menu infima classes
* TOCHeadings => rename + remove unused onClick prop
* Extract DocSidebarItem
* minor renaming
* replace GlobalData usage by a React teleport system to render in the navbar mobile sidebar menu directly from the DocPage component
* useWindowSize => simulate SSR size in dev to make FOUC issues more obvious
* fix remaining sidebar layout shift
* update docs snapshots
* remove unused code translations
* remove unused code translations
* fix minor update-code-translations bug
* Add more build-size paths to watch
* Restyle back button
* Add missing`menu` class
* extract useShallowMemoizedObject
* fix routes tests + better routes formatting
* use Translate api for labels
* use Translate api for labels
* Update translations
* Improve dark mode support for back button
* Merge branch 'master' into lex111/inline-color-code
# Conflicts:
# packages/core/dist/css/default-dark/default-dark-rtl.min.css
# packages/core/dist/css/default-dark/default-dark.min.css
# packages/core/dist/css/default/default-rtl.min.css
# packages/core/dist/css/default/default.min.css
* replace useCollapse by new useCollapsible
* Cleanup and use clean-btn for TOCCollapsible button
* Make TOC links clickable over full width
* Cleanup
* fix uncollapsible sidebar that can be collapsed + create <Collapsible> component
* dependency array typo
* rollback sidebars community commit typo
Co-authored-by: slorber <lorber.sebastien@gmail.com>
The Open Graph protocol format is the following:
```
<meta property="og:image" content="https://example.com/image.png />
```
Twitter metas, however, are structured in a different format:
```
<meta name="twitter:image" content="https://example.com/image.png />
```
They are similar but not identical, I think this led to confusion and
the typo we have in the codebase.
* feat(v2): add custom title delimiter to the theme classic
* fix validation tests
* remove title delimiter fallback
* move titleDelimiter to main config, update theme-bootstrap
* remove test value from config
* update test snapshot
* Improve docs
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
* better fixes for docs homepage
* fix tests
* create special route for docs homepage + cleanup existing code
* no need to create multiple docs parent paths
* useful comment
* add test for slug + doc home usage at the same time error
* remove confusing variable name
* fix tests by using same suffix as before for docs base metadata path
* metadata: use homePageId correctly for nested docs: the full docId (including /) should be used to compare against homePageId
* add folder/testNested test doc
* refactor a bit processMetadata, the home should be handled correctly for all versions
* Workaround to fix issue when parent layout route (DocPage) has same path as the child route (DocItem): see https://github.com/facebook/docusaurus/issues/2917
* revert homePageId
* remove test doc
* remove test doc
* add useful comment
* feat(v2): add minor adjustements and footer component
* fix(v2): margin and spacing of footer
* fix(v2): spacings
* fix(v2): remove unrelated links of the bootstrap template
* fix(v2): remove unrelated links of the bootstrap template
* feat(v2): init the blog post card
* feat(v2): Update card design
* chore(v2): remove unused dependency
* feat(v2): add post list
* feat(v2): improve html tags
* chore(v2): run prettier
* feat(v2): remove old tag
* feat(v2): apply suggestions
* feat(v2): add tags for blog post
* feat(v2): add post content
* feat(v2): add tags
* feat(v2): add specific tag page
* feat(v2): fix tablet layout
* feat(v2): fix tablet layout
* feat(v2): init the blog post card
* feat(v2): Update card design
* chore(v2): remove unused dependency
* feat(v2): add post list
* feat(v2): improve html tags
* chore(v2): run prettier
* feat(v2): remove old tag
* feat(v2): apply suggestions
* feat(v2): add tags for blog post
* feat(v2): add post content
* feat(v2): init the blog post card
* feat(v2): Update card design
* chore(v2): remove unused dependency
* feat(v2): add post list
* feat(v2): improve html tags
* chore(v2): run prettier
* feat(v2): remove old tag
* feat(v2): apply suggestions