Open dhimmel opened 4 years ago
This is a great idea and would make Manubot even more accessible.
Will the template still have the assets, plugins, and themes files from the build directory, or would those be hidden as well?
I haven't looked closely at your GitHub actions experiments yet. I expect that could greatly simplify the setup by removing all the CI configuration steps. Do we envision that eventually a user could create a new manuscript entirely from a web browser?
Will the template still have the assets, plugins, and themes files from the build directory, or would those be hidden as well?
Those would be moved to the manubot
python package. If not overridden in config.yaml
or perhaps by a specific path, the files that ship as part of the python package would be used. So you only need to add those files to your repo if you're modifying them.
Do we envision that eventually a user could create a new manuscript entirely from a web browser?
Yes, the goal is that you'd be able to copy the template and your repository would build immediately without any additional steps required.
Very cool. That workflow seems ideal. I like hiding most of these assets and files until a user decides to modify them.
I expect that syncing with updates to the upstream template will be possible but challenging, or at least require more technical expertise. Even if the template-derived manuscript can't be updated, this is still a very valuable direction.
I expect that syncing with updates to the upstream template will be possible but challenging
Yes, that will be the main downside compared to rootstock.
For what it's worth, here was my original proposal to Daniel about this "manubot refactor" we're talking about : https://docs.google.com/document/d/15xCikkNvVyiz3-MZnPMkUEoQK6QzrMNmD9DNCBNohiw/edit?usp=sharing
This template repo has become essentially an outline like this doc was. As you'll see there's some differences, but the main concept is the same.
I've been thinking about when's the best point to try to create manubot/template and switch to it from manubot/rootstock as the default way to create new manuscripts.
Here's a roadmap that I think we can do before manubot/template
that will make the eventual transition easier:
--skip-citations
in manubot process
(beginning to separate functionality as much as possible)manubot process
can be moved to filters (for example, the plugins or metadata aspects)Unrelated: jotting down an interesting project, mdBook, with a config file that we should look at for inspiration.
I'm basically in the same boat as @agitter. I think increasing the accessibility is great although I haven't been closely following the updates for GitHub actions. Does this tie us even more closely to GitHub though? I've run into cases where companies aren't allowed to, say, make significant use of GitHub but do have internal git
repositories (mostly via GitLab) hosted internally. Would this sort of transition make it more difficult for someone to setup Manubot CI on a different platform?
Would this sort of transition make it more difficult for someone to setup Manubot CI on a different platform?
If we do it right, perhaps it could make it easier. One could imagine having multiple template repositories like manubot/github-template
, manubot/gitlab-template
, manubot/local-template
. The differences between the templates would be the continuous integration commands. The local template might come with just a bash script to build the manuscript.
Clearing out my google drive and deleting the google doc I linked above. Here it is for posterity:
Manubot - an ecosystem, a set of tools and a prescribed workflow and methodology
goals/axioms:
This repository is an attempt to prototype a simpler repository that contains a Manubot manuscript. Compared to rootstock, it aims to:
build.sh
, assuming all of the processing pipeline can be handled by the Python packageconfig.yaml
for configuring manubotCC @agitter @cgreene @slochower @vincerubinetti. Any thoughts will be helpful. It's not a complete draft yet, and I'm not sure of the timeline. But as we have ideas, we can add them.