Skip to content

Commit

Permalink
Merge pull request #548 from nontas/visualize_docs
Browse files Browse the repository at this point in the history
Docs fixes for visualize, model, math and feature
  • Loading branch information
Patrick Snape committed Feb 5, 2015
2 parents cf643d3 + 657d28a commit b228660
Show file tree
Hide file tree
Showing 26 changed files with 631 additions and 507 deletions.
7 changes: 0 additions & 7 deletions docs/source/api/menpo/feature/double_igo.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/api/menpo/feature/imgfeature.rst

This file was deleted.

17 changes: 10 additions & 7 deletions docs/source/api/menpo/feature/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@
.. toctree::
:maxdepth: 1

lbp

Features
--------

.. toctree::
:maxdepth: 1

no_op
gradient
gaussian_filter
double_igo
sparse_hog
igo
es
lbp
hog
gradient
igo
imgfeature
daisy
ndfeature


Widget
Expand Down
7 changes: 0 additions & 7 deletions docs/source/api/menpo/feature/ndfeature.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/api/menpo/feature/sparse_hog.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/api/menpo/shape/mean_pointcloud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

mean_pointcloud
===============

.. autofunction:: mean_pointcloud
10 changes: 0 additions & 10 deletions docs/source/api/menpo/visualize/AlignmentViewer2d.rst

This file was deleted.

10 changes: 0 additions & 10 deletions docs/source/api/menpo/visualize/GraphPlotter.rst

This file was deleted.

15 changes: 3 additions & 12 deletions docs/source/api/menpo/visualize/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ Abstract Classes
MatplotlibRenderer


Viewers
-------

.. toctree::
:maxdepth: 1

AlignmentViewer2d
GraphPlotter


Widgets
-------

Expand All @@ -43,11 +33,12 @@ Widgets
save_matplotlib_figure


Text Utils
----------
Print Utilities
---------------

.. toctree::
:maxdepth: 1

print_dynamic
progress_bar_str
print_bytes
7 changes: 7 additions & 0 deletions docs/source/api/menpo/visualize/print_bytes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. _menpo-visualize-print_bytes:

.. currentmodule:: menpo.visualize

print_bytes
===========
.. autofunction:: print_bytes
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def __getattr__(cls, name):

import menpo

# add an up to date mathjax path
mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'

# -- General configuration -----------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down
6 changes: 4 additions & 2 deletions docs/xref_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'Image': ('class', 'menpo.image.Image'),
'image_paths': ('function', 'menpo.io.image_paths'),
'ImageBoundaryError': ('class', 'menpo.image.ImageBoundaryError'),
'ImageViewer': ('class', 'menpo.visualize.ImageViewer'),
'InstanceBackedModel': ('class', 'menpo.model.instancebacked.InstanceBackedModel'),
'Invertible': ('class', 'menpo.transform.Invertible'),
'Landmarkable': ('class', 'menpo.landmark.Landmarkable'),
'landmark_file_paths': ('function', 'menpo.io.landmark_file_paths'),
Expand All @@ -25,8 +25,9 @@
'LabellingError': ('class', 'menpo.landmark.LabellingError'),
'LinearModel': ('class', 'menpo.model.linear.LinearModel'),
'MaskedImage': ('class', 'menpo.image.MaskedImage'),
'MatplotlibRenderer': ('class', 'menpo.visualize.viewmatplotlib.MatplotlibRenderer'),
'MatplotlibRenderer': ('class', 'menpo.visualize.MatplotlibRenderer'),
'MeanInstanceLinearModel': ('class', 'menpo.model.MeanInstanceLinearModel'),
'MeanLinearModel': ('class', 'menpo.model.linear.MeanLinearModel'),
'MultipleAlignment': ('class', 'menpo.transform.MultipleAlignment'),
'PCAModel': ('class', 'menpo.model.pca.PCAModel'),
'PointCloud': ('class', 'menpo.shape.PointCloud'),
Expand All @@ -36,6 +37,7 @@
'PointTree': ('class', 'menpo.shape.PointTree'),
'PointUndirectedGraph': ('class', 'menpo.shape.PointUndirectedGraph'),
'principal_component_decomposition': ('function', 'menpo.math.principal_component_decomposition'),
'Renderer': ('class', 'menpo.visualize.Renderer'),
'Rotation': ('class', 'menpo.shape.Rotation'),
'Scale': ('class', 'menpo.shape.Scale'),
'Shape': ('class', 'menpo.shape.Shape'),
Expand Down

0 comments on commit b228660

Please sign in to comment.