Sha256: c03e028ee4f67523c9bba36dc666d4353d56f775a19a3f37f195b706ca6d9eca

Contents?: true

Size: 420 Bytes

Versions: 33

Compression:

Stored size: 420 Bytes

Contents

#!/usr/bin/env python
import os
import subprocess
import shutil

SPHINX_BUILD = 'sphinx-build'

DOCTREES_DIR = 'build/doctrees'
HTML_DIR = 'docs'
for dirname in DOCTREES_DIR, HTML_DIR:
    if not os.path.exists(dirname):
        os.makedirs(dirname)

open(os.path.join(HTML_DIR, '.nojekyll'), 'w').close()
res = subprocess.call([
    SPHINX_BUILD, '-d', DOCTREES_DIR, '-b', 'html', '.', 'docs',
])
raise SystemExit(res)

Version data entries

33 entries across 33 versions & 5 rubygems

Version Path
pygments.rb-1.2.1 vendor/simplejson/scripts/make_docs.py
pygments.rb-1.2.0 vendor/simplejson/scripts/make_docs.py
pygments.rb-1.1.2 vendor/simplejson/scripts/make_docs.py
pygments.rb-1.1.1 vendor/simplejson/scripts/make_docs.py
pygments.rb-1.1.0 vendor/simplejson/scripts/make_docs.py
pygments.rb-1.0.0 vendor/simplejson/scripts/make_docs.py
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/simplejson/scripts/make_docs.py
pygments.rb-0.6.3 vendor/simplejson/scripts/make_docs.py
pygments.rb-0.6.2 vendor/simplejson/scripts/make_docs.py
pygments.rb-0.6.1 vendor/simplejson/scripts/make_docs.py
pygments.rb-0.6.0 vendor/simplejson/scripts/make_docs.py
mortar-pygments.rb-0.5.7 vendor/simplejson/scripts/make_docs.py
mortar-pygments.rb-0.5.6 vendor/simplejson/scripts/make_docs.py
mortar-pygments.rb-0.5.5 vendor/simplejson/scripts/make_docs.py
pygments.rb-jruby-0.5.4.2 vendor/simplejson/scripts/make_docs.py
pygments.rb-jruby-0.5.4.1 vendor/simplejson/scripts/make_docs.py
pygments.rb-jruby-0.5.4 vendor/simplejson/scripts/make_docs.py
gitlab-pygments.rb-0.5.4 vendor/simplejson/scripts/make_docs.py
pygments.rb-0.5.4 vendor/simplejson/scripts/make_docs.py
pygments.rb-0.5.2 vendor/simplejson/scripts/make_docs.py