-
Notifications
You must be signed in to change notification settings - Fork 124
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] deal with several warnings and errors in the doc build #1061
Conversation
Remi-Gau
commented
May 8, 2024
•
edited
Loading
edited
- closes none but related to MNT: Use tox to simplify testing environment setup #1055 (review)
@@ -24,8 +24,6 @@ API Reference | |||
|
|||
.. currentmodule:: bids | |||
|
|||
.. _calibration_ref: |
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.
duplicate ref
@@ -11,7 +11,7 @@ kernelspec: | |||
name: python3 | |||
--- | |||
|
|||
## Executing and inspecting StatsModels with `pybids.modeling` | |||
# Executing and inspecting StatsModels with `pybids.modeling` |
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.
fix heading level
@@ -1,4 +1,4 @@ | |||
.. _reports: |
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.
duplicae ref
Possible args: | ||
- sampling_rate (int, str): The sampling rate to use if resampling |
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.
fix indentation error
@@ -18,16 +18,20 @@ class BIDSReport: | |||
(str), a dictionary, or None. If None, loads and uses default | |||
configuration information. | |||
Keys in the dictionary include: | |||
'dir': a dictionary for converting encoding direction strings |
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.
fix indentation error and ensure better HTML rendering
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1061 +/- ##
=======================================
Coverage 89.80% 89.80%
=======================================
Files 63 63
Lines 7178 7178
Branches 1374 1374
=======================================
Hits 6446 6446
Misses 532 532
Partials 200 200 ☔ View full report in Codecov by Sentry. |
@@ -68,6 +68,7 @@ | |||
autosummary_generate = True | |||
autodoc_default_flags = ['members', 'inherited-members'] | |||
add_module_names = False | |||
numpydoc_class_members_toctree = False |
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.
see https://stackoverflow.com/a/66139873
This feels a bit like a nuclear option but have not found a better way to deal with those warnings
I can deal with the intersphinx mapping config format mentioned here: https://github.com/bids-standard/pybids/actions/runs/8958443748/job/24602669575#step:5:29 but this would require bumping up the minimum required sphinx version |
Sure, we can bump the minimum sphinx no problem. |
@@ -15,7 +15,7 @@ | |||
.. _overview: | |||
|
|||
An overview of the analysis module | |||
=========================================== |
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.
I suspect there are more like this but I decided not to start looking to give my inner marie kondo a break.
@@ -2,6 +2,8 @@ | |||
File to ..include in a document with a big table of content, to give | |||
it 'style' | |||
|
|||
:orphan: |
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.
to silence 'not included in toc tree' warnings
not a consequence of this PR but noticed some funky layout in a tuto: |
This looks good. I'm still getting
Are those out of scope, or is there something wrong with my setup? |
yeah I noticed that but if I rerun the doc build the error goes away: do you get the same thing? |
If I |
tempted to leave it there for now , merge and and get back to it later. |