From c377c04a88cedec8ed2f1655245b179d0a674515 Mon Sep 17 00:00:00 2001 From: melissawm Date: Mon, 12 Apr 2021 12:00:00 -0300 Subject: DOC: Update howto-docs with link to NumPy tutorials. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Includes a few textual fixes suggested in gh-16386 and new link to Daniele Procidas's newly renamed Diátaxis Framework (instead of the Divio blog). --- doc/source/dev/howto-docs.rst | 49 ++++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 19 deletions(-) (limited to 'doc/source/dev') diff --git a/doc/source/dev/howto-docs.rst b/doc/source/dev/howto-docs.rst index 17194bd58..310756763 100644 --- a/doc/source/dev/howto-docs.rst +++ b/doc/source/dev/howto-docs.rst @@ -24,13 +24,16 @@ and stored in the `NumPy Archive repository ************************* What's needed ************************* -NumPy docs have the details covered. API reference -documentation is generated directly from -`docstrings `_ in the code -when the documentation is :ref:`built`. -What we lack are docs with broader scope -- tutorials, how-tos, and explanations. -Reporting defects is another way to contribute. We discuss both. +The :ref:`NumPy Documentation ` has the details covered. +API reference documentation is generated directly from +`docstrings `_ in the code when the +documentation is :ref:`built`. Although we have mostly +complete reference documentation for each function and class exposed to users, +there is a lack of usage examples for some of them. + +What we lack are docs with broader scope -- tutorials, how-tos, and +explanations. Reporting defects is another way to contribute. We discuss both. ************************* Contributing fixes @@ -48,8 +51,8 @@ a `pull request (PR) `__ with the fix, if you know how to do that; otherwise please `open an issue `__. -**Typos and misspellings** fall on a lower rung; we welcome hearing about them but -may not be able to fix them promptly. These too can be handled as pull +**Typos and misspellings** fall on a lower rung; we welcome hearing about them +but may not be able to fix them promptly. These too can be handled as pull requests or issues. Obvious **wording** mistakes (like leaving out a "not") fall into the typo @@ -74,28 +77,36 @@ If you're looking for subjects, our formal roadmap for documentation is a *NumPy Enhancement Proposal (NEP)*, `NEP 44 - Restructuring the NumPy Documentation `__. It identifies areas where our docs need help and lists several -additions we'd like to see, including Jupyter notebooks. - -You can find larger planned and in-progress ideas `at -our GitHub project `__. +additions we'd like to see, including :ref:`Jupyter notebooks `. .. _tutorials_howtos_explanations: - -Formula writing +Documentation framework ============================================================================== + There are formulas for writing useful documents, and four formulas cover nearly everything. There are four formulas because there are four categories of document -- ``tutorial``, ``how-to guide``, ``explanation``, and ``reference``. The insight that docs divide up this way belongs to -Daniele Procida, who goes on -`in this short article `__ to explain -the differences and reveal the formulas. When you begin a document or -propose one, have in mind which of these types it will be. +Daniele Procida and his `Diátaxis Framework `__. When you +begin a document or propose one, have in mind which of these types it will be. +.. _numpy_tutorials: -.. _contributing: +NumPy tutorials +=============== + +In addition to the documentation that is part of the NumPy source tree, you can +submit content in Jupyter Notebook format to the +`NumPy Tutorials `__ page. This +set of tutorials and educational materials is meant to provide high-quality +resources by the NumPy project, both for self-learning and for teaching classes +with. These resources are developed in a separate GitHub repository, +`numpy-tutorials `__, where you can +check out existing notebooks, open issues to suggest new topics or submit your +own tutorials as pull requests. +.. _contributing: More on contributing ============================================================================== -- cgit v1.2.1