The content model of Paligo has very good support for documenting software and code snippets. There are many elements you can use for marking up UI elements and code elements, and we describe the most commonly used ones in General Software Elements. Refer to the standard DocBook Element Reference for the full set of elements available.
In your Paligo content, you can add:
-
Annotations to add "hot spot" to parts of a code block that link to explanatory text.
-
Inline code elements for when you want smaller amounts of code inside a paragraph.
You can also Embed Code from an External Source, including Embed Swagger OpenAPI. It's also possible to Import Swagger OpenAPI into Paligo. With an import, the content is in Paligo, just like your other content. This is different to embedding content, where the content is inserted into a Paligo topic during the publishing process and only for the published output.
For publishing, there is also the HTML5 API layout, which is specially designed for documenting APIs. It has a three-panel layout, with navigation on the left, content in the center, and code examples on the right, with language tabs for switching between examples in different programming languages, see API Documentation Layout.
Tip
Also see Software and Code Documentation Elements.
Comments
0 comments
Article is closed for comments.