Commit Graph

246 Commits (bc1e1d2cdc16ee252fa1dc906900fa8696ea33ff)

Author SHA1 Message Date
Lukáš Lalinský 95d102f5e4 Remove obsolete module development docs
12 years ago
willthames e2d04f7e96 Allow hacking/env-setup module path to use config file library path
12 years ago
Matt Martz dbed05caec Support for -a to accept a file with test-module
12 years ago
jctanner 7fa0d8bdd3 Merge pull request #5461 from sivel/test-module-interpreter
12 years ago
Michael DeHaan 3b8fd62ff9 More site rename things.
12 years ago
Michael DeHaan c4a8a6d3c2 Add an "all" category so all modules show up uncategorized there.
12 years ago
Michael DeHaan 2f811c40d7 Basic docsite formatting fixups
12 years ago
Matt Martz e50c2bccb8 Add -I/--interpreter argument to test-module
12 years ago
Mikhail Sobolev 84948292f3 include short_description in the module page's title
12 years ago
Michael DeHaan 83d298accc Add note about how to submit doc changes to generated module docs, limit TOC depth for module category list.
12 years ago
Mikhail Sobolev fce90e0370 use rst formatting for sphinx part
12 years ago
Mikhail Sobolev 1713013dba provide sections and local TOC for module documentation
12 years ago
Mikhail Sobolev 7965d331f3 do not produce too deep toc for category lists
12 years ago
Mikhail Sobolev af1f8db51d remove trailing whitespaces
12 years ago
Michael DeHaan a5e8e10bb0 Removed unused things.
12 years ago
Michael DeHaan f4aa6c53bd Format module requirements as notes in Sphinx
12 years ago
Michael DeHaan eb0509fce7 Update the styling for the module pages slightly.
12 years ago
Michael DeHaan 35ec9f81ae Further modifications to the module formatter to adjust to the new theme, and some misc docs text corrections.
12 years ago
Michael DeHaan fe2d00d9d3 WIP on refactoring the module formatter code that we use to build the doc site with.
12 years ago
Michael DeHaan 31d0060de8 Standardized on yml suffix, so fix this example content filename.
12 years ago
Michael DeHaan 10009b0d3f Starting to refactor module formatter script.
12 years ago
Jens Rantil 2096c669d9 `env-setup` fix for zsh <= 4.3.10
13 years ago
Michael DeHaan 40429ee64e Code to limit display of version_added attributions in modules for modules that are too old to call out this information.
13 years ago
Michael DeHaan 51e6f411f2 Docs: Fix the module formatter code that is intended to remove the 'historical' variable from showing up in version_added information (RST)
13 years ago
phy1729 2b3381de7c Add zsh support for working dir independant sourcing
13 years ago
Michael DeHaan f7c3975f21 Add version_added to all modules missing version_added information, the docs formatter will now
13 years ago
jctanner b6c1574f5c Merge pull request #4765 from mvo5/bugfix/fix-man-template
13 years ago
Michael Vogt b8e641136a make comment lines in troff start with .\" and add a .SH EXAMPLES to the PLAINEXAMPLES section
13 years ago
Michael DeHaan d34a26e307 Undo an inadvertant revert from template changes so we still allow pythonic imports in module land.
13 years ago
Alan Fairless af40b19a2d Fix format string typo
13 years ago
James Tanner d154bf8781 Revert templating enhancements from 73dbab70 e6c28658 d409352c 9858b1f2 4587528b 9b1fe455 214b0b05 8d3db803 7f9504d1 5031104c 35cb9dc2 2bd8cb57 1e85c754
13 years ago
Michael DeHaan 9858b1f2f3 Enable imports to work on a snippet based system, allowing for instance a library of common EC2 functions
13 years ago
Jharrod LaFon 996f87d898 Fixed usage comment to fish syntax for sourcing a file
13 years ago
Jharrod LaFon d0fe447fd1 Fixed incorrectly set PYTHONPATH
13 years ago
Jharrod LaFon dbfcd78790 Added an env-setup file for Fish
13 years ago
Michael DeHaan 5f18a53530 Fixup docs formatting.
13 years ago
Michael DeHaan 303a8ff563 Fix module path in readme file.
13 years ago
Michael DeHaan fa9635478b Fixing your YAML Seth :)
13 years ago
Michael DeHaan 955611bda8 Fixes #3294
13 years ago
Michael DeHaan 8b592c9d4b Add some whitespace to script
13 years ago
martin f. krafft 3839dcd56c Remove extra $ character
13 years ago
martin f. krafft bbbc214ffb Remove bashisms, replace with POSIX constructs
13 years ago
martin f. krafft 9f4988dbfd Quote variables in shell script
13 years ago
martin f. krafft 4b9f8fc294 Replace external command with shell construct
13 years ago
martin f. krafft 013cd38929 Remove shebang line
13 years ago
Michael DeHaan 3f8aa8aec5 Fix up some module docs formatting errors.
13 years ago
Michael DeHaan b72109a04b Merge pull request #3273 from jlund/ansiblecc-to-ansibleworkscom
13 years ago
Michael DeHaan 4553b3d0cf Merge branch 'generalise-hacking-dir-path-discovery' of git://github.com/madduck/ansible into envsetup2
13 years ago
Joshua Lund 0f81d1630f * Updated all ansible.cc references in the documentation to point
13 years ago
Michael DeHaan af9b510769 Merge pull request #3220 from dsedivec/devel
13 years ago
trbs a4223e119d fixed x-bits in git
13 years ago
Dale Sedivec 7681b1ce68 Improve Markdown (and other) module doc output
13 years ago
martin f. krafft 3b008d6fa6 Expand usage synopsis
13 years ago
martin f. krafft 581dea70d1 Generalise determination of hacking directory path
13 years ago
Michael DeHaan 88102df07c Show 'yes' and 'no' in choices on docs page.
13 years ago
Nicolas Grilly 75ceb80572 Escape args injected in new style modules
13 years ago
Michael DeHaan 9ca0289dee Fixup the module formatter to explain the EXAMPLES string as well.
13 years ago
Jan-Piet Mens eeb80c695f Add Requirements to rst template, ansible-doc
13 years ago
Michael DeHaan ce67588dcf Fix module doc organization
13 years ago
Michael DeHaan 627b6a0455 Have 1.2 clear in docs
13 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation.
13 years ago
Michael DeHaan af2fb56a10 Changes to allow WANT_JSON to allow JSON to non-Python modules
13 years ago
Michael DeHaan bac3449db7 Restructure hacking readme.
13 years ago
Michael DeHaan e2d9e1b5c2 Convert 'hacking' instructions to markdown, add more info.
13 years ago
Michael DeHaan 148d8859ba Docs on parameterized roles, make document generation output less noisy
13 years ago
Marco Vito Moscaritolo a53259a797 Fixed option validation error
13 years ago
Michael DeHaan b066e9c15c Remove authors file from version control (can still be built from 'make authors')
13 years ago
Cristian Ciupitu 29aaa5e693 module_formatter.return_data: use UTF-8 encoding
13 years ago
Sam Kottler 86d420f481 Use verbose 'source' to make the document easier to read
13 years ago
Michael DeHaan 03db6ef24a Slightly more self-explanatory output for ./hacking/env-setup
13 years ago
Michael DeHaan fa550f3d7e Adding a script to auto-generate an authors file, runnable from 'make authors', which is called from 'make docs/webdocs'.
13 years ago
Michael DeHaan e51707711c Merge pull request #2120 from jpmens/doc_ex1
13 years ago
Yves Dorfsman dfdc5bda4b Prevents PATH, PYTHONPATH etc... to be re-added.
13 years ago
Jan-Piet Mens 396a07bcc7 Add support for additional EXAMPLES string in Ansible modules
13 years ago
Michael DeHaan b3eb1f32e3 update hacking/test_module script to be aware of complex arguments, though it does not pass them.
13 years ago
Michael DeHaan 0ae7f996f5 Make sure all the lookup plugins are documented.
13 years ago
Les Aker ee274b5816 fixed shebang in hacking test-module
13 years ago
junyoung a2aacaaec8 whitespaces in FULL_PATH cause an error to get ANSIBLE_PATH
13 years ago
Daniel Hokka Zakrisson a117944d0f Make env-setup work on Python 3
13 years ago
Blair Zajac ec5f6ae246 hacking/env-setup: remove unused sys import.
13 years ago
Dag Wieers 66fb7fd9de Make use of yes/no booleans in playbooks
14 years ago
Jan-Piet Mens f9755ca36d mail module: add MIME attachments, port and addresses with phrases
14 years ago
Stephen Fromm 6a68d3813f Set LANG in module_common.py
14 years ago
Michael DeHaan dd5a8474f8 Have module formatter ignore more types of files.
14 years ago
Jan-Piet Mens 068ef0e979 module_formatter: re-instate code
14 years ago
Jan-Piet Mens caf003c813 DOCUMENTATION strings
14 years ago
Stephen Fromm 06e54c0b97 Add ability to specify syslog facility for modules
14 years ago
Jan-Piet Mens e32f4a0564 Move get_docstring from module_formatter into ansible/utils
14 years ago
Michael DeHaan 6a5df97393 Manpage documentation ALSO should be sorted
14 years ago
Michael DeHaan 626203a7c9 Module documentation should have options sorted
14 years ago
Jan-Piet Mens afa467e975 DOCUMENTATION: LaTeX template is back
14 years ago
Michael DeHaan 4104478abd Added 'script', a module that can push and insantly run a remote script. Replaces the need to copy+command.
14 years ago
Michael DeHaan 896be48ac9 Merge pull request #1367 from jpmens/mdtempl
14 years ago
Jan-Piet Mens 575459465e module_formatter: .rst now correctly handles code examples
14 years ago
Jan-Piet Mens d4f89122f4 Add support for Github-flavored Markdown to module_formatter
14 years ago
Stephen Fromm 60f06c36b3 Miscellaneous fixes to module_formatter.py
14 years ago
Dag Wieers 2786149bdc Moving now from getopt to optparse
14 years ago
Michael DeHaan 6d2f003ceb Update formatter to not include orange blocks all over docsite page
14 years ago
Michael DeHaan 110244d7b4 Merge branch 'remove-argparse' of git://github.com/dagwieers/ansible into devel
14 years ago
Marco Vito Moscaritolo ee679c0190 Unified document generator and make to generate JSON and JS files
14 years ago
Dag Wieers 2dcd0846ab Use getopt instead of argparse
14 years ago
Jan-Piet Mens ba22ca13ba man pages have wrong chapter number
14 years ago
Michael DeHaan c3f443f56c fix sorting
14 years ago
Michael DeHaan 761330b125 Fix module formatter indexing
14 years ago
Tim Bielawa 85fb7c6d4b Library functions and modules should be in the 3 man page section. Also the files should end in '.3'
14 years ago
Michael DeHaan ad5433b166 include version added info for individual fields
14 years ago
Michael DeHaan 31a4fe412f Complain when modules do not have documentation.
14 years ago
Jan-Piet Mens eb8a11237c module_formatter can output lists of files to process (.rst and .tex)
14 years ago
Jan-Piet Mens e4338d0ca3 module_formatter now also uses Jinja2 trim_blocks
14 years ago
Jan-Piet Mens f5e0fbf65b rst output template tweak for 'required'
14 years ago
Michael DeHaan b96da3e5b0 Merge pull request #1158 from jpmens/man01
14 years ago
Jan-Piet Mens 61ee632d23 documentation: man template: support empty options; add Version to Makefile
14 years ago
Jan-Piet Mens 80a9016636 module docs: fixed rst template
14 years ago
Michael DeHaan ce5dceab0e Merge pull request #1128 from mavimo/devel
14 years ago
Michael DeHaan 508e6ecf43 Merge pull request #1131 from jpmens/m-docs3
14 years ago
Jan-Piet Mens a040807fd0 Module DOCUMENTATION for template, wait_for, and yum
14 years ago
Marco Vito Moscaritolo 94de4db928 Add JSON output format to DOCUMENTS and EXAMPLES parser
14 years ago
Jan-Piet Mens e0fb264a89 Module DOCUMENTATION: assemble, authorized_key, command, copy
14 years ago
Jan-Piet Mens 62d038dca4 module_formatter fixes
14 years ago
Michael DeHaan 0c855a85bc fix module formatter output messages
14 years ago
Michael DeHaan 405c097c43 Various fixes for the module documentation auto-generator
14 years ago
Michael DeHaan 83f277cfe6 Various tweaking to get the module formatter to work for 'make docs' in the docs project. Likely the templates for other module formatting types will have to change
14 years ago
Jan-Piet Mens d47e15a1f2 module_formatter in hacking/
14 years ago
Michael DeHaan ce01c3f7e7 Allow unicode transfer by not base64 encoding. Also: faster
14 years ago
Will Thames 4d4d0b90c5 readlink -f does not work on OS X. Replaced with a python solution
14 years ago
willthames 6219fc4932 env-setup no longer needs to be run from the ansible directory, it can be run from anywhere
14 years ago
Michael DeHaan 738cea9c93 small tweaks to --help for hacking/test-module
14 years ago
Michael DeHaan fc96b88205 Teach the test-module script about the new way MODULE_ARGS works in new-style modules.
14 years ago
bradobro e8583833a7 test-module uses optparse with --debugger
14 years ago
bradobro ade0233d57 Refactoring test-module to be more like ansible.
14 years ago
Michael DeHaan d0f4358730 Port the copy module over to the new "common module" logic.
14 years ago
Michael DeHaan a94ec130d2 Common module code upgrades
14 years ago
Michael DeHaan 9006d4557d Added code to allow insertion of boilerplate into modules to make them able to share lots of code, the result
14 years ago
Michael DeHaan 867b2437cc consolidate output code in callbacks.py, from utils, remove extra functions
14 years ago
Peter Sankauskas f9a14cfec1 Adding a missing '~' to use the user's home directory instead of the root file system for the module arguments
14 years ago
Michael DeHaan 6341361a5b Clarify that stderr WILL crash your module. Can't redirect because if we do we lose tracebacks
14 years ago
Michael DeHaan 36e454c52f Because paramiko using a pty can't distinguish stderr and stdout, remove handling that
14 years ago
Michael DeHaan 533c2c6126 Make it possible to use facts from hosts in templates for other hosts.
14 years ago
Tim Bielawa e9e8417735 Update hacking with MANPATH. Correct hacking README details.
14 years ago
Michael DeHaan 82bd75c1e0 Update env-setup script to make it work better
14 years ago
Michael DeHaan be55145a1e Initial crack at the file module
14 years ago
Michael DeHaan a735dd2b17 Added the 'test-module' script, useful for testing modules without running them in Ansible.
14 years ago
Michael DeHaan 85e0de5bb2 Move print statements out of playbook.py and back into CLI so we can simplify playbook operations
14 years ago
Tim Bielawa c5f8bc9d79 Don't set ANSIBLE_HOSTS inside the env-setup script
14 years ago
Tim Bielawa f2c2786a14 Update constants.py to pull module path and the hosts file from the
14 years ago
Tim Bielawa 6343aa6214 Add environment updating script 'env-setup' to facilitate running ansible from a git checkout.
14 years ago