Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/astropy/sphinx-automodapi

Sphinx extension for generating API documentation
https://github.com/astropy/sphinx-automodapi

This is sort of unrelated, but I found a few cases in testing where this fix was needed. This is more of a followup to #130 to catch some more cases where simply calling getattr() on some objects can result in a non-AttributeError exception.

e7cfe96ec730162860308cd2272fcf1b79ba1766 authored almost 10 years ago
Fixed a couple tests that were broken by earlier changes on this branch, and fixes the issue with Sphinx 1.3 and syntax issues using Python 2.

1abed36cc605855529df07059ced0a6eea41b647 authored almost 10 years ago
Fix to workaround regression in Sphinx 1.3 that prevented autosummary from working with objects that are imported into the module being documented, rather than being defined directly in that module. See https://github.com/astropy/astropy-helpers/issues/148#issuecomment-83660499

b2682773b5ab23c71967c49c97ba85984aa84641 authored almost 10 years ago
Some minor Pthon 3 fixes

fb7d0facb11103402d0f25904c3838ad5b0820e4 authored almost 10 years ago
Consistently pass in docnames (without filename extensions) instead of full filenames (with extensions). Also fixes related to the fact that the source_suffix option can be a list in Sphinx 1.3 (actually, we avoid using that option altogether here).

f905d261101f8f21410db46ab1ae339cec917cc1 authored almost 10 years ago
Merge pull request astropy/astropy-helpers#135 from bsipocz/fixing_typos

Fixing typos

cd819bb7167101db3ea72d4a36bdd11f5db939c2 authored almost 10 years ago
Fixing typos

f8bc3a34be1a0d7591c11b3e47d61c8fe8eed14f authored almost 10 years ago
Merge pull request astropy/astropy-helpers#131 from embray/deprecate-astropyautosummary

Deprecate AstropyAutosummary

4124cf5a63b6aa5ce9d79e6c589476e5907553d6 authored about 10 years ago
Merge pull request astropy/astropy-helpers#130 from embray/add-autodoc-attrgetter

Add autodoc attrgetter workaround for classes

73d9a3652c49883d3b26318cf9962a78e9f5593a authored about 10 years ago
Mark AstropyAutosummary as deprecated, and don't use it at all when Sphinx version is less than 1.2. At a later stage we can mark the entire astropyautosummary extension as deprecated (perhaps by putting @deprecated on its setup function)

5b5d90e4d4d809e70062096fa30eec83ef8992dc authored about 10 years ago
Adds a new small extension primarily to work around the issue mentioned here: https://github.com/astropy/astropy-helpers/issues/116#issuecomment-71254836 In principle other fixes to autodoc could be collected here as well but for now this is the only one.

94af2ee17527b8c4ee563e513d1e4a22b8fbf058 authored about 10 years ago
Merge pull request astropy/astropy-helpers#119 from astrofrog/enable-appveyor

Added files required by AppVeyor

8e6978031122e550a2c988c3c18466650abc61c0 authored about 10 years ago
Fix test failure - sphinx uses / even on Windows

f7a9c2161786accf974feabc098e651b08beba40 authored about 10 years ago
Merge pull request astropy/astropy-helpers#100 from astrofrog/more-python-3-fixes

Fix Python 3 failure in automodsumm

f0b1faec0f097a13f5b1af2ae2818d8737522b03 authored over 10 years ago
Merge pull request astropy/astropy-helpers#102 from astrofrog/fix-imports

Remove unused imports

b0691b1826e1c9e7ea551deac6f7bbc742415e7f authored over 10 years ago
Remove unused imports

fa7ebc58825189030a7a6eba3c72526139e85b19 authored over 10 years ago
Fix Python 3 failure in automodsumm

0eb58effe12a5fac1bdcc10bd0d0c12402a9b57d authored over 10 years ago
Merge pull request astropy/astropy-helpers#96 from astrofrog/fix-six

Remove dependency on six and enable sphinx tests on Python 3

977affca15317dcc12840cb167ee460a8293063b authored over 10 years ago
Fix for Python 3.2

a12693e4c93374deb703b958836b828bdc700079 authored over 10 years ago
Remove dependency on six and enable sphinx tests on Python 3

92ce6483fd07428255e14827617a7f8abf203cc4 authored over 10 years ago
Merge pull request astropy/astropy-helpers#88 from bsipocz/sphinx_smart_resolve_bases

Sphinx smart resolve Bases from intersphinx for affiliated packages

af0ef4684683241908d59a380c916cda794e6b90 authored over 10 years ago
removing unnecessary check

35f0cc082d8fd4f6c177c5165f4aba5431085e76 authored over 10 years ago
Addressing @embray's comments

6b8a135f7e030d7d877107fe053140c685aa8a5b authored over 10 years ago
adding sanity check

c4bdcc20dcef1692908c9c0d60b76aec06800d9c authored over 10 years ago
Adding a solution for broken Bases links in affiliated packages

48c2696456cb59a2315fbcc648d153ffd4f0de19 authored over 10 years ago
Merge pull request astropy/astropy-helpers#82 from larrybradley/newsphinx

modify import_by_name unpacking for sphinx >= 1.2.3

7da921fdf80ab0d4b1fc6d858a9eea4d3a72e577 authored over 10 years ago
modify import_by_name unpacking for sphinx >= 1.2.3

9336b3be4b76aa921ceb638ef147505b4b8e1588 authored over 10 years ago
Merge pull request astropy/astropy-helpers#80 from dpshelio/fix_newsphinx2

New Sphinx with extra values to unpack (using if)

44abbb5d162f504f61d252fce2f5be7c4e05ee18 authored over 10 years ago
unpacked import_by_name into 3 or 4 elements by an if block; new one introduced in Sphinx 1.2.3: module_name

79351d7f0523c681edb66992b4ad4e02d3af949b authored over 10 years ago
Merge pull request astropy/astropy-helpers#51 from sergiopasra/sphinx-py3

Use except-as instead of comma for py3 compatibility

72564e36b4009ec9677f2909e53aeac8a1cdd8ee authored over 10 years ago
Followup to https://github.com/astropy/astropy-helpers/pull/43 -- the output from automodapi includes the :functions-only: option to automodsumm. The test previously did not include this, and so some code paths that checked inspect.isfunction were not followed. I went ahead and updated the test to include this additional constraint (which covers the simpler use cases as well) and changed all uses of isfunction to isroutine which is fine in this context.

490ccb9f59ecde879652e9d77e3592e3fd765c71 authored over 10 years ago
Use except-as instead of comma for py3 compatibility

467ccb968d965679f04aabed4b0f77eda934d200 authored over 10 years ago
Merge pull request astropy/astropy-helpers#43 from embray/issue-43

Fix automodapi/automodsumm to document Cython functions

de0c268b99e590ae74e3d7a49de4f850c7a8d38b authored over 10 years ago
Oops, need to provide a path to astropy_helpers for the subprocess...

fac1ae7616c305f7014c0437d40d3b5e4424d7fc authored over 10 years ago
Should probably use sys.executable here

1616d84f58089aed6483097b2bf320991a2c91cc authored over 10 years ago
Just isroutine here is fine (it actually calls isfunction internally)

ca096d9e5e8399508a727d91800756f6314c191b authored over 10 years ago
Use a subprocess to compile the test Cython module rather than running it in the same process; otherwise Cython gets confused when you try to compile the same module of the same name more than once. This is fine here since it's not the actual build process that's being tested in these tests.

6f4491fb4c09f1e2dec88780488a51f1ff55bfde authored over 10 years ago
Fix typo in cleanup

7b9b8bfa2a4df0bbfc50ee6327955bfce60b7213 authored over 10 years ago
Not all versions of setuptools can be counted on to have this module

9f82d72cfc5ea1948fdd4d103ce65df715f3ecb6 authored over 10 years ago
Pretty sure this should fix the issue with automodapi including Cython functions. Includes a test for this case.

0c422c6a66bb0a3d9a0f7a72b8b15de9c9bdcef4 authored over 10 years ago
These test modules were being skipped unconditionally; this is the right way to skip for Python 3

ff811e2a75b924ac25f0df0af1a626b9f163fe5a authored over 10 years ago
Merge pull request astropy/astropy-helpers#33 from mdboom/smart-resolver-fix-crash

Fix astropy/astropy#2418 -- fix crash in smart_resolver when lookup fails

4d9abc07361ae14d03738cc64b80545789ee8f69 authored over 10 years ago
Fix astropy/astropy#2418 -- fix crash in smart_resolver when lookup fails

6158d0b51ea4bff57e36172b0f07428a6b2e9799 authored over 10 years ago
Merge pull request astropy/astropy-helpers#3 from astrofrog/update-numpydoc

Update numpydoc

c43a0c01d7ed70b032f2b428bf3e6422b39d4355 authored over 10 years ago
Merge pull request astropy/astropy-helpers#30 from mdboom/smart_resolver

Fix smart resolver for descriptor classes

58ae5b678aa079ac21de79673ddd1802802ec364 authored over 10 years ago
Fix smart resolver for descriptor classes

9f42650ed15da9dfe6adbc48c165773ce0a2966a authored over 10 years ago
Updated to the latest developer version of numpydoc

0c9b6719e5f53b4d561c7bf6a54596392c740162 authored over 10 years ago
Merge pull request astropy/astropy-helpers#6 from astrofrog/updated-sphinx

Ported over changes to Sphinx from astropy core package

568ab5f95bcf760ad715b0862f6980e3f3fcef29 authored over 10 years ago
Merge pull request astropy/astropy-helpers#8 from astrofrog/revert-sphinx-changes

Revert sphinx changes

22eae89b055f950dc4268ae67f0234cc4385e583 authored over 10 years ago
Skip Sphinx tests on Python 3

4d1dbeb5d8cc87feddeadc362722ee2f67adfe68 authored over 10 years ago
Revert "Some tweaks to get the sphinx exts (nominally) working on Python 3--haven't tested building actual docs with them yet."

This reverts commit 6e141838a4bc0d784bd796da0e479964e753e4f9.

5d97ea723ba901e5c540f38b415c5b22a8ca484b authored over 10 years ago
Ported over changes to Sphinx from astropy core package

29b9054b0e31acbb6adeed92625ade222bed6ff2 authored over 10 years ago
Merge pull request astropy/astropy-helpers#1 from embray/master

Initial implementation of astropy_helpers

fbfcbf5ee497228ea7a112cad918ffe8850116f4 authored over 10 years ago
Some tweaks to get the sphinx exts (nominally) working on Python 3--haven't tested building actual docs with them yet.

89f66c005bd3fe6efc77e118019293e1c63a3290 authored over 10 years ago
Sort of updated this test to work in astropy_helpers. Not sure why I wasn't seeing this failure before.

1a78fab2c586f68284aa6c411b4eb3728b98e331 authored almost 11 years ago
Initial import of astropy.sphinx into astropy_helpers.sphinx--mostly the same except for a few small tweaks to get it working under the name 'astropy_helpers'

7d3f80d9894b46421db72ea350b476043a0314bd authored almost 11 years ago
Merge pull request astropy/astropy#2228 from hamogu/patch-1

minor typo

508375ea901f108efdde8c94fc875e08f419d94a authored almost 11 years ago
minor typo

67259518e8fa7e6af57233e1e9d50d79393550ef authored almost 11 years ago
Merge pull request astropy/astropy#2135 from cdeil/issue_1817

Add __call__ to Sphinx API docs

0827d8b7fd6c80cdb5c0697c377051cdd623971d authored almost 11 years ago
Add __call__ to Sphinx API docs (fixes #1817)

9d9e3cba6a193f40bab7806d6a3fc2231559c796 authored almost 11 years ago
Manually merge pull request astropy/astropy#1826 from kbarbary/automodsumm-paths

Only required merging two changes to extensions in conf.py

Conflicts:
astropy/sphinx/conf.py

e5e3835d236852a30060d86c69a0c0fa380dba9a authored almost 11 years ago
Adjust automodsumm to truly act like `currentmodule` is in force

6c192dfaa81998192edef5f3175f33c1fe87c632 authored almost 11 years ago
Correct API module names

Make it so that the stub pages generated with automodapi have the paths
to the function or class...

d3adda5ed0d9e39f7ae7d1fd152b4480f7968a86 authored almost 11 years ago
Merge pull request astropy/astropy#2022 from eteq/automodsumm-write

Add automodsumm_writereprocessed debug option to help diagnose sphinx issues

79bd70b77df3275175896e94b2a6412859badd2f authored almost 11 years ago
Merge pull request astropy/astropy#2024 from eteq/astropyautosummary-minor-tweaks

Very minor debug info improvements in AstropyAutosummary

ac9cea3fff9113043b51579294f97cd9c8d00f57 authored about 11 years ago
Very minor debug info improvements in AstropyAutosummary

66e4748ab46015494eaba472ebc270591736dced authored about 11 years ago
Added missing newline between lines in automodsumm debug output

fb8c78c7532a2f8154e4ccf8c1c892de220a925b authored about 11 years ago
Added automodsumm_writereprocessed sphinx configuration option

110ab95b283a50640094506ebcc4c5ffe8294787 authored about 11 years ago
Merge pull request astropy/astropy#1975 from eteq/automodapi-write

Automodapi option to write out what automodapi is actually doing

7a5fd6d3fd87967a52edf1113dd46f096e2db1eb authored about 11 years ago
Added "automodapi_writereprocessed" option to automodapi

a2de2bc5147ec45d52ed8709b0202de559d8632e authored about 11 years ago
fix for warning that says "automodapi" when it should be "automodsumm"

c4a06595a0bc261142d8e3d502851457c7f26ee6 authored about 11 years ago
Whitespace

4538c392ad4d1b4bf41237d0c90ddb608b0cc57f authored about 11 years ago
Merge pull request astropy/astropy#1847 from Cadair/master

Add no-heading option to the automodapi sphinx ext

4d454e4ba432f0dc73c7a176a37b2bb1ea6bd4f7 authored about 11 years ago
couple of docstring typos

6e372af6753d52a2afac1f924fa8dfad48428eaf authored about 11 years ago
Add no-heading option to the automodapi sphinx ext

This add the option to not have the auotmodapi extension add a top
level title, i.e `astropy.ndd...

402fa4ec1b18e59de75891a01ff0835d42b7252c authored about 11 years ago
Merge pull request astropy/astropy#1445 from embray/imports

Clean up superflous imports and unnecessary inline imports

b4c922790ac452fe5da39df3a17435610847559e authored about 11 years ago
Phase 2: This moves inline imports of any standard library modules that are guaranteed to be imported during 'import astropy' regardless, and don't in general make sense to have as inline imports. Numpy is included in this as well, though there are a few places where Numpy shouldn't be imported (such as in modules that might be imported at setup-time when Numpy might not be installed). There are few other exceptions too, but not many.

b387f2acbf35895e63b6941daef1075a2ed12843 authored about 11 years ago
First round of relocating inline imports; this specifically focuses on modules that are already imported, in general, when you first start the Python interpreter. So in most cases there's not much point in burying them in function calls because those modules are guaranteed to always be imported to begin with.

f8b9b8139a9cbf209e56a032886cd8066c74787d authored about 11 years ago
Merge pull request astropy/astropy#1630 from eteq/fix-doc-references-path

Make automodsumm references support multi-directory toctree paths

61e1256b0c6e68682d8204bdc471bcb12431bb60 authored over 11 years ago
Make automodsumm references support multi-directory toctree paths

a65ee1b06e2d5f3532187cf5dbc028feff24aca2 authored over 11 years ago
Merge pull request astropy/astropy#1608 from cdeil/sphinx_api_url

Change docs `_generated` folder name to `api`

e00738c55b906ae7e8145365a0a1e0dd1b138afa authored over 11 years ago
Change docs `_generated` folder name to `api`

7342467363e3525bda7c5a78290c4abf11663acb authored over 11 years ago
Merge pull request astropy/astropy#746 from iguananaut/fix-doctests

Test doctests

6c7c740b8ef7c20b98c573eed6c47ab177982513 authored over 11 years ago
Fixed some annoying path separator issues in the automodapi tests so that they work on Windows.

05b4ab64d1a19cfffb3b73bd9c0a5520cad2ce8e authored over 11 years ago
Merge pull request astropy/astropy#1088 from eteq/issue-983

Fix automodapi :skip: directive

abb2fce6c0d91a3d826ea19573d39fa60c5d23e3 authored over 11 years ago
Fix the :skip: option of automodapi to not generate skipped function/class docs

Closes #983

45daea3bea3924cd8e9b3f8e135b517b1666c408 authored over 11 years ago
Documentation tweaks in automodapi

b060c2e163984302a6a14469e4c16ca5dc1e078f authored over 11 years ago
Merge pull request astropy/astropy#922 from eteq/add-sphinx-ext-docs

Clean up dev doc organization, especially sphinx extensions

ed2cd501caf20d39e09ce5d0e0ee303e952086de authored almost 12 years ago
automodsumm doc tweaks

066d825beb46d240f49cf1a15673355954abf71d authored almost 12 years ago
Merge pull request astropy/astropy#831 from eteq/fix-automodsumm-warning

automodsumm: created self.warnings at start of run

1c58afd236e91eef1fb0e42a3e3ad07fd39166f8 authored almost 12 years ago
created self.warnings outside except block

2021b644c61dd3f13ba52b4b2f79d84ae77eaf55 authored almost 12 years ago
Sort the methods and attributes of classes in the class summary, otherwise, they appear in arbitrary dictionary ordering which isn't very useful.

e6824b8185041f9b1a145cb09fb48c1f8a2e0f79 authored almost 12 years ago
Merge pull request astropy/astropy#457 from jiffyclub/fix-pytest-imports

Correct pytest imports from "import pytest" to "from ...tests.helper import pytest"

a2519d949d8dc9b06dbe8e5136fb0e506ff42c73 authored about 12 years ago
Fixed instances of 'from pytest import something'. For the most part this meant doing 'from ...tests.helper import pytest' and then changing 'something' to 'pytest.something'.

d074e537adddb58c54316c82d1ed2e7f3eff1321 authored about 12 years ago
Merge pull request astropy/astropy#393 from astrofrog/automodsumm-top-level-package-fix

Fix in automodsumm for cases where the top-level package is documented

74ea984a567c911159efe0a855b3b566a7a5ab89 authored over 12 years ago
Fix in automodsumm for cases where the top-level package is documented

789d4dcb4caad22458746c655c74b12b98827a6f authored over 12 years ago
Merge pull request astropy/astropy#304 from astrofrog/docs/core-templates

Autosummary templates added to astropy core

61de230aee985bbdf5c319d4b663cd72fafae9d4 authored over 12 years ago
Moved autosummary templates inside core package, and use inheritance to use them in the docs (this is to allow affiliated packages to inherit the templates without duplicating content)

40df115fde4fe463c7a9a12e534d71f997c768ba authored over 12 years ago
Merge pull request astropy/astropy#331 from eteq/docs/dupl_obj_warning

adds skip option to automodapi to fix sphinx build warnings, remove subsections from automodapi

d178d29d8636e3508c711984fa5584551ae3f3a7 authored over 12 years ago
fixed no-inheritance-diagram to supress the diagram

165b65172c61eaf91bf1b04a9dfd57191090b8d6 authored over 12 years ago