Skip to content

Commit

Permalink
added clickable links
Browse files Browse the repository at this point in the history
  • Loading branch information
ConstantijnM-Digigo authored and ConstantijnM-Digigo committed Nov 13, 2023
1 parent 9b1645e commit c531020
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
8 changes: 4 additions & 4 deletions _services/00001.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ tags: ['IFC', 'IDS', 'Vergunning', 'Permit', 'Buildingsmart']
<b>Costs</b>: not applicable
<b>Eori</b>:
<b>Service id</b>: 00001
<b>Service endpoint</b>: https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/
<b>Token endpoint</b>: not applicable
<b>Service endpoint</b>: [https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/](https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/)
<b>Token endpoint</b>: [not applicable](not applicable)
<b>Is public</b>: Yes
<b>Endpoint description</b>: https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/docs
<b>Endpoint description</b>: [https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/docs](https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/docs)
<b>Language</b>: nl-NL
<b>Certificate subject name</b>: not applicable
<b>Capability endpoint</b>: https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/capabilities
<b>Capability endpoint</b>: [https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/capabilities](https://dsgo-test-api-bimvergunningen-ids.azurewebsites.net/capabilities)
<b>Tech contact point</b>: [email protected]
8 changes: 4 additions & 4 deletions _services/00002.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ tags: ['Token', 'Future Insights', 'Referentie implementatie']
<b>Costs</b>: not applicable
<b>Eori</b>: EU.EORI.NL063664836
<b>Service id</b>: 00002
<b>Service endpoint</b>: https://dsgo-test.clearly.app/api
<b>Token endpoint</b>: https://dsgo-test.clearly.app/api/connect/token
<b>Service endpoint</b>: [https://dsgo-test.clearly.app/api](https://dsgo-test.clearly.app/api)
<b>Token endpoint</b>: [https://dsgo-test.clearly.app/api/connect/token](https://dsgo-test.clearly.app/api/connect/token)
<b>Is public</b>: Yes
<b>Endpoint description</b>: https://dsgo-test.clearly.app/docs
<b>Endpoint description</b>: [https://dsgo-test.clearly.app/docs](https://dsgo-test.clearly.app/docs)
<b>Language</b>: nl-NL
<b>Certificate subject name</b>: C=528, L=Zwolle, O=Future Insight, SERIALNUMBER=EU.EORI.NL063664836, CN=Future Insight
<b>Capability endpoint</b>: https://dsgo-test.clearly.app/api/capabilities
<b>Capability endpoint</b>: [https://dsgo-test.clearly.app/api/capabilities](https://dsgo-test.clearly.app/api/capabilities)
<b>Tech contact point</b>: [email protected]
13 changes: 11 additions & 2 deletions create_md_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,18 @@ def process_all_pngs(folder_path):
pass

# Write technical-person details
# for key, value in service.items():
# if key not in ["feature", "description","path_image","path_thumbnail","keywords"]+human_readable_list:
# md_file.write(f'<b>{key.capitalize().replace("_", " ")+"</b>"}: {value}'+' \n')
for key, value in service.items():
if key not in ["feature", "description","path_image","path_thumbnail","keywords"]+human_readable_list:
md_file.write(f'<b>{key.capitalize().replace("_", " ")+"</b>"}: {value}'+' \n')
if key not in ["feature", "description", "path_image", "path_thumbnail", "keywords"] + human_readable_list:
# Check if the key contains 'endpoint' or 'Endpoint'
if 'endpoint' in key.lower(): # This will check for 'endpoint' in any case
md_file.write(f'<b>{key.capitalize().replace("_", " ")}</b>: [{value}]({value})' + ' \n')
else:
md_file.write(f'<b>{key.capitalize().replace("_", " ")}</b>: {value}' + ' \n')




print("Markdown files created.")

0 comments on commit c531020

Please sign in to comment.