Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vitepress example broken when cloned locally #643

Open
bukowa opened this issue Jul 2, 2024 · 5 comments
Open

vitepress example broken when cloned locally #643

bukowa opened this issue Jul 2, 2024 · 5 comments
Labels

Comments

@bukowa
Copy link

bukowa commented Jul 2, 2024

What package is the bug related to?

typedoc-vitepress-theme

Describe the issue

I followed https://github.com/typedoc2md/typedoc-plugin-markdown-examples/tree/main/integrations/vitepress

  1. First I had to change dir in typedoc.json to properly resolve:
  "entryPoints": ["../../dummy-api/src/*"],
  1. npm run docs:dev
  2. Visit website and try clicking "Next Page" you will realize you are going back.

TypeDoc configuration

{
  "entryPoints": ["../../dummy-api/src/*"],
  "plugin": ["typedoc-plugin-markdown", "typedoc-vitepress-theme"],
  "githubPages": false,
  "readme": "none",
  "indexFormat": "table",
  "useCodeBlocks": true,
  "disableSources": true,
  "textContentMappings": {
    "title.indexPage": "API Reference",
    "title.memberPage": "{name}"
  }
}

Expected behavior

No response

@bukowa bukowa added the bug label Jul 2, 2024
@tgreyuk
Copy link
Member

tgreyuk commented Jul 2, 2024

Sorry I can't replicate. Next page link is working correctly here? https://typedoc-vitepress-theme-example-docs-rf58bio35.vercel.app/api/

@bukowa
Copy link
Author

bukowa commented Jul 2, 2024

Sorry I can't replicate. Next page link is working correctly here? https://typedoc-vitepress-theme-example-docs-rf58bio35.vercel.app/api/

Team Access Required

@bukowa
Copy link
Author

bukowa commented Jul 2, 2024

Tried on second PC and 4 browsers with fresh project. When you navigate Next Page several times you will realize it's broken as you go back to the root Api.

@tgreyuk
Copy link
Member

tgreyuk commented Jul 2, 2024

Ok should be fixed now in typedoc-vitepress-theme@1.01 (there was some bad paths in sidebar file).

@bukowa
Copy link
Author

bukowa commented Jul 2, 2024

Thanks ill check this later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants