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
enable docs on windows #13776
enable docs on windows #13776
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## branch-3.5 #13776 +/- ##
===========================================
Coverage 92.65% 92.65%
===========================================
Files 326 326
Lines 20734 20734
===========================================
Hits 19211 19211
Misses 1523 1523 |
@mosc9575 I am not really sure, can you run that example successfully manually? |
It is a bit strange. I can't reproduce the error in a notebook and the output looks allright. But on each run for the docs it show up. |
After I added bokeh/src/bokeh/sampledata/commits.py Line 68 in 78d71c2
to silence the problem with the |
I want to mention that the page And I updated two paths. The |
@mosc9575 Thank you so much for looking into this, having windows docs build back will be great! When I run Have you found a way around that? |
@tcmetzger This error should not apprear if you build the docs from scratch and I belief that you are getting this because of the cached older version of your local docs. Could you please try to run |
Just noting that there's no hard and fast need to have the makefile run |
@mosc9575 FYI @tcmetzger reported in the weekly meeting that the problem persists even in a completely fresh repo and environment. |
This are bad news. I thought it is solved, because I can build the docs on my windows using
I want to describe the problem for the docs on windows again, maybe @tcmetzger can adapt the code in this branch to make it work on his machine. In the code of the bokeh/src/bokeh/sphinxext/bokeh_gallery.py Line 117 in ca55dcb
which loops over all folders listed here bokeh/docs/bokeh/source/conf.py Lines 79 to 112 in ca55dcb
and creates an rst-file for each example in the folder. This could look like
Later in the process of the build process the bokeh/docs/bokeh/source/conf.py Lines 123 to 130 in ca55dcb
If we can avoid the rst-files for the examples which are listet in the list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mosc9575 I finally was able to do some more testing on different Windows setups - the docs are building as expected!
I apologize for the holdup. I'll merge this right away!
Thank you very much for this PR, not being able to build the docs on Windows has been a major issue for a long time, especially given that editing and building docs should be a low-barrier entry point for anybody who wants to contribute to Bokeh. Getting docs to build on Windows again is a very important win!
* extend check for paths in bokeh_sampledata_xref_skiplist * check if skipped xref is in path * reduce changes
The initial issues are solved on my windows machine but I am getting now an error running the
jitter
example.