Generate documents for Capella without runtime

  • Denis S
  • Denis S's Avatar Topic Author
More
#13 by Denis S
Denis S created the topic: Generate documents for Capella without runtime
Hello,

I'm using pxDoc with Capella and I would like to know if there's a way to generate documents with a generator I made without using a runtime application just like the samples provided with the Capella enabler.

Thanks.

Please Log in or Create an account to join the conversation.

  • Thomas S
  • Thomas S's Avatar
More
#14 by Thomas S
Thomas S replied the topic: Generate documents for Capella without runtime
Hello Denis

If you mean that you want to include/integrate your generator directly in Capella (without needing to launch a second Capella to be able to generate documentation), then you need to:
- first publish your generator as an update site (refer to https://pxdoc.fr/index.php/manageproject#pxGenFeatureRep)
- and then install this update site in Capella (Help =>Install new software)

You will now be able to launch the document generation directly in Capella, as you do for the samples. You can of course share this update site with other people.

Let us know if this answers to your request, or if you need further support!
Thomas

Please Log in or Create an account to join the conversation.

  • Denis S
  • Denis S's Avatar Topic Author
More
#16 by Denis S
Denis S replied the topic: Generate documents for Capella without runtime
This is exactly what I was looking for and it works perfectly.

Thanks a lot for your quick answer !

Please Log in or Create an account to join the conversation.

  • Denis S
  • Denis S's Avatar Topic Author
More
#17 by Denis S
Denis S replied the topic: Generate documents for Capella without runtime
Is there any way to edit the generator without re-doing the entire manipulation ?

I guess no but I would like to be sure.

Please Log in or Create an account to join the conversation.

  • Thomas S
  • Thomas S's Avatar
More
- #18 by Thomas S
Thomas S replied the topic: Generate documents for Capella without runtime
Hi Denis
You don't have to redo all of the steps, you just need to re-build the update site. To do so, open the site.xml file in the xxx.repository project and click on Build All.
Refer to attached screenshot!

And, of course, don't forget to install this new update site in Capella...
Rgds
Thomas

Attachments:
Last Edit: by Thomas S. Reason: Add last sentence about update site to reinstall

Please Log in or Create an account to join the conversation.

  • Denis S
  • Denis S's Avatar Topic Author
More
#19 by Denis S
Denis S replied the topic: Generate documents for Capella without runtime
That works too, thanks again for your help.

Please Log in or Create an account to join the conversation.