Skip to content

MRG: Remove double-backticks - #5120

Merged
larsoner merged 3 commits into
mne-tools:masterfrom
larsoner:doc
Apr 12, 2018
Merged

larsoner merged 3 commits into
mne-tools:masterfrom
larsoner:doc

Conversation

@larsoner

Copy link
Copy Markdown
Member

Closes #5118

So far it looks locally like the double-backtics are no longer necessary on var_ names in Attributes sections. We'll see if CircleCI agrees.

I still need to fix the CSS width problem.

@larsoner

Copy link
Copy Markdown
Member Author

@larsoner

Copy link
Copy Markdown
Member Author

Upstream issue for the col-md-12 to col-md-9 switch:

ryan-roemer/sphinx-bootstrap-theme#180

@codecov

codecov Bot commented Apr 11, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #5120 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5120      +/-   ##
==========================================
+ Coverage   88.04%   88.05%   +<.01%     
==========================================
  Files         356      356              
  Lines       65242    65242              
  Branches    11121    11121              
==========================================
+ Hits        57442    57446       +4     
+ Misses       4966     4964       -2     
+ Partials     2834     2832       -2

@agramfort

Copy link
Copy Markdown
Member

good to go?

@larsoner

Copy link
Copy Markdown
Member Author

Sure, I'll fix the col switch later

@larsoner

Copy link
Copy Markdown
Member Author

Actually I think I found a fix

@cbrnr

cbrnr commented Apr 11, 2018

Copy link
Copy Markdown
Contributor

You fix stuff faster than I can even find the related issue/PR 😄 - however, don't auto-close #5118 just yet, I think we should address the references issue.

@larsoner

Copy link
Copy Markdown
Member Author

The refs is almost certainly an upstream numpydoc bug, it takes care of refs.

@cbrnr

cbrnr commented Apr 11, 2018

Copy link
Copy Markdown
Contributor

OK, I might open an issue then. Unless of course you haven't already...

@larsoner

Copy link
Copy Markdown
Member Author

Nope. You'll probably want to make a MWE first

@cbrnr

cbrnr commented Apr 11, 2018

Copy link
Copy Markdown
Contributor

Hm. I don't have numpydoc set up locally. Maybe I'll just ask and point them to our docs just to see if it isn't something obvious.

@larsoner

Copy link
Copy Markdown
Member Author

@larsoner larsoner changed the title WIP: Remove double-backticks MRG: Remove double-backticks Apr 11, 2018
@cbrnr

cbrnr commented Apr 11, 2018

Copy link
Copy Markdown
Contributor

I like it better.

@larsoner

Copy link
Copy Markdown
Member Author

For numpydoc you can pip install numpydoc then make a minimized version of our docs. If you don't have time I can do it

@cbrnr

cbrnr commented Apr 11, 2018

Copy link
Copy Markdown
Contributor

"make a minimized version of our docs" is what worries me... Please don't hesitate to do it, I think you will get it done much faster than me.

@larsoner

Copy link
Copy Markdown
Member Author

For now I did this:

numpy/numpydoc#169

I have a minimized version ready in case there is no good explanation

Comment thread mne/preprocessing/xdawn.py Outdated
``event_id_`` : dict of event id
event_id_ : dict of event id
The event id.
``correct_overlap_``: bool

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Forgot this one.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(Probably because there's no space before the colon.)

Comment thread mne/decoding/receptive_field.py Outdated
patterns_ : array, shape ([n_outputs, ]n_features, n_delays)
If fit, the inverted coefficients from the model.
``delays_``: array, shape (n_delays,), dtype int
delays_: array, shape (n_delays,), dtype int

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Insert a space before the colon.

@cbrnr

cbrnr commented Apr 12, 2018

Copy link
Copy Markdown
Contributor

Other than my minor comments, LGTM!

@larsoner
larsoner merged commit 13d6aad into mne-tools:master Apr 12, 2018
@larsoner
larsoner deleted the doc branch April 12, 2018 16:30
@cbrnr

cbrnr commented Apr 12, 2018

Copy link
Copy Markdown
Contributor

Thanks @larsoner!

britta-wstnr pushed a commit to britta-wstnr/mne-python that referenced this pull request Jul 5, 2018
* FIX: Remove double-backticks

* FIX: Width

* FIX: Fix warnings
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.

Beautify some docs properties

3 participants