module helpgen.install_custom

Short summary

module pyquickhelper.helpgen.install_custom

Various function to install some application such as pandoc.

source on GitHub

Functions

function

truncated documentation

download_requirejs

Downloads require.js release.

download_revealjs

Downloads reveal.js release and unzips it.

Documentation

Various function to install some application such as pandoc.

source on GitHub

pyquickhelper.helpgen.install_custom.download_requirejs(to='.', fLOG=<built-in function print>, location='http://requirejs.org/docs/download.html', clean=True)[source]

Downloads require.js release.

Parameters:
  • to – where to unzip the files

  • fLOG – logging function

  • location – location of require.js release

  • clean – clean unnecessary files

Returns:

list of downloaded and unzipped files

require.js can be locally obtained if notebook is installed.

source on GitHub

pyquickhelper.helpgen.install_custom.download_revealjs(temp_folder='.', unzip_to='.', fLOG=<built-in function print>, location='https://github.com/hakimel/reveal.js/releases', clean=True)[source]

Downloads reveal.js release and unzips it.

Parameters:
  • temp_folder – where to download the setup

  • unzip_to – where to unzip the files

  • fLOG – logging function

  • location – location of reveal.js release

  • clean – clean unnecessary files

Returns:

list of downloaded and unzipped files

source on GitHub