Skip to content

[MRG] DOC: Add SLEP and Governance in dev docs#13634

Closed
bharatr21 wants to merge 5 commits intoscikit-learn:masterfrom
bharatr21:update-slep
Closed

[MRG] DOC: Add SLEP and Governance in dev docs#13634
bharatr21 wants to merge 5 commits intoscikit-learn:masterfrom
bharatr21:update-slep

Conversation

@bharatr21
Copy link
Copy Markdown
Contributor

Reference SLEP and Governance in dev docs as per #13268

Reference Issues/PRs

Fixes #13268

What does this implement/fix? Explain your changes.

Reference SLEP and Governance in dev docs

Copy link
Copy Markdown
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Thanks!

Governance
----------
The decision making process and governance structure of scikit-learn is laid
out in the `governance document <https://github.com/scikit-learn/scikit-learn/blob/master/doc/governance.rst>`_.
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.

There should be no need to use a full URL reference. :ref:`governance` should suffice

<code_review>` are very valuable contributions that decrease the burden on the
project maintainers.


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.

No need for this blank line


In case a contribution/issue involves changes to the API principles
or changes to dependencies or supported versions, a
`SLEP <https://github.com/scikit-learn/scikit-learn/blob/master/doc/governance.rst#enhancement-proposals-sleps>`_,where a SLEP must be submitted as a pull-request to
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.

Please add a link anchor within the governance document and use :ref: here

`SLEP <https://github.com/scikit-learn/scikit-learn/blob/master/doc/governance.rst#enhancement-proposals-sleps>`_,where a SLEP must be submitted as a pull-request to
`enhancement_proposals <https://github.com/scikit-learn/enhancement_proposals/>`_
using the `SLEP template <https://github.com/scikit-learn/enhancement_proposals/blob/master/slep_template.rst>`_
and follows the decision-making process outlined in the `governance document <https://github.com/scikit-learn/scikit-learn/blob/master/doc/governance.rst>`_.
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.

Use :ref:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Currently could not find/create anchors for the scikit-learn/enhancement-proposals folder, so I've retained the full URLs for those cases alone, otherwise requested changes are incorporated.

@jnothman
Copy link
Copy Markdown
Member

jnothman commented Apr 15, 2019 via email

Copy link
Copy Markdown
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

I found some issues with the generated links:

doc/glossary.rst Outdated
SLEPs
Changes to the API principles and changes to dependencies or supported
versions happen via a `SLEP <governance/#enhancement-proposals-sleps>`_ and follows the
decision-making process outlined in the `governance document <governance>`_.
Copy link
Copy Markdown
Member

@ogrisel ogrisel Apr 17, 2019

Choose a reason for hiding this comment

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

Both this link and the previous one are broken in the rendered HTML:

https://54937-843222-gh.circle-artifacts.com/0/doc/glossary.html#term-slep

For the former you probably need to use:

... versions happen via a `SLEP <slep>`_ and follows the ...

I do not understand why the second link (targeting the "governance" reference) does not work. The doc/governance.rst file correctly includes the following line before its heading:

.. _governance:

This reference is reachable as expected at:

https://54937-843222-gh.circle-artifacts.com/0/doc/governance.html#governance

and I do not see a typo in the following syntax:

decision-making process outlined in the `governance document <governance>`_.

Maybe trying to be more explicit with the following would work?

decision-making process outlined in the :ref:`governance document <governance>`.

Copy link
Copy Markdown
Member

@ogrisel ogrisel Apr 17, 2019

Choose a reason for hiding this comment

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

The syntax:

`governance document <governance>`_

is actually wrong. I confirmed it should be:

:ref:`governance document <governance>`

I found other occurrences of this mistake in our documentation. I will issue another PR to fix those.

Governance
----------
The decision making process and governance structure of scikit-learn is laid
out in the governance document :ref:`governance`.
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.

Please insert a colon before the :ref: marker:

... out in the governance document: :ref:governance.

The :ref: marker is replaced by the title of the referenced section in the rendered HTML:

https://54937-843222-gh.circle-artifacts.com/0/doc/developers/contributing.html#governance

:ref:`slep`, where a SLEP must be submitted as a pull-request to
`enhancement proposals <https://scikit-learn-enhancement-proposals.readthedocs.io>`_
using the `SLEP template <https://scikit-learn-enhancement-proposals.readthedocs.io/en/latest/slep_template.html>`_
and follows the decision-making process outlined in the governance document :ref:`governance`.
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.

Here again please please insert a colon before :ref.

DOC Adds recent core devs to _contributors.rst (#13640)

DOC t-SNE perplexity docstring update (#13069)

FIX feature importances in random forests sum up to 1 (#13636)

DOC Removed a typo from the examples of normalized_mutual_info_score (#13646)

MAINT: n_jobs=-1 replaced with n_jobs=4 in tests (#13644)

This change is to work around the hang

 #12263

afflicting Windows on machines with > 62 hyperthreads.

Add parameter for stacking missing indicator into iterative imputer (#13601)

FIX ignore single node trees in gbm's feature importances (#13620)

DOC typo in sklearn.utils.extmath.weighted_mode (#13655)

1.5+2 = 3.5, not 3.

ENH Extension of v_measure_score metric to include beta parameter (#13607)

BUG Fix missing 'const' in a few memoryview declaration in trees. (#13626)

BLD: check OpenMP support and add a switch to build without it (#13543)

FIX initialise Birch centroid_ in all cases (#13651)

DOC Improve performance of the plot_rbm_logistic_classification.py example (#13383) (#13648)

MNT Import linear assignment from scipy (#13465)

DOC Fixes formatting issue in webkit (#13657)

Fixing parameter description (for assume_centered) (#13456)

* Fixing parameter description (for assume_centered)

Fixing parameter description (for assume_centered)

* Update shrunk_covariance_.py

* Update empirical_covariance_.py

MAINT Unvendor joblib (#13531)

Improve comment in setup.py (#13661)

MAINT Replace absolute imports with relative imports (#13653)

[MRG] Fix various solver issues in ridge_regression and Ridge classes (#13363)

[MRG + 1] Fix pprint ellipsis (#13436)

DOC Remove space in "cross-entropy" (#13671)

FIX broken references in documentation (#13664)

DOC Remove synonyms in documentation of linear models (#13663)

MNT Correctly handle deprecated attribute warnings and docstrings (#13635)

Deprecate "warn_on_dtype" from check_array (#13382)

Fix MultiOutputClassifier checking for predict_proba method of base estimator (#12222)

fix small latex issue (#13680)

Fix sample_weight in label_ranking_average_precision_score (#13447)

DOC Emeritus core devs final call (#13673)

ENH Add verbose option to Pipeline, FeatureUnion, and ColumnTransformer (#11364)
@bharatr21
Copy link
Copy Markdown
Contributor Author

Closing this PR on account of a messed up rebase

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.

reference SLEP and Governance in dev docs

3 participants