Closed cunningr closed 4 years ago
Hey @cunningr,
How about we add an option to specify actions to perform after rendering?
post_render:
- action: rsync
paths:
- docs/media:build/docs/docs
- docs/extra.css:build/docs/docs
(Note that I'm using build/docs/content
because v3.0.3 will change the default docs dir from build/docs/docs
to build/docs/content
)
I guess that works and provides a nice generic way to keep everything together
Thanks!
On Sat, 16 May 2020 at 14:05, NiklasRosenstein notifications@github.com wrote:
Hey @cunningr https://github.com/cunningr,
How about we add an option to specify actions to perform after rendering?
post_render:
- action: rsync paths:
- docs/media:build/docs/docs
- docs/extra.css:build/docs/docs
(Note that I'm using build/docs/content because v3.0.3 will change the default docs dir from build/docs/docs to build/docs/content)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NiklasRosenstein/pydoc-markdown/issues/112#issuecomment-629642766, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDBWJ5VA4VYUZEVZGZEFILRR2FSPANCNFSM4NC2E3EA .
Hey @cunningr , You can now use $.hooks.post-render
in Pydoc-Mardown v3.2.0. Example from Pydoc-Markdown's own config file:
currently I am using a small shell script to workaround this. E.g.