Add smv_prebuild_export_pattern and smv_prebuild_export_destination options#1
Open
samuel-emrys wants to merge 3 commits into
Open
Add smv_prebuild_export_pattern and smv_prebuild_export_destination options#1samuel-emrys wants to merge 3 commits into
samuel-emrys wants to merge 3 commits into
Conversation
Can be used to run a command in the checked out director before building with sphinx.
…ptions * smv_prebuild_export_pattern will allow a user to specify a regular expression to identify files and folders resulting from smv_prebuild_command to the versioned output directory * smv_prebuild_export_destination will allow the user to specify the name of a directory in the versioned output directory in which to place the files matched by smv_prebuild_export_pattern. * smv_postbuild_export_pattern and smv_postbuild_export_destination also added with the same functionality as above, except applied to the results of smv_postbuild_command * Add descriptions of these to the documentation, with exemplar usage.
Author
|
Hi @samtygier-stfc, hope you don't mind, I've made some changes as per my comment at sphinx-contrib#62 (comment) and added a PR to your repo so that, should you accept, they'll be included in sphinx-contrib#62. Happy to accept any comments/feedback if you have any. |
samtygier-stfc
force-pushed
the
prebuild_command
branch
from
October 10, 2024 09:34
46e20cc to
1cf86c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
smv_prebuild_export_patternwill allow a user to specify a regular expression to identify files and folders resulting fromsmv_prebuild_commandto the versioned output directorysmv_prebuild_export_destinationwill allow the user to specify the name of a directory in the versioned output directory in which to place the files matched bysmv_prebuild_export_pattern.smv_postbuild_export_patternandsmv_postbuild_export_destinationalso added with the same functionality as above, except applied to the results ofsmv_postbuild_command