backstage / mkdocs-techdocs-core

The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
Apache License 2.0
83 stars 61 forks source link

[QUESTION] How to pass config options to plantuml_markdown ? #94

Closed vitteloil closed 10 months ago

vitteloil commented 1 year ago

Hi,

I would like to use the plantuml feature supported by plantuml_markdown. If you check the plantuml_markdown code, it's looking for a "server" configuration entry. Not sure where to set this from within mkdocs ?

Thanks !

MaeIsBad commented 1 year ago

This is more of a mkdocs question, plantuml_markdown is an extension so you can configure it like so

site_name: 'asdf'
repo_name: 'GitHub'
remote_branch: 'master'

plugins:
  - techdocs-core

markdown_extensions:
  - plantuml_markdown:
      server: "http://example.com"

I don't think there is a way to configure mkdocs extension globaly

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.