Skip to content

Commit

Permalink
#1 #3 Work in progress:
Browse files Browse the repository at this point in the history
- Remove tests tmp folder
- Update documentation

[ci skip]
  • Loading branch information
FABallemand committed Jul 5, 2024
1 parent cf0f4f5 commit cb48c95
Show file tree
Hide file tree
Showing 32 changed files with 274 additions and 1,031 deletions.
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down
21 changes: 0 additions & 21 deletions docs/ezgpx.gpx_parser.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/ezgpx.gpx_writer.rst

This file was deleted.

8 changes: 4 additions & 4 deletions docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

if "%1" == "" goto help
set SOURCEDIR=source
set BUILDDIR=build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
Expand All @@ -25,6 +23,8 @@ if errorlevel 9009 (
exit /b 1
)

if "%1" == "" goto help

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

Expand Down
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions docs/source/api/ezgpx.parser.fit_parser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ezgpx.parser.fit\_parser package
================================

Submodules
----------

ezgpx.parser.fit\_parser.fit\_parser module
-------------------------------------------

.. automodule:: ezgpx.parser.fit_parser.fit_parser
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.parser.fit_parser
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/source/api/ezgpx.parser.gpx_parser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ezgpx.parser.gpx\_parser package
================================

Submodules
----------

ezgpx.parser.gpx\_parser.gpx\_parser module
-------------------------------------------

.. automodule:: ezgpx.parser.gpx_parser.gpx_parser
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.parser.gpx_parser
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/source/api/ezgpx.parser.kml_parser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ezgpx.parser.kml\_parser package
================================

Submodules
----------

ezgpx.parser.kml\_parser.kml\_parser module
-------------------------------------------

.. automodule:: ezgpx.parser.kml_parser.kml_parser
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.parser.kml_parser
:members:
:undoc-members:
:show-inheritance:
32 changes: 32 additions & 0 deletions docs/source/api/ezgpx.parser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
ezgpx.parser package
====================

Subpackages
-----------

.. toctree::
:maxdepth: 4

ezgpx.parser.fit_parser
ezgpx.parser.gpx_parser
ezgpx.parser.kml_parser
ezgpx.parser.xml_parser

Submodules
----------

ezgpx.parser.parser module
--------------------------

.. automodule:: ezgpx.parser.parser
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.parser
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/source/api/ezgpx.parser.xml_parser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ezgpx.parser.xml\_parser package
================================

Submodules
----------

ezgpx.parser.xml\_parser.xml\_parser module
-------------------------------------------

.. automodule:: ezgpx.parser.xml_parser.xml_parser
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.parser.xml_parser
:members:
:undoc-members:
:show-inheritance:
7 changes: 1 addition & 6 deletions docs/ezgpx.rst → docs/source/api/ezgpx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@ Subpackages
.. toctree::
:maxdepth: 4

ezgpx.fit_parser
ezgpx.gpx
ezgpx.gpx_elements
ezgpx.gpx_parser
ezgpx.gpx_writer
ezgpx.kml_parser
ezgpx.kml_writer
ezgpx.parser
ezgpx.schemas
ezgpx.utils
ezgpx.writer
ezgpx.xml_parser

Module contents
---------------
Expand Down
10 changes: 10 additions & 0 deletions docs/source/api/ezgpx.schemas.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ezgpx.schemas package
=====================

Module contents
---------------

.. automodule:: ezgpx.schemas
:members:
:undoc-members:
:show-inheritance:
8 changes: 0 additions & 8 deletions docs/ezgpx.utils.rst → docs/source/api/ezgpx.utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ ezgpx.utils.distance module
:undoc-members:
:show-inheritance:

ezgpx.utils.projections module
------------------------------

.. automodule:: ezgpx.utils.projections
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

Expand Down
29 changes: 29 additions & 0 deletions docs/source/api/ezgpx.writer.gpx_writer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ezgpx.writer.gpx\_writer package
================================

Submodules
----------

ezgpx.writer.gpx\_writer.gpx\_writer module
-------------------------------------------

.. automodule:: ezgpx.writer.gpx_writer.gpx_writer
:members:
:undoc-members:
:show-inheritance:

ezgpx.writer.gpx\_writer.gpx\_writer\_method\_behavior\_creator module
----------------------------------------------------------------------

.. automodule:: ezgpx.writer.gpx_writer.gpx_writer_method_behavior_creator
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.writer.gpx_writer
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/source/api/ezgpx.writer.kml_writer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ezgpx.writer.kml\_writer package
================================

Submodules
----------

ezgpx.writer.kml\_writer.kml\_writer module
-------------------------------------------

.. automodule:: ezgpx.writer.kml_writer.kml_writer
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.writer.kml_writer
:members:
:undoc-members:
:show-inheritance:
30 changes: 30 additions & 0 deletions docs/source/api/ezgpx.writer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
ezgpx.writer package
====================

Subpackages
-----------

.. toctree::
:maxdepth: 4

ezgpx.writer.gpx_writer
ezgpx.writer.kml_writer

Submodules
----------

ezgpx.writer.writer module
--------------------------

.. automodule:: ezgpx.writer.writer
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ezgpx.writer
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ezGPX API
==========

.. toctree::
:maxdepth: 4

ezgpx.rst
5 changes: 3 additions & 2 deletions docs/modules.rst → docs/source/api/modules.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
ezgpx
ezGPX
=====

.. toctree::
:maxdepth: 4

ezgpx.rst
ezgpx
tests
29 changes: 29 additions & 0 deletions docs/source/api/tests.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
tests package
=============

Submodules
----------

tests.test\_GPX module
----------------------

.. automodule:: tests.test_GPX
:members:
:undoc-members:
:show-inheritance:

tests.test\_utils module
------------------------

.. automodule:: tests.test_utils
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: tests
:members:
:undoc-members:
:show-inheritance:
Loading

0 comments on commit cb48c95

Please sign in to comment.