Commit Graph

65 Commits

Author SHA1 Message Date
Shahed Nasser 32f9c15b1b docs: refactor analytics + remove segment (#13954)
* docs: refactor analytics + remove segment

* small refactor of condition
2025-11-04 14:53:56 +02:00
Shahed Nasser 7c31276f98 docs: show possible similar pages on 404 page (#13840)
* docs: show possible similar pages on 404 page

* fix 404 page in api reference
2025-10-24 10:00:38 +03:00
Shahed Nasser 6ea97443de docs: improved analytics and tracking (#13671)
* docs: improved analytics and tracking

* remove detailed feedback component

* remove ignore build script for api reference

* improvements

* fix pathname
2025-10-03 13:33:48 +03:00
Shahed Nasser 762cd445e0 docs: setup PostHog (#13659) 2025-10-02 14:45:10 +03:00
Shahed Nasser 96f4ed90ad docs: integrate reo.dev (#13192) 2025-08-13 11:53:01 +03:00
Shahed Nasser 714087ca5a docs: fix search not opening sometimes (#13118) 2025-08-01 12:29:44 +03:00
Shahed Nasser 5d79dc8c41 docs: handle recaptcha loading before submitting AI assistant queries (#13065) 2025-07-28 14:27:50 +03:00
Shahed Nasser be7a5b802f docs: add missing prop to kapa (#12934)
* docs: add missing prop to kapa

* change to cookie
2025-07-14 10:05:55 +03:00
Shahed Nasser 85bc396e03 docs: fix recaptcha messing up page layout (#12799)
* docs: fix recaptcha messing up page layout

* add comment
2025-06-23 18:23:04 +03:00
Shahed Nasser ab21ac57ca docs: use Kapa React SDK (#12792) 2025-06-20 18:24:14 +03:00
Shahed Nasser 009d00f27d docs: redesign table of content (#12647)
* implement toc

* added to projects

* fixes and adapt for references

* added product frontmatter

* remove action menu from 404 pages
2025-05-30 16:55:36 +03:00
Shahed Nasser 9b3218885c docs: redesign search (#12628)
* docs: redesign search

* add shadow in dark mode
2025-05-28 10:01:04 +03:00
Shahed Nasser 7c7e44d9fe docs: enable and send algolia events (#12416) 2025-05-08 18:59:21 +03:00
Shahed Nasser c96560ccb7 docs: remove custom searching mechanism (#11984)
* docs: remove custom searching mechanism

* remove grouping

* changes to grouping

* small title change

* update resources sitemap
2025-03-26 10:56:02 +02:00
Shahed Nasser 98e630bce5 docs: improved search results (#11909) 2025-03-19 15:31:01 +02:00
Shahed Nasser 9ead47c51e docs: add prepare script to generate sidebar (#11894) 2025-03-18 17:37:51 +02:00
Shahed Nasser 28b0d08591 docs: add documentation for Locking Module (#11824)
* add locking docs

* fix main navbar

* added implementation example links

* generate refs

* update architecture

* fix vale error
2025-03-13 12:20:24 +02:00
Shahed Nasser ef66ff8f99 docs: improvement to sidebar (#11810)
* docs: improvement to sidebar

* fix sidebar
2025-03-11 16:48:01 +02:00
Shahed Nasser 0ba63ac29e change main navbar 2025-03-10 17:19:23 +02:00
Shahed Nasser 8b1ee3705e split sidebars + optimize generated files loading 2025-03-10 10:32:45 +02:00
Shahed Nasser 87b041800a fixes + added new sidebars 2025-03-10 08:33:21 +02:00
Shahed Nasser 5deb8eaf50 docs: support multiple sidebars in a project (#11768)
* changed to new sidebar across projects except resources

* finalize multi sidebar support

* clean up

* remove redundant property

* small changes

* fixes

* generate

* fix error

* fix initial open
2025-03-07 15:47:38 +02:00
Shahed Nasser ecc3deb362 docs: changes to main docs sidebar (#11750)
* docs: changes to main docs sidebar

* fix links

* fix vale test

* fix vale errors
2025-03-06 11:55:56 +02:00
Shahed Nasser bf67f69f45 docs: move edit date to footer (#11667)
* docs: move edit date to footer

* fix build error
2025-02-28 16:27:42 +02:00
Shahed Nasser b966198258 docs: add user guide to navbar (#11611)
* docs: add user guide to navbar

* fix titles
2025-02-26 11:00:01 +02:00
Shahed Nasser 5c85b51d26 docs: set max width in assistant (#11231)
* docs: set max width in assistant

* allow scrolling while showing answer
2025-01-30 16:25:55 +02:00
Shahed Nasser be33a56290 docs: changes to AI assistant icon + add button to code blocks (#11227)
* docs: changes to AI assistant icon + add button to code blocks

* fix code blocks in questions

* collapse code block in answer

* styling fixes

* fix new line at cursor position
2025-01-30 14:29:22 +02:00
Shahed Nasser e0bd2a79b0 docs: fix overflowing content on small devices (#11219) 2025-01-29 20:50:51 +02:00
Shahed Nasser 5634a4762b docs: improve AI Assistant (#11208)
* initial implementation

* integrate new ai assistant in other projects + ux improvements

* fix chat window on mobile devices

* fixes to mobile

* allow pre

* change shortcut to i

* improved responsiveness

* align version in navbar
2025-01-29 19:13:51 +02:00
Shahed Nasser 1d7eeb53ae docs: fix current sidebar not found (#11155) 2025-01-25 18:51:05 +02:00
Shahed Nasser 8038a917ee docs: fix sidebar items not showing if they have same title in API reference (#11122) 2025-01-24 18:54:21 +02:00
Shahed Nasser ebca8fed28 docs: revise commerce modules overview pages (#10738)
* revise API Key Module overview

* revise auth module

* support ref sidebar items

* remove examples

* revise cart module

* revise currency

* revise customer module

* revise fulfillment module

* revise inventory module

* revise order module

* revise payment

* revise pricing module

* revise product module

* revise promotion module

* revise region module

* revise sales channel module

* revise stock location module

* revise store module

* revise tax module

* revise user module

* lint content + fix snippets
2024-12-26 10:32:16 +02:00
Shahed Nasser c99b03bcc2 docs: change logo (#10208)
* docs: changed logo

* remove unused component
2024-11-21 18:15:32 +02:00
Shahed Nasser 35afa04a93 docs: migrate Kapa (#10198)
* docs: migrate kapa

* remove unused dependency

* fix isbrowser
2024-11-21 15:05:50 +02:00
Shahed Nasser a1738f823c docs: change report issue link (#10160) 2024-11-19 15:54:16 +02:00
Shahed Nasser 938f3bd934 docs: update to next 15 + eslint 9 (#9839)
* update next

* updated react

* update eslint

* finish updating eslint

* fix content lint errors

* fix docs test

* fix vale action

* fix installation errors
2024-11-13 17:03:17 +02:00
Shahed Nasser 04cec64fa1 docs: show latest version in docs + update automatically (#9753) 2024-10-24 14:03:34 +03:00
Shahed Nasser b2122c4073 docs: fixes and refactoring for API reference (#9708)
* docs: fixes and refactoring for API reference

* add route caching

* remove caching

* use next cache
2024-10-22 18:20:06 +03:00
Shahed Nasser 0a37675f0e docs: add routing page (#9550)
- Add a new homepage to `book` project for the routing page
- Move all main doc pages to be under `/v2/learn` (and added redirects + fixed links across docs)
- Other: add admin components to resources dropdown + fixes to search on mobile.

Closes DX-955

Preview: https://docs-v2-git-docs-router-page-medusajs.vercel.app/v2
2024-10-18 08:24:34 +00:00
Shahed Nasser 49a91fd40e docs: redesigned navigation (#9525)
Redesign navigation bar to reflect new design and allow for dropdowns

Closes DX-943
2024-10-11 07:10:00 +00:00
Shahed Nasser 0f6f56e764 docs: DX and performance improvements in API reference (#9430)
- Improve scroll behavior between active sections
- Improve lag when clicking on a sidebar item
- Refactor internal working of the `SidebarProvider` to find active items faster.
- Use Next.js's `useRouter` hook for changing the hash (since they added the option to disable scroll)
- Change `isBrowser` from a hook to a provider since it's widely used across applications.
- Other general improvements and fixes.

Closes DOCS-952
2024-10-02 15:51:02 +00:00
Shahed Nasser c790af7834 docs: improve search to show results for all filters (#9208)
* docs: improve search to show results for all filters

* fix index ordering
2024-09-22 14:49:16 +02:00
Shahed Nasser 138523a629 docs: change navbar items + breadcrumb improvements (#9209)
- Add a new commerce module navbar item
- Rename Learning Resources to Development Resources (in navbar and across documentation content)
- Improve breadcrumbs to show categories / subcategories

Preview: https://resources-docs-git-docs-navbar-changes-medusajs.vercel.app/v2/resources
2024-09-22 12:47:35 +00:00
Shahed Nasser 320b01f45d docs: redesign search + re-introduce ai assistant in v2 docs (#8678)
* docs: redesign search + re-introduce ai assistant in v2

* change version in ui

* show icon in case of error

* fixes based on feedback
2024-08-23 10:42:37 +03:00
Shahed Nasser 9734ad1e51 docs: fix category not opening in api reference from algolia search (#8690) 2024-08-21 11:52:13 +02:00
Shahed Nasser 800d034c89 docs: update algolia (#8625)
Update algolia to fix issues with highlighting and snippets
2024-08-19 07:12:02 +00:00
Shahed Nasser c479fe8220 docs: added edit date (#8623) 2024-08-19 09:47:57 +03:00
Shahed Nasser 66c39ef876 docs: bug fixes for copy and color mode (#8626)
* docs: bug fixes for copy and color mode

* remove unused dependency
2024-08-18 17:01:15 +02:00
Shahed Nasser 0cc2a62b9b docs: collapse sidebar by default in main docs + persist state (#8608)
* docs: collapse sidebar by default in main docs + persist state

* persist sidebar hidden
2024-08-16 09:29:14 +03:00
Shahed Nasser b4f3b8a79d docs: redesign sidebar (#8408)
* initial changes

* redesign the sidebar + nav drawer

* changes to sidebar items

* finish up sidebar redesign

* support new sidebar in resources

* general fixes

* integrate in ui

* support api reference

* refactor

* integrate in user guide

* docs: fix build errors

* fix user guide build

* more refactoring

* added banner

* added bottom logo + icon

* fix up sidebar

* fix up paddings

* fix shadow bottom

* docs: add table of content (#8445)

* add toc types

* implement toc functionality

* finished toc redesign

* redesigned table of content

* mobile fixes

* truncate text in toc

* mobile fixes

* merge fixes

* implement redesign

* add hide sidebar

* add menu action item

* finish up hide sidebar design

* implement redesign in resources

* integrate in api reference

* integrate changes in ui

* fixes to api reference scrolling

* fix build error

* fix build errors

* fixes

* fixes to sidebar

* general fixes

* fix active category not closing

* fix long titles
2024-08-15 12:13:13 +03:00