Added a way to hook into the serve process.#2620
Added a way to hook into the serve process.#2620AdrienDerobert wants to merge 1 commit intorust-lang:masterfrom
Conversation
Added a way to hook into the serve process after the build. ``` mdbook serve -c <post build command> ```
|
Thanks for the PR. I also think we need a way to do this, but I thought it should be part of the configuration in the In any case it would be better if there was a test that runs in the CI to check this feature. |
|
I can add a configuration option for it in Just to make sure if it is in the |
|
Another problem with including this in the book toml config is that the command might be different for a windows user and a user of a posix system. Do I introduce a section per platform to define the command ? |
|
Hello did you have any indications on how to progress this forward what would be the best course of action ? Do i add a new configuration option or only the command line argument flag would suffice. In my opinion the command line argument is enough because the feature is only needed for the Or is it expected the build command to produce the final book with the post processing (eg: inclusion of extra HTML files) ? |
Closes #2573
Added a way to hook into the serve process after the build.
Tested on: