-
Notifications
You must be signed in to change notification settings - Fork 871
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
[DOC] Cudf python API lookup has long latency #7098
Comments
So the root cause of this problem is that our entire documentation is written into a single html file(api.html) by sphinx and because of this it takes time for any browser to load and scroll to a specific section in the html file - we should probably find a way to chunk these out into separate html files |
This issue has been marked stale due to no recent activity in the past 30d. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be marked rotten if there is no activity in the next 60d. |
This issue has been labeled |
This is being worked on by @galipremsagar in v0.20. |
Fixes: #7098 This PR changes our docs theme to pydata theme: https://github.com/pydata/pydata-sphinx-theme, rest of the additional changes include: - [x] Revamps cudf docs theme to use pydata theme, and made changes to generate separate html pages for each API **thus docs are not going to take ~30s to load anymore, you should see the doc page for each API load almost instantly**. - [x] Replaced `sphinx_rtd_theme` usages with `pydata-sphinx-theme`. - [x] Removed `copybutton` being used in code samples, `pydata-sphinx-theme` has this support inbuilt. - [x] Introduced rapids color scheme 🟪 css styling into `pydata-sphinx-theme`. - [x] Removed some dead-code related to `markdown` in docs. - We no longer use markdown in docs. - [x] Moved all Class-related docstrings into `Class` declarations rather than in their `__init__` methods, to make the docstrings be uniform for `autoclass_content` to work correctly. - [x] Removed the rapids css which is now not needed: `"https://docs.rapids.ai/assets/css/custom.css"` - [x] Fixed reference errors in multipe places in docstrings; for ex: replaced `cudf.core.series.Series.factorize` with `cudf.Series.factorize`. - [x] Make top-level import of `StringIndex` possible, previously we cannot do `cudf.StringIndex`, this PR enables it. - [x] Enable top-level imports for `pivot` & `unstack`: `cudf.pivot` & `cudf.unstack`. For reviewing purposes, a demo live url to docs is here: https://6111734dedccb71ae0db66dc--docs-rapids-ai.netlify.app/api/cudf/stable/ Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Keith Kraus (https://github.com/kkraus14) - Michael Wang (https://github.com/isVoid) - Vukasin Milovanovic (https://github.com/vuule) - Benjamin Zaitlen (https://github.com/quasiben) - AJ Schmidt (https://github.com/ajschmidt8) URL: #8746
Describe the problems or issues found in the documentation
Currently, when I need to lookup a API signature from the documentation, the documentation site would first serve the page that contains every function API of
cudf
, then jump to the right section that has the function signature. This introduces unnecessary latency for a single function lookup.Suggested fix for documentation
A few different solutions may be implemented:
Other solutions also welcomed.
The text was updated successfully, but these errors were encountered: