update documentation
This commit is contained in:
@ -36,7 +36,7 @@ In this release 1 issue was closed.
|
||||
In this release 7 issues were closed.
|
||||
|
||||
|
||||
## Version 0.1 - Minimal version (2018-07-04)
|
||||
## Version 0.1.0 - Minimal version (2018-07-04)
|
||||
|
||||
### Issues Closed
|
||||
|
||||
|
@ -60,6 +60,7 @@ html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
|
||||
html_static_path = ['_static']
|
||||
|
||||
html_theme_options = {
|
||||
'navbar_site_name': 'Docs',
|
||||
'bootswatch_theme': 'flatly',
|
||||
}
|
||||
|
||||
|
@ -40,6 +40,7 @@ Table of contents
|
||||
installation
|
||||
features
|
||||
api/index
|
||||
troubleshooting/index
|
||||
changelog
|
||||
|
||||
|
||||
|
10
docsrc/source/troubleshooting/administrator.rst
Normal file
10
docsrc/source/troubleshooting/administrator.rst
Normal file
@ -0,0 +1,10 @@
|
||||
Administrator
|
||||
#############
|
||||
|
||||
|
||||
`JSON.parse: unexpected character at line 1 column 1 of the JSON data`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
On the **Network Tab**, if the requests are made to `http://localhost:3000/undefined/api`, that means the environnement variable **REACT_APP_API_URL** is not initialized.
|
||||
|
||||
Check if **Makefile.custom.config** file exists and **REACT_APP_API_URL** is correctly initialized (see `example <https://github.com/SamR1/FitTrackee/blob/master/Makefile.custom.config.example>`__), and rebuild the client.
|
9
docsrc/source/troubleshooting/index.rst
Normal file
9
docsrc/source/troubleshooting/index.rst
Normal file
@ -0,0 +1,9 @@
|
||||
Troubleshooting
|
||||
#################
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Endpoints:
|
||||
|
||||
administrator
|
||||
user
|
5
docsrc/source/troubleshooting/user.rst
Normal file
5
docsrc/source/troubleshooting/user.rst
Normal file
@ -0,0 +1,5 @@
|
||||
User
|
||||
####
|
||||
|
||||
|
||||
``TODO``
|
Reference in New Issue
Block a user