Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

ansible-community/galaxy-doc-builder

Repository files navigation

Galaxy Doc Builder

⚠️ Note

This repository has been archived, code moved to ansible-hub-ui in ansible/ansible-hub-ui#2850.


This package provides a series of react components that can be used render ansible plugin documentation. These components rely on the output from the galaxy importer

Components

RenderPluginDoc

Renders the documentation strings from a plugin.

Props

  • plugin: documentation blob for plugin being rendered. This is produced by the galaxy-importer.
  • renderModuleLink(moduleName): function that should return a link pointing to a module
  • renderDocLink(name, href): function that should return a link pointing to docs
  • renderTableOfContentsLink(title, section): function that returns a table of contents link for scrolling the page down to the various headers.
  • renderWarning(text): function that returns a warning banner when something breaks during rendering.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published