Skip to content

Commit 76e0f51

Browse files
committed
Readme
Readme Readme Minor
1 parent c3b3975 commit 76e0f51

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ available as a standalone package since it can be used for any other
99
package. The documentation can be found on
1010
`ReadTheDocs <http://sphinx-automodapi.readthedocs.io/en/latest/>`_.
1111

12-
This extension was forked from the Astropy project for use with the ProPlot project, in order to change a few hard-coded settings that could not be changed with the existing API. ProPlot documentation can also be found on `ReadTheDocs <https://proplot.readthedocs.io/en/latest>`_.
12+
Proplot modifications
13+
---------------------
14+
This extension was forked from the Astropy project for use with the `proplot <https://github.com/lukelbd/proplot>`__ project in order to add some features. The following changes were made:
15+
16+
* Adds ``__getitem__``, ``__getattr__``, ``__setitem__``, and ``__setattr__`` to the list of builtin methods that are *not* ignored by the documentation generator.
17+
* Skips over class methods that are public, but do *not* have their own ``__doc__`` attributes, to prevent inheriting and displaying documentation from external projects.
18+
* Gives class methods and attributes their own stub pages, instead of putting all class methods and attributes on a single page. This also requires reordering the event hooks so ``sphinx_automodapi`` is called before ``autosummary``, so that ``autosummary`` detects the automatically generated class pages.
1319

1420

1521
Running tests

sphinx_automodapi/automodsumm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def generate_automodsumm_docs(lines, srcfn, app=None, suffix='.rst',
447447
if builder is not None:
448448
# allow the user to override the templates
449449
# also add to the templates_path
450-
# TODO: messes up usage for some users? for time being IDGAF
450+
# TODO: messes up usage for some users?
451451
local_dir_full = os.path.join(local_dir, 'autosummary_core')
452452
templates_path = builder.config.templates_path
453453
if local_dir_full not in templates_path:

0 commit comments

Comments
 (0)