-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Idea: Simplify workflow for presentation author #511
Comments
Good idea; I was also hoping things would be easier. There are options:
|
I've started something in docwhat/magic_reveal that helps. I'd love to chat about it. |
To clarify, the presentation at http://docwhat.github.io/magic_reveal/ is generated with the ruby gem |
I'm all for making the setup/update process easier. This looks like a good direction, there's also https://github.com/slara/generator-reveal which I haven't tried out yet. I believe keeping this in a separate repo is the way to go but they should be covered in the readme to make it easier for people to discover. |
Hello. First of all thanks for reveal.js: it's great, nice looking and easy to use! To me a good workflow includes using reveal as a submodule, not simply forking... and including this single instance of reveal.js as the engine for all the presentations you would create (with a global setting of some kind). (Thus a simple location to update). I'd typicall suggest to those that want to use github to manage their own presentations to 1) create a new repository, 2) clone it, 3) add reveal.js as a submodule, 4) make a new "blank.html" from from Hakim's index.html with their favorite settings, name and 5) duplicate this template for each of their presentation into a standalone html presentation file. in code-someting-like (for those wishing to store their own presentation in github)
Put in blank.html your name, favorite settings, typical title, content and conclusion sections, and prepend "reveal.js/" to all "css/" "lib/" "js/" and "plugin/" every once in a while update your reveal.js engine with a quick And for those who want a quick means to organize their thoughts into a reveal presentation there's the (brand new) option of http://berteh.github.io/mindslide/ that turns a freeplane/freemind mindmap into a reveal html presentation. |
As someone who comes from the PHP world (which has become incredibly strict and progressive over the past few years), I find the official authoring instructions counterproductive, as they require me to modify files that are not mine. I would ideally like to create a presentation as a new project, declare Reveal.js as a dependency, and import the necessary components myself while keeping the ability to update the dependencies (e.g. Reveal.js) regularly and easily. Writing my own package.json works well, but not for the full install that requires authors to run grunt serve from the Reveal.js project root. As to the index.html file, a good solution is usually to name these files example files, so index.html becomes index.example.html and it would have to be copied to index.html to work. As index.html is not in the Reveal.js repository, I can easily update the HTML page without modifying my dependencies. However, this only improves the basic installation. The full install needs a more thorough solution. |
I have attempted to solve a simmilar problem using my limited bash skills. a blog post highlighting what i have done is here http://blog.anantshri.info/automated_revealjs_setup and github repo of the same : https://github.com/anantshri/automated_revealjs/ Basically i am using external-markdown for presentation creation and keeping reveal.js seperately in filesystem and runtime linkage allows for smother workflow. I am working on a more simpler version where pre cloning of script would also not be required and we can keep stuff much neater and cleaner. |
Hi, Just our approach to this:
I can't share that repo, but have isolated the solution and push it to: |
Hi, I have written a python tool that allows you to write the entire presentation as a YAML file. It converts that into the HTML file, just like in the template. All you need to do is drop the generated HTML file in the code checked out from this repo and use 'grunt serve' YAML source: http://src.ashishshah.net/yaml_reveal |
I also updated the Gruntfile.js to live reload any .htm file as well. I am working to automatically generate the HTML file when the yaml source changes. |
I find that I usually do the same as @berteh, namely "include" reveal as a submodule, and then link to it from an HTML file in the parent directory. The big drawback of this is that speak notes don't work as the Gruntfile expects the presentation to be in the same directory as reveal. My current solution is to
But this is not particularly satisfactory. The ability to |
Thanks for all the info! I feel that this issue should be closed after 3 years of stagnation, as we want to keep the Reveal core lean, so we want to offload such code to other tools. Any useful tools should be added to this page to be shared with others. |
Currently, the workflow for a new slide deck is a bit of a pain:
index.html
.git
directory.git init
Updating
reveal.js
on a slide deck you've already created is also a pain (because of above).Ideally, the workflow would be something like:
reveal.js
(git clone
? Or maybecurl http... | bash
?)reveal-js init myslides
cd myslides
$EDITOR slides.html
or$EDITOR slides.md
Optionally, the author might:
config.js
to change Author, Description, or the configuration.The only files in the
myslides
directory should be the bare minimum to run the site dynamically. It doesn't have to be efficient to load! If they want efficiency then a static site should be generated.slides.html
orslides.md
config.js
index.html
-- a bare template that loads everything else.If the author wants to make the site static, e.g. for archiving or sharing, there should be a command to do this:
reveal-js freeze static-directory-name
I posted this issue because I wasn't sure if it was something that should be reveal.js itself, or if it is something that should be external to reveal.js that consumes reveal.js.
If it is the latter, I might do it myself using ruby.
The text was updated successfully, but these errors were encountered: