Skip to content

Commit

Permalink
Merge pull request #94 from decargroup/add_docs_testing
Browse files Browse the repository at this point in the history
Added automatic documentation tests on PRs
  • Loading branch information
CharlesCossette authored Aug 26, 2023
2 parents 89c47f4 + f1f9d6f commit fc6df12
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
File renamed without changes.
23 changes: 23 additions & 0 deletions .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Documentation Build

on:
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -e .
pip install sphinx
pip install pydata-sphinx-theme
- name: Sphinx build
run: |
cd docs
make html
13 changes: 10 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
navlie
=====
======
.. image:: https://github.com/decargroup/navlie/actions/workflows/test_package.yml/badge.svg
:target: https://github.com/decargroup/navlie/actions/workflows/test_package.yml
:alt: Tests


.. image:: https://github.com/decargroup/navlie/actions/workflows/publish_docs.yml/badge.svg
:target: https://github.com/decargroup/navlie/actions/workflows/publish_docs.yml
:alt: Docs

.. image:: https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10-blue
:target: https://www.python.org/downloads/
:alt: Python Version

An on-manifold state estimation library for robotics.

Expand Down Expand Up @@ -133,8 +142,6 @@ Process and Measurement Models
------------------------------
.. image:: system_diagram.png
:alt: System Diagram
.. image:: ./docs/source/system_diagram.png
:alt: System Diagram

There are a few more core types in this package. The main ones are the `ProcessModel` and `MeasurementModel` classes. Both of these are abstract classes requiring the user to implement

Expand Down
4 changes: 1 addition & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. include:: ../../README.rst
Welcome to navlie's documentation!

.. toctree::
:maxdepth: 1
:hidden:

Home <self>
Tutorial <tutorial>
API <api>

Expand Down

0 comments on commit fc6df12

Please sign in to comment.