AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Script spress10/24/2022 ![]() ![]() Added the method getSpress to CommandEnvironmentInterface.Added support for ask choice questions in IOInterface.Added support for overwriting messages to the output in IOInterface.Added verbosity and very-verbosity level messages to the ContentManager class.Added a verbosity level param (optional) to the write method of IOInterface.New options for applying avoid_renderizer feature to type of files and files belong to a path (relative to src/content folder).Allow default attributes on "pages" collection.Additionaly, new:site command has been updated for scaffolding new sites using themes. Package manager with the following new commands: new:theme, add:plugin, remove:plugin and update:plugin.htaccess value from include key of configuration files due to the fix #107. Replaced the use of PHPUnit_Framework_TestCase class by TestCase.Renamed some tests with a more descritive name.Updated PluginManagerBuilder class with support for loading several pluginsįrom extra->spress_class attribute of a plugin's composer.json file.Fixed an issue related to the convertion to array of a Finder class in FilesystemDataSource class.Bug #107 fixed: ".htaccess not being included in build".Fixed an issue related with the presedence between the theme's assets and the site's assets.Fixed an issue when loading layouts and includes of the current theme.The Spress-installer plugin is included in the composer.json file when a new blank theme is created.(Jigsaw and Katana don't have custom post types/collections and Sculpin looks great at first, but has some issues (for my case) and is obviously not very actively developed at this point.) I could not replicate this issue with the "alternatives" Sculpin, Jigsaw and Katana in the same environment. I really like to use Spress, but this i holding me off for now. My questions: Has someone else experienced a issue like that? What could be the reason for that strange behaviour? Also this works very bad with various build system or task runners und watch out there (including robo.li). ![]() I can abort the script at this point manually with CTRL+C, but that seems not ok for me. So the wait after the "OK Success!" Message gets longer and longer. Script spress install#If i do a fresh install in a new folder, build time in the beginning is ok, but gets slower over time (after more an more site:build commands).Īlso i recognized that the actual build (generating the folder and pages) is still fast, but the execution of the script takes more and more time. If i change my custom config.yml to nothing, this has no effect. If i change the twig templates (from complicated) to basic, this has no effect. If i reduce the number of pages, this has no effect. About 4-10 seconds for generating about 10 pages. I have 5-11 items to build (the strange behaviour seems not to depend on the number of items/pages).Īfter some time the build process takes longer, and longer, and longer. Script spress generator#I started experimenting with the static site generator and did multiple times the site:build command to generate the site. Spress is installed on a local VM (Vagrant/Homestead). ![]()
0 Comments
Read More
Leave a Reply. |