Source

pygame / makeref.py

pygame 18b5fa9 

Lenard Lindstrom bb423f0 
pygame 18b5fa9 
Lenard Lindstrom bb423f0 

Lenard Lindstrom c777771 

Lenard Lindstrom 2b98dc6 


Lenard Lindstrom bb423f0 


pygame 18b5fa9 

Lenard Lindstrom bb423f0 






pygame 18b5fa9 

Lenard Lindstrom bb423f0 
#!/usr/bin/env python

import sphinx

import sys
import os


rst_dir = 'docs'
rst_source_dir = os.path.join(rst_dir, 'reST')
rst_build_dir = rst_dir
rst_doctree_dir = os.path.join(rst_build_dir, 'doctrees')
html_dir = 'docs'
c_header_dir = os.path.join('src', 'doc')

def Run():
    return sphinx.main([sys.argv[0],
                        '-b', 'html',
                        '-d', rst_doctree_dir,
                        '-D', 'headers_dest=%s' % (c_header_dir,),
                        '-D', 'headers_mkdir=0',
                        rst_source_dir,
                        html_dir,])

if __name__ == '__main__':
    sys.exit(Run())