Skip to content

Commit

Permalink
Merge pull request #148 from UCL/update-docs
Browse files Browse the repository at this point in the history
Update docs to new standard
  • Loading branch information
tdowrick committed Aug 4, 2020
2 parents 6cff327 + e86f880 commit a6c9193
Show file tree
Hide file tree
Showing 18 changed files with 44 additions and 22 deletions.
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
scikit-surgeryvtk
===============================

.. image:: https://github.com/UCL/scikit-surgeryvtk /raw/master/project-icon.png
.. image:: https://github.com/UCL/scikit-surgeryvtk /raw/master/weiss_logo.png
:height: 128px
:width: 128px
:target: https://github.com/UCL/scikit-surgeryvtk
:alt: Logo

|
.. image:: https://github.com/UCL/scikit-surgeryvtk/workflows/.github/workflows/ci.yml/badge.svg
:target: https://github.com/UCL/scikit-surgeryvtk/actions
:alt: GitHub Actions CI statuss
Expand All @@ -23,6 +25,8 @@ scikit-surgeryvtk implements VTK for Image Guided Surgery applications.

scikit-surgeryvtk is part of the `SNAPPY`_ software project, developed at the `Wellcome EPSRC Centre for Interventional and Surgical Sciences`_, part of `University College London (UCL)`_.

.. features-start
Features
--------
Functionality includes:
Expand All @@ -32,6 +36,8 @@ Functionality includes:
* Functions for working with calibrated cameras, and projecting points from 3D to 2D.
* A widget to drive a stereo interlaced monitor.

.. features-end
Installing
~~~~~~~~~~

Expand Down
20 changes: 0 additions & 20 deletions doc/index.rst

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion doc/conf.py → docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
root_dir_abs = os.path.abspath(root_dir_rel)
module_path = root_dir_abs
sys.path.insert(0, module_path)
logo_file = 'project-icon.png'
logo_file = 'weiss_logo.png'
logo_path = os.path.join('..', logo_file)

# List of patterns, relative to source directory, that match files and
Expand Down
34 changes: 34 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
scikit-surgeryvtk documentation
===============================

.. include:: ../README.rst
:start-after: .. features-start
:end-before: .. features-end

`Source code <https://github.com/UCL/scikit-surgeryvtk/>`_ is avaialble on GitHub.

.. toctree::
:maxdepth: 2

readme

.. toctree::
:caption: Module Reference
:maxdepth: 2

widgets/index
models/index
camera/index
text/index
utils/index

.. toctree::
:glob:
:maxdepth: 1
:caption: Tutorials

tutorials/*




File renamed without changes.
File renamed without changes
2 changes: 2 additions & 0 deletions docs/readme.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.. include:: ../README.rst
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed project-icon.png
Binary file not shown.
Binary file added weiss_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a6c9193

Please sign in to comment.