|
|
__init__(self,
sphinx=True,
sphinx_autogen=True,
coverage=True,
epydoc=True,
base_dir='.',
*args)
Initialize the instance |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
|
|
|
clean(self)
Clean the generated files by removing them
:note: Must respect the options the same way as done by the generate
method |
source code
|
|
|
|
|
|
|
set_base_dir(self,
base_dir)
Set the base directory to the given value
:return: self |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_make_sphinx_index(self)
Generate the index.rst file according to the modules and packages we
actually have |
source code
|
|
|
|
_make_coverage(self)
Generate a coverage report and make it available as download |
source code
|
|
|
|
_make_sphinx_autogen(self)
Instruct sphinx to generate the autogen rst files |
source code
|
|
|
|
|
|
|
_make_sphinx(self)
Generate the sphinx documentation |
source code
|
|
|
|
_make_epydoc(self)
Generate epydoc documentation |
source code
|
|
|
|
_apply_epydoc_config(cls)
Read package info configuration and apply it |
source code
|
|
|
|
remove_version_info(cls,
idstring,
basedir='.')
Remove the version info file if it exists |
source code
|
|
|
|
|
|
|
|
|
|
check_version(cls,
opid,
idstring,
basedir='.')
Checks whether the current version info matches with the stored version info
as retrieved from idstring. |
source code
|
|
|
|
|
|
|
root_dir(cls,
basedir='.')
Returns:
path which includes our package - if it would be in the sys.path,
we should be able to import it |
source code
|
|
|
|
makedoc(cls,
args)
Produce the actual docs using this type |
source code
|
|
|
|
_retrieve_project_info(cls,
base_dir='.')
Store the project information of the actual project in our class members
for later use
:note: must be called exactly once |
source code
|
|
|
|
forbidden_dirs = ['test', 'ext', 'doc', '.']
|
|
|
source_dir = Path('source')
|
|
|
source_dl_dir = Path('source/download')
|
|
|
build_dir = Path('build')
|
|
|
html_dir = Path('build/html')
|
|
|
downloads_dir = Path('build/html/_downloads')
|
|
|
epydoc_show_source = 'yes'
|
|
|
epydoc_modules = 'modules: unittest,../mrv'
|
|
|
epydoc_exclude = 'mrv.test,mrv.cmd.ipythonstartup'
|
|
|
package_name = 'mrv'
|
|
|
pinfo
Provide project related global information.
|
|
|
rootmodule
Initialize mrv system assisting development, debugging and
maintenance
|
|
|
epydoc_cfg = '[epydoc]\nname: mrv\nurl: https://github.com/Byr...
|