diff --git a/docs/usage/eda_integration.md b/docs/usage/eda_integration.md index e9b554e8..55d0a770 100644 --- a/docs/usage/eda_integration.md +++ b/docs/usage/eda_integration.md @@ -41,8 +41,9 @@ To connect KiCad with Part-DB do following steps: } } ``` -3. Replace the `root_url` with the URL of your Part-DB instance plus `/en/kicad-api/` replace the `token` field value with the token you have generated in step 1. -4. Open KiCad and add this created file as library in the KiCad symbol table under (Preferences --> Manage Symbol Libraries) +3. Replace the `root_url` with the URL of your Part-DB instance plus `/en/kicad-api/`. You can find the right value for this in the Part-DB user settings page under "API endpoints" in the "API tokens" panel. +4. Replace the `token` field value with the token you have generated in step 1. +5. Open KiCad and add this created file as library in the KiCad symbol table under (Preferences --> Manage Symbol Libraries) If you then place a new part, the library dialog opens and you should be able to see the categories and parts from Part-DB. diff --git a/templates/users/_api_tokens.html.twig b/templates/users/_api_tokens.html.twig index 1fe4d401..de8771db 100644 --- a/templates/users/_api_tokens.html.twig +++ b/templates/users/_api_tokens.html.twig @@ -74,5 +74,32 @@ {% trans %}api_token.create_new{% endtrans %} +
+
{% trans %}api.api_endpoints.title{% endtrans %}:
+ +
+
+ {% trans %}api.api_endpoints.partdb{% endtrans %}: +
+
+ + {{ url('api_entrypoint') }} +
+
+
+
+ {% trans %}api.api_endpoints.kicad_root_url{% endtrans %}: +
+
+ + {{ absolute_url('/en/kicad-api/') }} +
+
+ + \ No newline at end of file diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 611bb970..c49b8448 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -12161,5 +12161,23 @@ Please note, that you can not impersonate a disabled user. If you try you will g EDA information + + + api.api_endpoints.title + API endpoints + + + + + api.api_endpoints.partdb + Part-DB API + + + + + api.api_endpoints.kicad_root_url + KiCad API root URL + +