Skip to content

Commit

Permalink
Documentation for resolvers (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton authored Dec 7, 2023
1 parent 1ab52cb commit 3a09ea9
Show file tree
Hide file tree
Showing 2 changed files with 440 additions and 1 deletion.
11 changes: 10 additions & 1 deletion apps/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from apps.api.doc import api_doc_latests, api_doc_sso, api_doc_tracklets
from apps.api.doc import api_doc_cutout, api_doc_xmatch, api_doc_bayestar
from apps.api.doc import api_doc_stats, api_doc_random, api_doc_ssocand
from apps.api.doc import api_doc_anomaly, api_doc_ssoft
from apps.api.doc import api_doc_anomaly, api_doc_ssoft, api_doc_resolver

from apps.api.utils import return_object_pdf, return_explorer_pdf
from apps.api.utils import return_latests_pdf, return_sso_pdf
Expand Down Expand Up @@ -196,6 +196,15 @@ def layout():
),
], label="Random objects", label_style = {"color": "#000"}
),
dbc.Tab(
[
dbc.Card(
dbc.CardBody(
dcc.Markdown(api_doc_resolver)
)
),
], label="Name resolver", label_style = {"color": "#000"}
),
]
)
], className='api mb-4 mt-4', fluid='lg'
Expand Down
Loading

0 comments on commit 3a09ea9

Please sign in to comment.