API - remove intermediate directory and rename api directory
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
Activities
|
||||
##########
|
||||
|
||||
.. autoflask:: fittrackee_api:create_app()
|
||||
.. autoflask:: fittrackee:create_app()
|
||||
:endpoints:
|
||||
activities.get_activities,
|
||||
activities.get_activity,
|
||||
|
@ -1,7 +1,7 @@
|
||||
Authentication
|
||||
##############
|
||||
|
||||
.. autoflask:: fittrackee_api:create_app()
|
||||
.. autoflask:: fittrackee:create_app()
|
||||
:endpoints:
|
||||
auth.register_user,
|
||||
auth.login_user,
|
||||
|
@ -1,7 +1,7 @@
|
||||
Configuration
|
||||
#############
|
||||
|
||||
.. autoflask:: fittrackee_api:create_app()
|
||||
.. autoflask:: fittrackee:create_app()
|
||||
:endpoints:
|
||||
config.get_application_config,
|
||||
config.update_application_config,
|
||||
|
@ -1,6 +1,6 @@
|
||||
Records
|
||||
#######
|
||||
|
||||
.. autoflask:: fittrackee_api:create_app()
|
||||
.. autoflask:: fittrackee:create_app()
|
||||
:endpoints:
|
||||
records.get_records
|
||||
|
@ -1,7 +1,7 @@
|
||||
Sports
|
||||
######
|
||||
|
||||
.. autoflask:: fittrackee_api:create_app()
|
||||
.. autoflask:: fittrackee:create_app()
|
||||
:endpoints:
|
||||
sports.get_sports,
|
||||
sports.get_sport,
|
||||
|
@ -1,7 +1,7 @@
|
||||
Statistics
|
||||
##########
|
||||
|
||||
.. autoflask:: fittrackee_api:create_app()
|
||||
.. autoflask:: fittrackee:create_app()
|
||||
:endpoints:
|
||||
stats.get_activities_by_time,
|
||||
stats.get_activities_by_sport,
|
||||
|
@ -1,7 +1,7 @@
|
||||
Users
|
||||
#####
|
||||
|
||||
.. autoflask:: fittrackee_api:create_app()
|
||||
.. autoflask:: fittrackee:create_app()
|
||||
:endpoints:
|
||||
users.get_users,
|
||||
users.get_single_user,
|
||||
|
@ -16,7 +16,7 @@ from pathlib import Path
|
||||
|
||||
import sphinx_bootstrap_theme
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../../fittrackee_api'))
|
||||
sys.path.insert(0, os.path.abspath('../../fittrackee'))
|
||||
|
||||
|
||||
def setup(app):
|
||||
|
@ -144,7 +144,7 @@ Upgrade
|
||||
.. warning::
|
||||
| Before upgrading, make a backup of all data:
|
||||
| - database (with `pg_dump <https://www.postgresql.org/docs/11/app-pgdump.html>`__ for instance)
|
||||
| - upload directory: **FitTrackee/fittrackee_api/fittrackee_api/uploads/**
|
||||
| - upload directory: **FitTrackee/fittrackee/fittrackee_api/uploads/**
|
||||
|
||||
|
||||
Dev environment
|
||||
|
Reference in New Issue
Block a user