* fix(v2): Unbreak blog post title
* Revert "fix(v2): Unbreak blog post title"
This reverts commit d21444b6fb.
* Move title fallback to LayoutHead
* Make SEO component only render title when not null
* docs: add ToggleTags component for showcase
* docs: add filter functionality
* docs: remove redundant variables
* docs: use react state for selectedTags
* docs: add control to tag checkbox
* docs: use useMemo for filteredUsers
* docs: change names of tags
* revert name tag changes
* polish the showcase page
* cleanup tags on the users list
* minor polish
* add querystring filtering
* typo
* Add title/arialabel to emulate tooltip
Co-authored-by: Javid <singularity.javid@gmail.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
* make number prefix parsing logic configurable
* Make numberPrefixParser configurable + rename frontmatter + avoid parsing date/version patterns by default
* add more tests
* more test cases
* Add React Native Boilerplate to the list of users
* Add React Native Boilerplate site preview
* Update website/src/data/users.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* chore: add theme classnames for blog pages
* fix: component syntax error in blog pages
* style: fix camelcase issue with theme class names
* chore: add theme classnames for doc page and mdx page
* chore: make wrapper classnames in blog and doc page into constants
* chore: add main wrapper theme class name for layout component
* fix: change wrong theme classnames and improve naming
* chore: add wrapper theme class name for mdx page
* docs: add docs for theme class names
* docs: use raw-loader to import documentation and add some comments
* docs: provide more detail to comment
* chore: rename ThemeClassname.ts to ThemeClassName.ts
Co-authored-by: Lisa Chandra <52909743+lisa761@users.noreply.github.com>
Co-authored-by: Javid <singularity.javid@gmail.com>
* POC of autogenerated sidebars
* use combine-promises utility lib
* autogenerated sidebar poc working
* Revert "autogenerated sidebar poc working"
This reverts commit c81da980
* POC of auto-generated sidebars for community docs
* update tests
* add initial test suite for autogenerated sidebars + fix some edge cases
* Improve autogen sidebars: strip more number prefixes in folder breadcrumb + slugs
* fix typo!
* Add tests for partially generated sidebars + fix edge cases + extract sidebar generation code
* Ability to read category metadatas file from a file in the category
* fix tests
* change position of API
* ability to extract number prefix
* stable system to enable position frontmatter
* fix tests for autogen sidebar position
* renamings
* restore community sidebars
* rename frontmatter position -> sidebar_position
* make sidebarItemsGenerator fn configurable
* minor changes
* rename dirPath => dirName
* Make the init template use autogenerated sidebars
* fix options
* fix docusaurus site: remove test docs
* add _category_ file to docs pathsToWatch
* add _category_ file to docs pathsToWatch
* tutorial: use sidebar_position instead of file number prefixes
* Adapt Docusaurus tutorial for autogenerated sidebars
* remove slug: /
* polish the homepage template
* rename _category_ sidebar_position to just "position"
* test for custom sidebarItemsGenerator fn
* fix category metadata + add link to report tutorial issues
* fix absolute path breaking tests
* fix absolute path breaking tests
* Add test for floating number sidebar_position
* add sidebarItemsGenerator unit tests
* add processSidebars unit tests
* Fix init template broken links
* windows test
* increase code translations test timeout
* cleanup mockCategoryMetadataFiles after windows test fixed
* update init template positions
* fix windows tests
* fix comment
* Add autogenerated sidebar items documentation + rewrite the full sidebars page doc
* add useful comment
* fix code block title
* feat: lazy match classic theme code block title
* feat: allow single quotes for classic theme code block title
* refactor(v2): extract parseCodeBlockTitle function
extract `parseCodeBlockTitle` function to add tests for title parsing
* test(v2): add tests for parseCodeBlockTitle
* move code block title parser to theme-common
Co-authored-by: slorber <lorber.sebastien@gmail.com>
* Creating a way to configure the port used on the guthub deploy.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Isolating the logic to generate the url and testing it.
* Changing all the names used on tests to something more unserstandable.
* Prettify
Co-authored-by: Tales Porto <t.andrade-porto@klarna.com>
* extract createExcerpt code in separate file + add bad test
* almost working markdown parsing refactor
* complete parseMarkdownString refactor
* fix tests
* fix blog test issue
* fix docusaurus utils imports