Skip to content

Commit

Permalink
DOC: update docstring validation script + replace api coverage script (
Browse files Browse the repository at this point in the history
…pandas-dev#20025)

* Improvments to validate_docstrings script: adding sections to summary, validating type and description of parameters

* DOC: Improvements to validate docstring script (added api_coverage functionality, sections in csv and extra validations)
  • Loading branch information
datapythonista authored and pandres committed Mar 10, 2018
1 parent d45df38 commit e36fb61
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 174 deletions.
6 changes: 4 additions & 2 deletions doc/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,10 @@ Some other important things to know about the docs:

pandoc doc/source/contributing.rst -t markdown_github > CONTRIBUTING.md

The utility script ``scripts/api_rst_coverage.py`` can be used to compare
the list of methods documented in ``doc/source/api.rst`` (which is used to generate
The utility script ``scripts/validate_docstrings.py`` can be used to get a csv
summary of the API documentation. And also validate common errors in the docstring
of a specific class, function or method. The summary also compares the list of
methods documented in ``doc/source/api.rst`` (which is used to generate
the `API Reference <http://pandas.pydata.org/pandas-docs/stable/api.html>`_ page)
and the actual public methods.
This will identify methods documented in ``doc/source/api.rst`` that are not actually
Expand Down
98 changes: 0 additions & 98 deletions scripts/api_rst_coverage.py

This file was deleted.

Loading

0 comments on commit e36fb61

Please sign in to comment.