Skip to content

Commit

Permalink
feat(docs): adds starter structure for our docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wpumacay committed Apr 20, 2023
1 parent 6dcc5de commit ddf774c
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 24 deletions.
37 changes: 13 additions & 24 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
.. TinyMath documentation master file, created by
sphinx-quickstart on Mon Jan 6 23:00:07 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

Welcome to Math3d's documentation!
====================================
####################
Math3d Documentation
####################

.. toctree::
:maxdepth: 2
:caption: Contents:

=====================
C++ API Documentation
=====================

.. doxygenclass:: math::Vector4
:members:
Math3d is a simple library for manipulation of vectors and matrices, mainly in
2, 3, and 4 dimensions. It's a core library I use in various projects to avoid
using other options like **Eigen** or **glm**. It's intended use is for computer
graphics and physics simulation.

.. doxygenclass:: math::Matrix4
:members:

Indices and tables
==================
.. toctree::
:caption: Contents
:maxdepth: 1

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Getting started <intro/index>
User Guide <user/index>
API reference <reference/index>
10 changes: 10 additions & 0 deletions docs/intro/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
######################
Math3d Getting Started
######################

.. toctree::
:caption: Getting Started
:maxdepth: 1

installation
overview
3 changes: 3 additions & 0 deletions docs/intro/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
############
Installation
############
3 changes: 3 additions & 0 deletions docs/intro/overview.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
########
Overview
########
10 changes: 10 additions & 0 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
####################
Math3d API Reference
####################

.. toctree::
:caption: API Reference
:maxdepth: 1

reference_cpp
reference_python
6 changes: 6 additions & 0 deletions docs/reference/reference_cpp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#############
C++ Reference
#############

.. doxygenclass:: math::Vector4
:members:
3 changes: 3 additions & 0 deletions docs/reference/reference_python.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
################
Python Reference
################
10 changes: 10 additions & 0 deletions docs/user/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#################
Math3d User Guide
#################

.. toctree::
:caption: User Guide
:maxdepth: 1

vectors
matrices
3 changes: 3 additions & 0 deletions docs/user/matrices.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
########
Matrices
########
3 changes: 3 additions & 0 deletions docs/user/vectors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#######
Vectors
#######

0 comments on commit ddf774c

Please sign in to comment.