-
-
Notifications
You must be signed in to change notification settings - Fork 67
Automate generation of output files? #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Maybe @tom-tan @manabuishii have suggestions ? |
Automated process is help a lot !! Currently we do not know exact process of deployment User Guide. Sample codes are already execute test everytime, |
The examples are checked with Travis but the User Guide (UG) pages are built and deployed directly through GitHub - the pages are built regardless of whether the examples fail to run on Travis. The UG pages are built from Markdown files in the top-level of the repository or in One of the nice things that Jekyll allows us to do is to include files in other locations. One advantage of this is that it helps to avoid redundancy. And it's probably this include magic that will be key to inserting the output of the tested examples from Travis. We will need to somehow add the output of each example to the This page explains how to set Travis up to build your GitHub Pages. If the output of each exercise has been saved into an appropriate location inside |
We can use prepend Example:
|
The user guide is now built with Sphinx. However, we still have the same problem. Examples are written, but with no guarantee that they run with the latest I am now searching for a Sphinx directive to execute commands. Ideally, it would produce output simlar to Finally, it would either isolate the command execution, or execute the commands in a container to have consistent output (i.e. nothing of I will document the findings in this comment, in the checklist below. Feel free to add any items if you'd like me to try it, please:
Played a little more with
The examples above contain I am now testing if I can move the examples to real CWL files in Preview of vanilla code-block (no commands executed, i.e. I typed the command and its output), sphinx-programoutput running bash, and sphinx-autorun also running bash: Some issues with syntax highlighting, anchor links, caption, and the extraneous characters due to terminal color characters, I think, which both sphinx-autoprogram and sphinx-autorun appear to need some configuration to display the output correctly. |
Can we add some kind of hook or additional CI to automate the creation of output files and include them in the user guide pages? This would help us to avoid content rot problems, such as those reported in #146 & #136
The text was updated successfully, but these errors were encountered: