Commit Graph

196 Commits

Author SHA1 Message Date
Eric Holscher
30e4847898 Add basic tests & small output changes for auto-adding TOCTree 2015-07-07 15:43:12 -07:00
Eric Holscher
ba1a09a8d1 Add ability to auto-inject AutoAPI into TocTree 2015-07-07 15:30:16 -07:00
Eric Holscher
1eb7f4c6fa Merge branch 'master' of github.com:rtfd/sphinx-autoapi 2015-07-06 16:17:29 -07:00
Eric Holscher
9163a0088a Catch TypeError in JS mapper. 2015-06-22 23:25:25 -04:00
Eric Holscher
19c79222a9 Refactor integration tests to use fixture data.
This removes dependence on real tooling.
The main downside is that it’s fragile to output changes in the tooling.
Not a lot we can do though,
other than have real integration tests, also.
2015-06-22 23:24:59 -04:00
Eric Holscher
63a7c499fc Resort imports 2015-06-21 23:05:03 -04:00
Eric Holscher
51fe162fb0 Cleanup to address review 2015-06-21 23:03:45 -04:00
Eric Holscher
4e9f1c02ea More small dotnet cleanup 2015-06-21 22:58:29 -04:00
Eric Holscher
463816673d Small dotnet updates 2015-06-21 22:03:14 -04:00
Eric Holscher
8770a04bf8 Update dotnet codebase for new tooling 2015-06-14 16:14:16 -04:00
Eric Holscher
5d861d13d8 Clean up handling of python args/params. 2015-06-10 14:37:17 -07:00
Eric Holscher
685665535f Rename files 2015-06-10 14:23:58 -07:00
Eric Holscher
f60b7d8880 Add ability to configure options of display of objects. 2015-06-10 13:58:52 -07:00
Eric Holscher
bdae9f083c Add ability to hide undocumented methods, etc. 2015-06-10 13:33:42 -07:00
Eric Holscher
732942828f Use ordered dicts for mapping. 2015-06-10 13:33:28 -07:00
Eric Holscher
1cde5590eb Clean up how we render templates.
* Add top_level_object as global concept.
* Fix toctree generation
* Add passing of options to rendering
2015-06-10 13:13:34 -07:00
Eric Holscher
4f6474440d Add some docstrings 2015-06-10 13:12:18 -07:00
Eric Holscher
057100b1ee Rename base objects to be more descriptive. 2015-06-10 11:53:09 -07:00
Eric Holscher
59add63ae4 Refactor DotNet Domain, and clean up tests. 2015-06-10 11:48:15 -07:00
Eric Holscher
0c1bcece23 Small domain cleanup 2015-06-10 11:47:50 -07:00
Eric Holscher
d0cb6ae6e0 Clean up AutoAPI output and naming 2015-06-10 11:35:54 -07:00
Eric Holscher
d424993e8c Safer file writing 2015-06-10 11:35:30 -07:00
Eric Holscher
6c204dc570 Update go Domain and add basic Go test 2015-06-10 11:04:19 -07:00
Eric Holscher
a94e3d8c60 Clean up warnings and move jinja_env onto base 2015-06-10 11:01:06 -07:00
Eric Holscher
c02cd9d32e Add testing for template overrides. 2015-06-10 10:33:18 -07:00
Eric Holscher
5ca2ee76a5 Refactor into nicer top-level interface to the Domains.
Languages refactored:

* Python
* JS
2015-06-06 16:11:49 -07:00
Eric Holscher
1d3bd2012e Refactor some settings and jinja env. 2015-06-06 13:44:01 -07:00
Eric Holscher
9bc6072283 Add initial javascript support with jsdoc 3. 2015-06-06 13:08:44 -07:00
Eric Holscher
df6e952a51 Fix python calls to create_class 2015-06-01 14:14:21 -07:00
Eric Holscher
c3239118b0 Move base into domains directory. 2015-06-01 14:14:15 -07:00
Eric Holscher
426c3db619 Kill unused utils file. 2015-06-01 14:13:54 -07:00
Anthony Johnson
3e5eaf2180 Merge branch 'go-support' 2015-06-01 11:38:02 -07:00
Anthony Johnson
966cce1051 Default autoapi to python instead of dotnet 2015-06-01 11:29:19 -07:00
Anthony Johnson
481bd777cb Fix spacing on parameter output and code blocks 2015-06-01 11:26:19 -07:00
Eric Holscher
b56f2dc1d8 Merge remote-tracking branch 'origin/go-parsed-example' 2015-06-01 11:24:03 -07:00
Anthony Johnson
c2fd90fd21 Fix handling of create_class as a generator 2015-06-01 11:20:54 -07:00
Anthony Johnson
ff8292af6f Clean up print statement 2015-05-31 14:41:16 -07:00
Anthony Johnson
c270b9de14 Move parameter name list up to signature 2015-05-31 14:38:17 -07:00
Anthony Johnson
f0772d1a57 Support inverted go const and var objects
Changes class creation to a generator and invert list of const/var names to
multiple objects.
2015-05-30 22:03:19 -07:00
Anthony Johnson
181c7ea2a4 Add child display 2015-05-30 18:42:06 -07:00
Anthony Johnson
808c1a090f Add parameters to output 2015-05-30 18:32:43 -07:00
Anthony Johnson
8819b46a2f Clean up cruft and handle a few failures better 2015-05-30 16:28:59 -07:00
Anthony Johnson
3653636673 Revert "Fix package output for now."
With better formatting of domain output, separation by heading is redundant.
Also, secondary header for page title might not be necessary with correct domain
output of package objects.
2015-05-29 20:09:36 -07:00
Eric Holscher
f133c7d603 Fix package output for now. 2015-05-29 16:02:56 -07:00
Eric Holscher
18533426c3 Add title to package 2015-05-29 15:54:50 -07:00
Eric Holscher
cdd8d244de Fix up templates 2015-05-29 15:48:58 -07:00
Eric Holscher
a4a68d9213 Fix up go stuff 2015-05-29 15:34:51 -07:00
Eric Holscher
9bdd44d8cd Add a basic go domain. 2015-05-29 15:22:06 -07:00
Anthony Johnson
af539d8868 Untested first pass of templates 2015-05-29 15:02:27 -07:00
Christopher Swenson
0ccde8454a Fix double autoapi_dir prepended to find_files 2015-05-29 14:34:05 -07:00
Anthony Johnson
9612dae694 Add better reference and obj id handling for generics 2015-04-24 18:32:16 -07:00
Anthony Johnson
a3cea299dc Adding indentation on .net detail template, hidden types 2015-04-24 15:04:10 -07:00
Eric Holscher
a05a85507a Add GitHub section 2015-04-24 13:16:15 -07:00
Eric Holscher
6410bee011 Fix hierarchy, and include object itself in it. 2015-04-24 12:46:47 -07:00
Eric Holscher
c79a0f3cee Clean up namespaces and display 2015-04-24 12:37:00 -07:00
Eric Holscher
4e532d8a94 New namespace parsing 2015-04-24 10:35:05 -07:00
Eric Holscher
a4b116b527 Move to top-level TOC for now. 2015-04-24 10:10:51 -07:00
Eric Holscher
cc8e5d6ee5 Show local TOC 2015-04-24 10:10:36 -07:00
Eric Holscher
677df52c46 Show toc for now 2015-04-23 15:57:17 -07:00
Eric Holscher
0404c4723d Reindent 2015-04-23 15:52:38 -07:00
Eric Holscher
d1dc81b8ba Clean up python templates 2015-04-23 15:37:02 -07:00
Eric Holscher
aa62ad9af7 Sizable refactor of the autoapi tooling.
Standard template context and rendering. Also refactor YAML loading for new YAML formats.
2015-04-23 13:31:03 -07:00
Eric Holscher
f178316671 Add real docs 2015-04-22 15:46:40 -07:00
Eric Holscher
d21b62937b Clean up the python code more. 2015-04-22 10:12:05 -07:00
Eric Holscher
adf2f0c38c Skip toc’s explicitly 2015-04-22 10:11:56 -07:00
Eric Holscher
09097cf364 Fix Python support 2015-04-20 22:54:32 -07:00
Eric Holscher
56ceab81e5 Make namespaces sort by type 2015-04-17 14:16:59 -07:00
Eric Holscher
6a6c77d6ec Add toc to detail pages 2015-04-17 14:16:46 -07:00
Eric Holscher
927179d1af Fix unicode and data errors. 2015-04-17 14:16:24 -07:00
Eric Holscher
0a457d1016 Move find_files to the base class, and recurse. 2015-04-17 14:16:12 -07:00
Anthony Johnson
21fbea84dc Simple fix for duplicate children 2015-04-16 15:46:54 -07:00
Eric Holscher
aa59338a51 Add Max Depth 2015-04-16 14:29:38 -07:00
Eric Holscher
15f1ebfa8a Clean up namespace listing 2015-04-16 11:39:32 -07:00
Anthony Johnson
d2e85cd8bb return -> return type 2015-04-15 00:22:37 -07:00
Anthony Johnson
89bdf1c0e2 Add return type in parameter list 2015-04-15 00:10:50 -07:00
Anthony Johnson
80b101dc5e Add basic inheritance, only supports class instances so far 2015-04-14 23:35:36 -07:00
Anthony Johnson
d2e41f99e0 Drop unused sort method 2015-04-14 23:07:12 -07:00
Anthony Johnson
655aff0245 Cleaning up detail page formatting and order 2015-04-14 19:55:46 -07:00
Anthony Johnson
6aa8ced49f Add dl based listing of namespace objects with truncated names
This replaces a table that was constraining text area
2015-04-14 18:37:19 -07:00
Anthony Johnson
e7be3b1804 Sorting on list and detail pages, plus type and ref type fixes to classes 2015-04-14 18:05:15 -07:00
Anthony Johnson
5a5ae1cf15 Move names to properties in code and templates, add tests 2015-04-14 16:54:43 -07:00
Anthony Johnson
c4c16d6bf4 Push template type call to class variable 2015-04-14 16:24:57 -07:00
Anthony Johnson
4b13bebc8e Large refactor. Cleans up, adds tests, intermediate namespaces
Indexes are still broken due to past changes, but intermediate namespaces are
now linkable.
2015-04-14 15:59:09 -07:00
Anthony Johnson
6eae5e4eab Indexing isn't working, temporary fix 2015-04-13 19:11:13 -07:00
Anthony Johnson
3f454b3d66 Make context output behavior overridable 2015-04-13 19:10:33 -07:00
Anthony Johnson
11cc2b29b9 Add param list output 2015-04-13 19:10:19 -07:00
Eric Holscher
8010a6463f Have nicer URL's 2015-04-10 00:37:25 -05:00
Eric Holscher
a4a1a8604f Add virtual namespaces and abstract templates into extended bases 2015-04-10 00:37:25 -05:00
Eric Holscher
15f82b4eaf Clean up rendering and complete types and refs 2015-04-08 15:56:05 -07:00
Eric Holscher
84cce0ee59 Render namespaces as a table 2015-04-08 13:21:30 -07:00
Eric Holscher
1cdc6c004c Fill out full type information for dotnet 2015-04-07 23:42:06 -07:00
Eric Holscher
0d88911a53 Use proper namespace fanciness 2015-04-07 23:08:53 -07:00
Eric Holscher
9aebd2500c Refactor autoapi bits 2015-04-07 22:54:53 -07:00
Eric Holscher
a357a2ce13 Update templates 2015-04-07 13:35:50 -07:00
Eric Holscher
8b177e5a9e Updates for python stuff 2015-03-31 17:01:41 -07:00
Eric Holscher
c7bef8e11b Initial commit 2015-03-27 12:50:56 -07:00