GithubHelp home page GithubHelp logo

alibaba / ansible-provider-docs Goto Github PK

View Code? Open in Web Editor NEW
37.0 8.0 43.0 15.3 MB

Python 96.40% PowerShell 3.09% Shell 0.37% Makefile 0.03% Tcl 0.01% Go 0.01% Roff 0.01% JavaScript 0.01% C# 0.01% Batchfile 0.01% HTML 0.01% DIGITAL Command Language 0.01% Dockerfile 0.08%

ansible-provider-docs's Introduction

Aliyun Ansible Modules Documentation

This project contains the source code of Module Documentation for Aliyun Ansible. Follow below instructions to generate documentation from DOCUMENTATION string in the modules.

Pre-Requisites (Ubuntu OS)

  • make utility

    Make utility is required to generate html docs. Install make utility by running below command on Ubuntu.
sudo apt-get -y install make 
  • python version 2.7.X

    Run below command to install python.
sudo apt-get -y install python2.7

Check python installation by running below command.

python --version
  • Install pip

    Run below command to install pip and other packages.
sudo apt-get -y install python-pip python-dev dos2unix
  • Install sphinx and theme:
pip install sphinx==1.4.8 sphinx_rtd_theme

Build the documentation

To build module documentation you'll need to run below command in ansible-provider-docs/docs/docsite folder.

cd docs/docsite
make webdocs 

The generated html files are in _build/html/ folder

ansible-provider-docs's People

Contributors

lixue323 avatar shrutikamendhe avatar xiaozhu36 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-provider-docs's Issues

Exception occured building docs

I have installed all the dependencies according to the documentation and run make webdocs in the appropriate directory however I get this error...

Exception occurred:
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/util/parallel.py", line 97, in _join_one
    exc, result = pipe.recv()
EOFError
The full traceback has been saved in /tmp/sphinx-err-1Rwvgc.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

The contents of /tmp/sphinx-err-1Rwvgc.log are as follows...

# Sphinx version: 1.4.8
# Python version: 2.7.16 (CPython)
# Docutils version: 0.15.2 release
# Jinja2 version: 2.10.1
# Last messages:
#   reading sources... [ 78%] modules/vyos_system_module .. modules/win_pagefile_module
#   reading sources... [ 81%] modules/win_path_module .. modules/zfs_facts_module
#   reading sources... [ 84%] modules/zfs_module .. plugins/callback/osx_say
#   reading sources... [ 87%] plugins/callback/profile_roles .. plugins/inventory/yaml
#   reading sources... [ 90%] plugins/lookup .. plugins/lookup/vars
#   reading sources... [ 93%] plugins/plugins .. user_guide/command_line_tools
#   reading sources... [ 96%] user_guide/index .. user_guide/windows_winrm
#   reading sources... [100%] vmware/faq .. vmware/vmware_troubleshooting
#   
#   waiting for workers...
# Loaded extensions:
#   alabaster (0.7.12) from /home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/alabaster/__init__.pyc
#   sphinx.ext.autodoc (1.4.8) from /home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/ext/autodoc.pyc
#   sphinx.ext.intersphinx (1.4.8) from /home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/ext/intersphinx.pyc
Traceback (most recent call last):
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 244, in main
    app.build(opts.force_all, filenames)
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/application.py", line 297, in build
    self.builder.build_update()
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 251, in build_update
    'out of date' % len(to_build))
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 265, in build
    self.doctreedir, self.app))
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/environment.py", line 567, in update
    self._read_parallel(docnames, app, nproc=app.parallel)
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/environment.py", line 625, in _read_parallel
    tasks.join()
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/util/parallel.py", line 92, in join
    self._join_one()
  File "/home/byron/tmp/ansible-provider-docs/venv/local/lib/python2.7/site-packages/sphinx/util/parallel.py", line 97, in _join_one
    exc, result = pipe.recv()
EOFError

Request for Documentation: docker module

Hello. I am using ansible to manage a lot of docker images and containers on my servers. I make extensive use of the docker_image and docker_container modules. However when it comes to running docker commands (e.g. docker run x), I have resorted to using the shell module.
I see that there is a docker module here but I don't see how to use it. The documentation is very small, and there are no examples. I don't know python or I would try to read the source code.
It would be very helpful if this module included more documentation and some examples. Thank you.

https://github.com/alibaba/ansible-provider-docs/blob/master/lib/ansible/plugins/connection/docker.py
https://docs.ansible.com/ansible/latest/plugins/connection/docker.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.