forked from preaction/Statocles
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Giving each application its own directory makes everything more complicated: The site configuration is more complicated, explaining how the system works is more complicated, and extending the site with new code is more complicated. Mostly people just want to say "My site is in this directory, change Markdown files into HTML and copy it to my server". Having a single path for the entire site makes that work better. This changes a lot of things: * Statocles::App objects are now given a list of files/documents and can return additional pages to add. * Since Statocles::App objects do not have stores, Statocles::App::Role::Store is now gone. * The basic task of changing a markdown document into an HTML page is handled directly by the site, making Statocles::App::Basic obsolete. * Statocles::App::Basic is now deprecated and will be removed in v1.000. This change also comes with some additional things: * I deleted a lot of tests that weren't testing anything useful * I changed most of the other tests to stop rendering pages into HTML. This greatly improves the performance of the test suite. Nearly every test in this project was an integration test, rendering HTML and then parsing it to look for the right HTML. This is slow and useless. Now, the t/page tests test rendering to HTML, and everything else assumes that pages already know how to render HTML. There is still some refactoring to do before I release v1.000 upon the world.
- Loading branch information
Showing
59 changed files
with
582 additions
and
1,624 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.