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

docs: Split interactive docs section into subpages #3561

Merged
merged 12 commits into from
Aug 31, 2024

Conversation

joelostblom
Copy link
Contributor

@joelostblom joelostblom commented Aug 27, 2024

As discussed in #3500 with @dangotbanned

New look:
image

To make it easier to navigate instead of having one giant page.
The parts about performance and JupyterChart
are under the Large Datasets section,
so it seems natural that the part about interactivity
would go together with the other interactive parts
of the library.
I think this looks more pleasing
as content without a right-side ToC
stretches wider across the page.
@dangotbanned
Copy link
Member

FYI I was about to try building the docs, but needed this merged #3560

vl_convert stubs untracked

image

@dangotbanned
Copy link
Member

45ffa94 (#3561) fixed those pages not diplaying any charts.

sphinx shouting at me
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:45 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:80 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:120 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:169 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:202 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:253 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:276 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:305 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:323 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:339 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\bindings_widgets.rst:373 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\expressions.rst:22 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\expressions.rst:55 Code Execution failed:NameError: name 'chart' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\expressions.rst:64 Code Execution failed:NameError: name 'chart' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\expressions.rst:70 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\expressions.rst:94 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\expressions.rst:117 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)
C:\Users\danie\AppData\Local\hatch\env\virtual\altair\CXM7NV9I\doc\Lib\site-packages\sphinxext_altair\altairplot.py:261: UserWarning: altair-plot: C:\Users\danie\Documents\GitHub\altair\doc\user_guide\interactions\expressions.rst:149 Code Execution failed:NameError: name 'alt' is not defined
  warnings.warn(message, stacklevel=1)

Copy link
Member

@dangotbanned dangotbanned left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this makes for a much easier read thanks @joelostblom!

I was already on-board with the idea, so probably best to have approval from another maintainer.
index.rst is the only page I think needs revisiting, feel free to dismiss the suggestions

doc/user_guide/interactions/index.rst Outdated Show resolved Hide resolved
doc/user_guide/interactions/parameters.rst Outdated Show resolved Hide resolved
doc/user_guide/interactions/parameters.rst Outdated Show resolved Hide resolved
doc/user_guide/interactions/parameters.rst Outdated Show resolved Hide resolved
doc/user_guide/interactions/parameters.rst Outdated Show resolved Hide resolved
doc/user_guide/interactions/parameters.rst Outdated Show resolved Hide resolved
Copy link
Contributor

@binste binste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't read through all changes but I'm also all onboard splitting the interactive docs! Looks much better :) Thanks!

Copy link
Member

@dangotbanned dangotbanned left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking much better thanks again @joelostblom

I'll approve this now.

You can drop the concepts suggestion if it doesn't seem right, but please commit the spellcheck one

doc/user_guide/interactions/index.rst Outdated Show resolved Hide resolved
doc/user_guide/interactions/index.rst Outdated Show resolved Hide resolved
@joelostblom joelostblom enabled auto-merge (squash) August 31, 2024 18:29
@joelostblom
Copy link
Contributor Author

Thank you! Merging

@joelostblom joelostblom merged commit 5b58779 into main Aug 31, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants