Restructured text fixes so that pydoctor would return without an error
This commit is contained in:
parent
58b056988a
commit
a84a916719
31 changed files with 269 additions and 256 deletions
|
|
@ -10,8 +10,8 @@ THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
|||
|
||||
def add_static_file(app: FastAPI, fname: str, folder: str) -> None:
|
||||
"""Add a single file to the root of the FastAPI app
|
||||
The file with name `fname` will be mounted at `/fname` - the
|
||||
`folder` does not affect where it is mounted in the app.
|
||||
The file with name ``fname`` will be mounted at ``/fname`` - the
|
||||
``folder`` does not affect where it is mounted in the app.
|
||||
|
||||
app: The FastAPI app to add to, in this case the OpenFlexure server
|
||||
fname: the name of the file to add
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue