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

Improve performance of the Table of Contents #2699

Open
soywiz opened this issue Oct 11, 2022 · 1 comment
Open

Improve performance of the Table of Contents #2699

soywiz opened this issue Oct 11, 2022 · 1 comment
Labels
enhancement An issue for a feature or an overall improvement perf Performance related

Comments

@soywiz
Copy link

soywiz commented Oct 11, 2022

Is your feature request related to a problem? Please describe

In my libraries https://dokka.korge.org/ table of contents is laggy which is a bit frustrating. And in some cases a pretty much unusable.
#2695 (comment)
Also maybe it displays too much information. I might only want classes and packages to reduce it.

Describe the solution you'd like

  • Support limiting the ToC to packages and classes
  • Building the ToC HTML DOM nodes on demand
  • Use HTML history API to make local navigations to not reload the ToC but update only the current node and the changed main content

Described in detail here: #2695 (comment)

@soywiz soywiz added the enhancement An issue for a feature or an overall improvement label Oct 11, 2022
@IgnatBeresnev IgnatBeresnev added the perf Performance related label Nov 17, 2022
@ZacSweers
Copy link

Big +1 on this. The performance issues with dokka make it more or less unusable for nontrivial projects. Using firefox/safari helps, but still suffers to a lesser extent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An issue for a feature or an overall improvement perf Performance related
Projects
None yet
Development

No branches or pull requests

3 participants