NiklasRosenstein / pydoc-markdown

Create Python API documentation in Markdown format.
http://niklasrosenstein.github.io/pydoc-markdown/
Other
453 stars 102 forks source link

Add baseUrl param for hugo #233

Closed Heiss closed 2 years ago

Heiss commented 2 years ago

Hey,

i saw, that the hugo renderer does not respect the baseUrl. So this PR integrates it in the hugo command. The get_server_url method handles this already, so the baseUrl is in fact a call of this method.

This makes it possible to specify a subdirectory or other hosts ip as localhost (which is now possible because of the latest update with serverURL and serverPort).

NiklasRosenstein commented 2 years ago

Aha, I wasn't aware of that option. Thanks @Heiss! Could I ask you to create/update .changelog/_unreleased.yml per the Contribution guidelines before we merge?

Heiss commented 2 years ago

@NiklasRosenstein done. Hopefully it is correct now. :)

NiklasRosenstein commented 2 years ago

LGTM, thanks! 😃