Skip to content

Commit

Permalink
Fast API for interacting with S£ server.
Browse files Browse the repository at this point in the history
  • Loading branch information
albags committed Aug 13, 2024
1 parent 5c108f9 commit 8f0da6c
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ help:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

apidoc:
@sphinx-apidoc -f ../src/mypackage -o sources
@sphinx-apidoc -f ../src/os_api -o sources
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

import mypackage
import os_api

project = 'My Project'
copyright = '2024, UKCEH'
author = 'UKCEH'

release = mypackage.__version__
release = os_api.__version__
version = release

# -- General configuration ---------------------------------------------------
Expand Down
70 changes: 35 additions & 35 deletions docs/make.bat
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

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

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

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

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
4 changes: 2 additions & 2 deletions docs/sources/modules.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mypackage
os_api
=========

.. toctree::
:maxdepth: 4

mypackage
os_api
8 changes: 4 additions & 4 deletions docs/sources/mypackage.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
mypackage package
os_api package
=================

Submodules
----------

mypackage.module module
os_api.module module
-----------------------

.. automodule:: mypackage.module
.. automodule:: os_api.module
:members:
:undoc-members:
:show-inheritance:

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

.. automodule:: mypackage
.. automodule:: os_api
:members:
:undoc-members:
:show-inheritance:

0 comments on commit 8f0da6c

Please sign in to comment.