Django administration interface for Project and related models.
Default values and other various configuration for projects, including available theme names and repository types.
EmailHook(id, project_id, email)
ImportedFile(id, project_id, version_id, name, slug, path, md5)
Project(id, pub_date, modified_date, name, slug, description, repo, repo_type, project_url, version, copyright, theme, suffix, default_version, default_branch, requirements_file, documentation_type, analytics_code, path, conf_py_file, featured, skip, use_virtualenv, python_interpreter, use_system_packages, django_packages_url, crate_url, privacy_level, version_privacy_level)
A temporary workaround for active_versions filtering out things that were active, but failed to build
A balla API to find files inside of a projects dir.
The path to the build html docs in the project.
The path to the documentation root in the project.
The path to the build latex docs in the project.
A balla API to find files inside of a projects dir.
The path to the build latex docs in the project.
The path to the build latex docs in the project.
Get the version representing “latest”
Get the default version (slug).
Returns self.default_version if the version with that slug actually exists (is built and published). Otherwise returns ‘latest’.
Return a url for the docs. Always use http for now, to avoid content warnings.
The path to the build html docs in the project.
The path to the build html docs in the project.
ProjectRelationship(id, parent_id, child_id)
WebHook(id, project_id, url)
Tasks related to projects, including fetching repository code, cleaning conf.py files, and rebuilding documentation.
A high-level interface that will update all of the projects.
This is mainly used from a cronjob or management command.
Utility functions used by projects.
Find matching filenames in the current directory and its subdirectories, and return a list of matching filenames.
Run one or more commands, and return (status, out, err). If more than one command is given, then this is equivalent to chaining them together with &&; if all commands succeed, then (status, out, err) will represent the last successful command. If one command failed, then (status, out, err) will represent the failed command.
Write contents to the given filename. If the filename’s directory does not exist, it is created. Contents are written as UTF-8, ignoring any characters that cannot be encoded as UTF-8.
A detail view for a project with various dataz
A detail view for a project with various dataz
The list of projects, which will optionally filter by user or tag, in which case a ‘person’ or ‘tag’ will be added to the context
our ghetto site search. see roadmap.
return a json list of project names
List of all tags by most common
return a json list of version names
Export a projects’ docs as a .zip file, including the .rst source
A dashboard! If you aint know what that means you aint need to. Essentially we show you an overview of your content.
Make a project as deleted on POST, otherwise show a form asking for confirmation of delete.
Edit an existing project - depending on what type of project is being edited (created or imported) a different form will be displayed
Import docs from an repo
The management view for a project, where you will have links to edit the projects’ configuration, edit the files associated with that project, etc.
Now redirects to the normal /projects/<slug> view.
Shows the available versions and lets the user choose which ones he would like to have built.