I've used a homebrew script to generate my own site for a while, but I wanted something a little more robust for this assignment. My mental list of requirements and desired characteristics as I started researching possible options included:
- ability to create a static site with consistent navigation from a set of text sources and a template
- ideally use reStructuredText as the documentation format
- quick and easy startup; complexity and features are fine where they are necessary, but that complexity will obscure assignment learning objectives if it is not carefully designed
- no administrator privileges required
After trying it out, I must say that I am mightily impressed with Sphinx, which met all of my requirements beyond hope. My first Sphinx project, in true fact despite the seemingly contrived recursion, is an introductory tutorial on creating template driven websites with Sphinx, which I foisted upon my students last night to a generally favorable reception. Using virtualenv, students can create a self-contained environment that facilitates the installation of Sphinx and its dependencies without requiring administrator rights. Sphinx, while powerful, provides a quick start utility that eases the creation of a new site and allows students to get started rapidly. Plus, since Sphinx uses Jinja templates, students gain exposure to a real template engine that should facilitate the transition to server-side application development next semester.
No comments:
Post a Comment