Skip to content

Add Sphinx documentation with nbsphinx - #41

Merged
mrocklin merged 10 commits into
dask:masterfrom
mrocklin:docs
Sep 15, 2018
Merged

mrocklin merged 10 commits into
dask:masterfrom
mrocklin:docs

Conversation

@mrocklin

Copy link
Copy Markdown
Member

This adds basic sphinx quickstart material and then uses nbsphinx to construct
rst pages.

This also slightly modifies many of the notebooks to make them slightly more
uniform in the documentation.

This adds basic sphinx quickstart material and then uses nbsphinx to construct
rst pages.

This also slightly modifies many of the notebooks to make them slightly more
uniform in the documentation.
@mrocklin

Copy link
Copy Markdown
Member Author

cc @TomAugspurger

@mrocklin

Copy link
Copy Markdown
Member Author

image

image

@mrocklin

Copy link
Copy Markdown
Member Author

This is with dask/dask-sphinx-theme#8

@TomAugspurger TomAugspurger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Does the default cell timeout of 60s work for all the notebooks?

Comment thread index.rst Outdated

First, there are some high level examples about various Dask APIs like arrays,
dataframes, and futures, then there are more in-depth examples about
particularly features or use cases.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

typo: particular

Comment thread conf.py Outdated
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

May want to add "**.ipynb_checkpoints".

@mrocklin

Copy link
Copy Markdown
Member Author

LGTM. Does the default cell timeout of 60s work for all the notebooks?

Things seem ok. The full process runs in three minutes on my machine. I imagine that things might operate differently on CI systems though.

@TomAugspurger

Copy link
Copy Markdown
Member

+1

@guillaumeeb guillaumeeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm discovering some powerfull tooling here, that's nice, and that looks really good!

Comment thread index.rst
dataframe
delayed
futures
machine-learning

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What about embarrassingly-parallel example 😢

Joking aside, I can understand it's difficult to put it somewhere in this page.

@guillaumeeb guillaumeeb mentioned this pull request Sep 14, 2018
@TomAugspurger

Copy link
Copy Markdown
Member

A bit too long on the tpot example. We can bump the timeout, or change the example to have fewer generations / fewer individuals.

@mrocklin

mrocklin commented Sep 14, 2018 via email

Copy link
Copy Markdown
Member Author

@mrocklin

Copy link
Copy Markdown
Member Author

OK, so I'm having difficulty getting this to run on RTD. Odd things are happening with dask.distributed: https://readthedocs.org/projects/dask-examples/builds/7787173/

Putting that up here in case anyone has any thoughts?

@TomAugspurger do you have any interest in setting up doctr here instead to see if that is smoother?

@TomAugspurger

Copy link
Copy Markdown
Member

Sure I can take care of doctr

@TomAugspurger TomAugspurger mentioned this pull request Sep 15, 2018
@mrocklin
mrocklin merged commit fd4a0a9 into dask:master Sep 15, 2018
@mrocklin
mrocklin deleted the docs branch September 15, 2018 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants