summaryrefslogtreecommitdiff
path: root/hacking/module_formatter.py
Commit message (Collapse)AuthorAgeFilesLines
* quick and dirty module doc updates (#18944)devel_dasmergeMatt Davis2016-12-071-19/+10
| | | clean up core/extras, plumb in basic metadata display
* add metadata to doc support (#18802)Matt Davis2016-12-071-1/+1
| | | | fix broken module docs change doc AST id extraction to use == instead of in
* fix docs on related to remove of core/extrasAdrian Likins2016-12-061-2/+4
|
* Move uses of to_bytes, to_text, to_native to use the module_utils version ↵Toshio Kuratomi2016-09-061-2/+3
| | | | | | | | (#17423) We couldn't copy to_unicode, to_bytes, to_str into module_utils because of licensing. So once created it we had two sets of functions that did the same things but had different implementations. To remedy that, this change removes the ansible.utils.unicode versions of those functions.
* Make 'required' optional in module docs (#15906)Matt Davis2016-05-181-2/+4
| | | Updated module dev docs, doc build, ansible-doc to match
* typo fixBrian Coca2016-05-051-1/+1
|
* enforce required 'required' in docsBrian Coca2016-05-051-0/+2
|
* Fixes to the documentation build (#15356)Toshio Kuratomi2016-04-111-80/+98
| | | | | | | | | | | | | | | | * Could only have one alias before. Subsequent aliases overrode the previous ones. Now multiple aliases work. * Fix BLACKLISTED_MODULES. Previously, modules were listed in the generated documentation despite being blacklisted * Deprecated modules form extras were showing the (E) tag and not the (D) tag. Reversed that now (Probably not necessary to also show the E tag). * Sort the deprecated modules alphabetically in the Category docs as well as the list of all modules * Optimization: Previously rendered the modules to rst twice once in all group and once in individual categories. Fixed to only render them once. * Add fireball to blacklist and remove async_status (as people need to use that).
* now check for description and listify if neededBrian Coca2016-02-081-6/+5
| | | | fixes #14371
* Handle utf-8 in module short descToshio Kuratomi2016-02-021-1/+2
|
* Make "make webdocs" compatible with Python 3Jeremy Audet2015-12-081-2/+2
| | | | | | The `webdocs` make target fails under Python 3. It fails due to a variety of syntax errors, such as the use of `except Foo, e` and `print 'foo'`. Fix #13463 by making code compatible with both Python 2 and 3.
* added a skip for the test dir in module reposBrian Coca2015-10-271-0/+4
|
* better error catching for doc buildBrian Coca2015-10-131-1/+5
|
* Replace .iteritems() with six.iteritems()Marius Gedminas2015-09-031-1/+2
| | | | | | | Replace .iteritems() with six.iteritems() everywhere except in module_utils (because there's no 'six' on the remote host). And except in lib/ansible/galaxy/data/metadata_template.j2, because I'm not sure six is available there.
* Change to python3 syntaxKevin Houdebert2015-08-311-6/+7
|
* removed debug stuffBrian Coca2015-07-281-2/+0
|
* better handling for weird doc corner cases (abscense of options, bad text ↵Brian Coca2015-07-281-8/+17
| | | | | | objects, etc) also updated extras to get some docfixes on the module side
* just remove version_added when to old, not the whole option!Brian Coca2015-07-201-1/+0
|
* minor doc reformattingBrian Coca2015-07-171-9/+20
| | | | | | | | | | now version_added < 1.3 does not get shown, up from 1.0 option's version_added is also now filterd against this threshold module version_added is more prominent exaples now uses pure rst instead of intermingled with html formatting aliases now shown in description for options bad version fields now throw warnings instead of exceptions ansible-doc errors now show traceback in very very verbose mode, for easier debugging
* docs will not mention versions older than 1.5Brian Coca2015-07-171-1/+1
|
* Merge branch 'v2_final' into devel_switch_v2James Cammarata2015-05-281-7/+8
|\ | | | | | | | | | | | | | | Conflicts: lib/ansible/inventory/__init__.py lib/ansible/modules/core lib/ansible/utils/__init__.py lib/ansible/utils/module_docs.py
| * Fixing up the hacking module_formatter code for v2Florian Apolloner2015-05-231-7/+8
| |
* | Make module formatting into links to the other module docsToshio Kuratomi2015-05-051-1/+1
|/
* added module returnval documentation to web docsBrian Coca2015-03-201-1/+4
|
* Added return values documentation to modulesBrian Coca2015-03-201-0/+1
|
* Merge pull request #9666 from follower/patch-8Brian Coca2015-02-261-1/+1
|\ | | | | Correct typo of "actively" (Attempt #2)
| * Correct typo of "actively" (Attempt #2)follower2014-11-291-1/+1
| |
* | now module_formatter handles new expanded return values from the module_docs ↵Brian Coca2015-02-191-1/+1
|/ | | | (still does not thing with new return value docs)
* Fix misspelled "necessarily"follower2014-11-291-1/+1
|
* fixed issue with subclasses across the repos clobbering each other, theyBrian Coca2014-11-041-1/+1
| | | | now merge
* added blank line before section to avoid sphinx warningsBrian Coca2014-11-041-1/+1
|
* Clarify module list footer.Michael DeHaan2014-11-041-2/+3
|
* subcategories are now Title case and _ gets changed to a spaceBrian Coca2014-11-041-1/+1
|
* now correctly flags and sorts subcategory modulesBrian Coca2014-11-031-7/+19
|
* now displays subcategories correctlyBrian Coca2014-11-031-29/+72
|
* now doc generation does not ignore subdirs of cloudBrian Coca2014-11-031-2/+4
|
* now correctly processes modules when in subdirs of cloudBrian Coca2014-11-011-3/+4
|
* corrected text/flagBrian Coca2014-10-311-1/+1
|
* Added note explaning the module taggingBrian Coca2014-10-311-0/+5
|
* Now adds flags for non core and deprecated modules in listingBrian Coca2014-10-311-28/+49
|
* now docs handle deprecated modules but still ignore aliasesBrian Coca2014-10-301-2/+10
|
* Created Deprecated module category that only appears when there isBrian Coca2014-10-301-6/+11
| | | | something to show
* module formatter skips modules with leading underscore to avoidBrian Coca2014-10-281-0/+3
| | | | | documenting them. Soon will be patched to recognize them as either deprecated or an alias
* Docsite formattingMichael DeHaan2014-09-261-2/+1
|
* Some various comments about the new repos, more to likely come.Michael DeHaan2014-09-261-0/+8
|
* Updating the module formatter to deal with the new repo structure.Michael DeHaan2014-09-261-6/+11
|
* Docsite things.Michael DeHaan2014-06-191-0/+6
|
* Micro-optimization: replace s.find(x)!=-1 with x in sCristian Ciupitu2014-03-161-1/+1
| | | | | timeit shows a speedup of ~3x on Python 2.7.5 x86_64. It also makes the code a bit shorter.
* Remove obsolete module development docsLukáš Lalinský2014-02-221-1/+1
|
* Add an "all" category so all modules show up uncategorized there.Michael DeHaan2014-01-021-1/+2
|